[INFO] fetching crate url-track-cleaner 0.1.5... [INFO] building url-track-cleaner-0.1.5 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate url-track-cleaner 0.1.5 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate url-track-cleaner 0.1.5 [INFO] finished tweaking crates.io crate url-track-cleaner 0.1.5 [INFO] tweaked toml for crates.io crate url-track-cleaner 0.1.5 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate url-track-cleaner 0.1.5 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 175 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-registry v0.5.3 [INFO] [stderr] Downloaded reqwest v0.12.23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4728f6114d9b1bec4cad13f6cc6d834aa722d6ff635a0ef491a3496ac21d4239 [INFO] running `Command { std: "docker" "start" "-a" "4728f6114d9b1bec4cad13f6cc6d834aa722d6ff635a0ef491a3496ac21d4239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4728f6114d9b1bec4cad13f6cc6d834aa722d6ff635a0ef491a3496ac21d4239", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4728f6114d9b1bec4cad13f6cc6d834aa722d6ff635a0ef491a3496ac21d4239", kill_on_drop: false }` [INFO] [stdout] 4728f6114d9b1bec4cad13f6cc6d834aa722d6ff635a0ef491a3496ac21d4239 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bf0fd8056d15cde037266a08e8af33fc7a6554811717bf0afbe822a6a2de828 [INFO] running `Command { std: "docker" "start" "-a" "6bf0fd8056d15cde037266a08e8af33fc7a6554811717bf0afbe822a6a2de828", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling regex-automata v0.4.11 [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 zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling url-track-cleaner v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "6bf0fd8056d15cde037266a08e8af33fc7a6554811717bf0afbe822a6a2de828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf0fd8056d15cde037266a08e8af33fc7a6554811717bf0afbe822a6a2de828", kill_on_drop: false }` [INFO] [stdout] 6bf0fd8056d15cde037266a08e8af33fc7a6554811717bf0afbe822a6a2de828 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 006bd5bf3740f269daa71029fc0d18137f2d7f797696b667f8e15ee88af80ec6 [INFO] running `Command { std: "docker" "start" "-a" "006bd5bf3740f269daa71029fc0d18137f2d7f797696b667f8e15ee88af80ec6", kill_on_drop: false }` [INFO] [stderr] Compiling url-track-cleaner v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/rules.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/policy.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let a = serde_json::to_string(&RedirectPolicy::All)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_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 `serde_json` [INFO] [stdout] --> src/policy.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | let b = serde_json::to_string(&RedirectPolicy::Domains(vec![ [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_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 `serde_json` [INFO] [stdout] --> src/policy.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let a = serde_json::from_str::(&a)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_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 `serde_json` [INFO] [stdout] --> src/policy.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | let b = serde_json::from_str::(&b)?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `url-track-cleaner` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "006bd5bf3740f269daa71029fc0d18137f2d7f797696b667f8e15ee88af80ec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "006bd5bf3740f269daa71029fc0d18137f2d7f797696b667f8e15ee88af80ec6", kill_on_drop: false }` [INFO] [stdout] 006bd5bf3740f269daa71029fc0d18137f2d7f797696b667f8e15ee88af80ec6