[INFO] fetching crate rustdoc-json-stable 0.9.7-patch.1... [INFO] testing rustdoc-json-stable-0.9.7-patch.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rustdoc-json-stable 0.9.7-patch.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rustdoc-json-stable 0.9.7-patch.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rustdoc-json-stable 0.9.7-patch.1 [INFO] tweaked toml for crates.io crate rustdoc-json-stable 0.9.7-patch.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustdoc-json-stable 0.9.7-patch.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rustdoc-json-stable 0.9.7-patch.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cf57a6386c2c353db620135b71bf2d891fbb24c20ab0ae8bb059602e6b240dd [INFO] running `Command { std: "docker" "start" "-a" "3cf57a6386c2c353db620135b71bf2d891fbb24c20ab0ae8bb059602e6b240dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cf57a6386c2c353db620135b71bf2d891fbb24c20ab0ae8bb059602e6b240dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cf57a6386c2c353db620135b71bf2d891fbb24c20ab0ae8bb059602e6b240dd", kill_on_drop: false }` [INFO] [stdout] 3cf57a6386c2c353db620135b71bf2d891fbb24c20ab0ae8bb059602e6b240dd [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b8b23f74bde3d2cacf90d5053f3a46daefc69437c0618e82843fac72ba44b56 [INFO] running `Command { std: "docker" "start" "-a" "0b8b23f74bde3d2cacf90d5053f3a46daefc69437c0618e82843fac72ba44b56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling camino v1.1.4 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling ordered-float v2.10.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling cargo-platform v0.2.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling serde-untagged v0.1.7 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling cargo-util-schemas v0.8.2 [INFO] [stderr] Compiling cargo-manifest v0.19.1 [INFO] [stderr] Compiling cargo_metadata v0.21.0 [INFO] [stderr] Compiling rustdoc-json-stable v0.9.7-patch.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.05s [INFO] running `Command { std: "docker" "inspect" "0b8b23f74bde3d2cacf90d5053f3a46daefc69437c0618e82843fac72ba44b56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b8b23f74bde3d2cacf90d5053f3a46daefc69437c0618e82843fac72ba44b56", kill_on_drop: false }` [INFO] [stdout] 0b8b23f74bde3d2cacf90d5053f3a46daefc69437c0618e82843fac72ba44b56 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34a2d6377ad63d534d8c3a6baaafecd51b638d623933689d407cacf7a5db7b4d [INFO] running `Command { std: "docker" "start" "-a" "34a2d6377ad63d534d8c3a6baaafecd51b638d623933689d407cacf7a5db7b4d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling rustix v1.0.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling bstr v1.4.0 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rustdoc-json-stable v0.9.7-patch.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rustdoc_json` [INFO] [stdout] --> tests/rustdoc-json-lib-tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rustdoc_json::PackageTarget; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustdoc_json`, use `cargo add rustdoc_json` 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 `rustdoc_json` [INFO] [stdout] --> examples/build-rustdoc-json.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | let json_path = rustdoc_json::Builder::default() [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustdoc_json`, use `cargo add rustdoc_json` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use rustdoc_json_stable::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let json_path = rustdoc_json::Builder::default() [INFO] [stdout] 7 + let json_path = Builder::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] --> tests/rustdoc-json-lib-tests.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | let path = rustdoc_json::Builder::default() [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustdoc_json`, use `cargo add rustdoc_json` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use rustdoc_json_stable::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let path = rustdoc_json::Builder::default() [INFO] [stdout] 7 + let path = Builder::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] --> tests/rustdoc-json-lib-tests.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | rustdoc_json::Builder::default() [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustdoc_json`, use `cargo add rustdoc_json` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use rustdoc_json_stable::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - rustdoc_json::Builder::default() [INFO] [stdout] 26 + Builder::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] --> tests/rustdoc-json-lib-tests.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 67 | let path = rustdoc_json::Builder::default() [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustdoc_json`, use `cargo add rustdoc_json` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use rustdoc_json_stable::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 67 - let path = rustdoc_json::Builder::default() [INFO] [stdout] 67 + let path = Builder::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] --> tests/rustdoc-json-lib-tests.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | let result = rustdoc_json::Builder::default() [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustdoc_json`, use `cargo add rustdoc_json` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use rustdoc_json_stable::Builder; [INFO] [stdout] | [INFO] [stdout] 1 + use tempfile::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 109 - let result = rustdoc_json::Builder::default() [INFO] [stdout] 109 + let result = Builder::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] --> tests/rustdoc-json-lib-tests.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | .color(rustdoc_json::Color::Never) [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustdoc_json`, use `cargo add rustdoc_json` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rustdoc_json_stable::Color; [INFO] [stdout] | [INFO] [stdout] help: if you import `Color`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 113 - .color(rustdoc_json::Color::Never) [INFO] [stdout] 113 + .color(Color::Never) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] --> tests/rustdoc-json-lib-tests.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | Err(rustdoc_json::BuildError::BuildRustdocJsonError) [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rustdoc_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rustdoc_json`, use `cargo add rustdoc_json` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use rustdoc_json_stable::BuildError; [INFO] [stdout] | [INFO] [stdout] help: if you import `BuildError`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 119 - Err(rustdoc_json::BuildError::BuildRustdocJsonError) [INFO] [stdout] 119 + Err(BuildError::BuildRustdocJsonError) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustdoc-json-stable` (example "build-rustdoc-json") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 `rustdoc-json-stable` (test "rustdoc-json-lib-tests") due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "34a2d6377ad63d534d8c3a6baaafecd51b638d623933689d407cacf7a5db7b4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34a2d6377ad63d534d8c3a6baaafecd51b638d623933689d407cacf7a5db7b4d", kill_on_drop: false }` [INFO] [stdout] 34a2d6377ad63d534d8c3a6baaafecd51b638d623933689d407cacf7a5db7b4d