[INFO] fetching crate guppy 0.17.17... [INFO] checking guppy-0.17.17 against try#1d0e7c032bf9b905a3165592072b5cc63c491d50 for pr-133502-5 [INFO] extracting crate guppy 0.17.17 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate guppy 0.17.17 on toolchain 1d0e7c032bf9b905a3165592072b5cc63c491d50 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate guppy 0.17.17 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate guppy 0.17.17 [INFO] tweaked toml for crates.io crate guppy 0.17.17 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate guppy 0.17.17 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" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b0d0c95099b18faa8e96bc7ba1a5c9dccf02335340e20b5dfaed088a2cb1d8f [INFO] running `Command { std: "docker" "start" "-a" "2b0d0c95099b18faa8e96bc7ba1a5c9dccf02335340e20b5dfaed088a2cb1d8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b0d0c95099b18faa8e96bc7ba1a5c9dccf02335340e20b5dfaed088a2cb1d8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b0d0c95099b18faa8e96bc7ba1a5c9dccf02335340e20b5dfaed088a2cb1d8f", kill_on_drop: false }` [INFO] [stdout] 2b0d0c95099b18faa8e96bc7ba1a5c9dccf02335340e20b5dfaed088a2cb1d8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1d0e7c032bf9b905a3165592072b5cc63c491d50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3db784982dadfb598523f7487d885e4708b9fef6e58d76effdc49bd0cf6ccc5f [INFO] running `Command { std: "docker" "start" "-a" "3db784982dadfb598523f7487d885e4708b9fef6e58d76effdc49bd0cf6ccc5f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling guppy-workspace-hack v0.1.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Compiling target-spec v3.4.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking nested v0.1.1 [INFO] [stderr] Checking debug-ignore v1.0.5 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking cfg-expr v0.18.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking petgraph v0.7.1 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking cargo_metadata v0.19.1 [INFO] [stderr] Checking guppy v0.17.17 (/opt/rustwide/workdir) [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] [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] [INFO] [stderr] error: could not compile `guppy` (example "print_dot") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stderr] error: could not compile `guppy` (example "remove_dev_only") due to 1 previous error [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] [INFO] [stderr] error: could not compile `guppy` (example "topo_sort") due to 1 previous error [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fixtures` [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use fixtures::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fixtures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fixtures`, use `cargo add fixtures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `fixtures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fixtures`, use `cargo add fixtures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fixtures` [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | use fixtures::dep_helpers::GraphAssert; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fixtures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fixtures`, use `cargo add fixtures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fixtures` [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | use fixtures::json::METADATA_GUPPY_CARGO_GUPPY; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fixtures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fixtures`, use `cargo add fixtures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fixtures` [INFO] [stdout] --> tests/graph-tests/invalid_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use fixtures::json::JsonFixture; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fixtures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fixtures`, use `cargo add fixtures` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `fixtures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fixtures`, use `cargo add fixtures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fixtures` [INFO] [stdout] --> tests/graph-tests/weak_namespaced.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fixtures::{ [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `fixtures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fixtures`, use `cargo add fixtures` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `fixtures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fixtures`, use `cargo add fixtures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `guppy` (example "deps") due to 1 previous error [INFO] [stderr] error: could not compile `guppy` (example "print_by_level") due to 1 previous error [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | .resolve_with_fn(|_, link| link.to().name() != "libc"); [INFO] [stdout] | ^^^^ -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 117 | .resolve_with_fn(|_, link: /* Type */| link.to().name() != "libc"); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:253:69 [INFO] [stdout] | [INFO] [stdout] 253 | let source_metadata = package_graph.metadata(source.package_id()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:254:69 [INFO] [stdout] | [INFO] [stdout] 254 | let target_metadata = package_graph.metadata(target.package_id()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:399:26 [INFO] [stdout] | [INFO] [stdout] 399 | .filter_map(|(_, metadata)| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 400 | if metadata.is_proc_macro() { [INFO] [stdout] | ------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 399 | .filter_map(|(_, metadata): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:416:26 [INFO] [stdout] | [INFO] [stdout] 416 | .filter_map(|(_, metadata)| { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 417 | if metadata.has_build_script() { [INFO] [stdout] | ---------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 416 | .filter_map(|(_, metadata): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/graph-tests/graph_tests.rs:441:26 [INFO] [stdout] | [INFO] [stdout] 441 | .filter_map(|link| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 442 | if link.build().is_present() && !link.from().has_build_script() { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 441 | .filter_map(|link: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `guppy` (test "graph-tests") due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "3db784982dadfb598523f7487d885e4708b9fef6e58d76effdc49bd0cf6ccc5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db784982dadfb598523f7487d885e4708b9fef6e58d76effdc49bd0cf6ccc5f", kill_on_drop: false }` [INFO] [stdout] 3db784982dadfb598523f7487d885e4708b9fef6e58d76effdc49bd0cf6ccc5f