[INFO] fetching crate proxyparser 0.1.0... [INFO] testing proxyparser-0.1.0 against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] extracting crate proxyparser 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate proxyparser 0.1.0 [INFO] finished tweaking crates.io crate proxyparser 0.1.0 [INFO] tweaked toml for crates.io crate proxyparser 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate proxyparser 0.1.0 on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate proxyparser 0.1.0 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded boa_interner v0.19.1 [INFO] [stderr] Downloaded boa_macros v0.19.1 [INFO] [stderr] Downloaded pollster v0.3.0 [INFO] [stderr] Downloaded bitflags v2.9.3 [INFO] [stderr] Downloaded boa_gc v0.19.1 [INFO] [stderr] Downloaded fast-float v0.2.0 [INFO] [stderr] Downloaded icu_normalizer_data v1.5.1 [INFO] [stderr] Downloaded boa_ast v0.19.1 [INFO] [stderr] Downloaded cc v1.2.34 [INFO] [stderr] Downloaded boa_parser v0.19.1 [INFO] [stderr] Downloaded intrusive-collections v0.9.7 [INFO] [stderr] Downloaded reqwest v0.12.25 [INFO] [stderr] Downloaded wasi v0.14.3+wasi-0.2.4 [INFO] [stderr] Downloaded ryu-js v1.0.2 [INFO] [stderr] Downloaded iri-string v0.7.9 [INFO] [stderr] Downloaded icu_locid_transform_data v1.5.1 [INFO] [stderr] Downloaded icu_properties_data v1.5.1 [INFO] [stderr] Downloaded webpki-roots v1.0.4 [INFO] [stderr] Downloaded schannel v0.1.27 [INFO] [stderr] Downloaded wit-bindgen v0.45.0 [INFO] [stderr] Downloaded thin-vec v0.2.14 [INFO] [stderr] Downloaded regress v0.10.5 [INFO] [stderr] Downloaded security-framework-sys v2.14.0 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded rustls v0.23.35 [INFO] [stderr] Downloaded rustls-pki-types v1.13.1 [INFO] [stderr] Downloaded boa_profiler v0.19.1 [INFO] [stderr] Downloaded boa_string v0.19.1 [INFO] [stderr] Downloaded litemap v0.7.5 [INFO] [stderr] Downloaded boa_engine v0.19.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4be785ad09f9082975b0c06649922a18107577f052bb2b71045e991bad0b67ea [INFO] running `Command { std: "docker" "start" "-a" "4be785ad09f9082975b0c06649922a18107577f052bb2b71045e991bad0b67ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4be785ad09f9082975b0c06649922a18107577f052bb2b71045e991bad0b67ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4be785ad09f9082975b0c06649922a18107577f052bb2b71045e991bad0b67ea", kill_on_drop: false }` [INFO] [stdout] 4be785ad09f9082975b0c06649922a18107577f052bb2b71045e991bad0b67ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f947ec210c75d555c88063f2539a97ead8be50e97cf171e32050da3cb753beb4 [INFO] running `Command { std: "docker" "start" "-a" "f947ec210c75d555c88063f2539a97ead8be50e97cf171e32050da3cb753beb4", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling rustls-pki-types v1.13.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling fast-float v0.2.0 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling thin-vec v0.2.14 [INFO] [stderr] Compiling boa_string v0.19.1 [INFO] [stderr] Compiling boa_profiler v0.19.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling regress v0.10.5 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling webpki-roots v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling iri-string v0.7.9 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling intrusive-collections v0.9.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling ryu-js v1.0.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling boa_macros v0.19.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling rustls-webpki v0.103.8 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling boa_gc v0.19.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling boa_interner v0.19.1 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling zerovec v0.10.4 [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 tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 hyper-util v0.1.19 [INFO] [stderr] Compiling boa_ast v0.19.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.25 [INFO] [stderr] Compiling boa_parser v0.19.1 [INFO] [stderr] Compiling boa_engine v0.19.1 [INFO] [stderr] Compiling proxyparser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log_warn` [INFO] [stdout] --> src/system_proxy/linux.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{log_info, log_warn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/system_proxy/linux.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_kde_proxy(url: &Url, scheme: &str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.57s [INFO] running `Command { std: "docker" "inspect" "f947ec210c75d555c88063f2539a97ead8be50e97cf171e32050da3cb753beb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f947ec210c75d555c88063f2539a97ead8be50e97cf171e32050da3cb753beb4", kill_on_drop: false }` [INFO] [stdout] f947ec210c75d555c88063f2539a97ead8be50e97cf171e32050da3cb753beb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22f016f34ae66ddb18206d9a9abf8166d7e1b95e93db6d265984e25bb0a39c34 [INFO] running `Command { std: "docker" "start" "-a" "22f016f34ae66ddb18206d9a9abf8166d7e1b95e93db6d265984e25bb0a39c34", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `log_warn` [INFO] [stdout] --> src/system_proxy/linux.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{log_info, log_warn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proxyparser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/system_proxy/linux.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_kde_proxy(url: &Url, scheme: &str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log_warn` [INFO] [stdout] --> src/system_proxy/linux.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{log_info, log_warn}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/system_proxy/linux.rs:114:18 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_kde_proxy(url: &Url, scheme: &str) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "22f016f34ae66ddb18206d9a9abf8166d7e1b95e93db6d265984e25bb0a39c34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22f016f34ae66ddb18206d9a9abf8166d7e1b95e93db6d265984e25bb0a39c34", kill_on_drop: false }` [INFO] [stdout] 22f016f34ae66ddb18206d9a9abf8166d7e1b95e93db6d265984e25bb0a39c34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 474b7f41d532fa44cc7a4df83bf9d9f673379d055a6a5f0f7f22215dda2d5742 [INFO] running `Command { std: "docker" "start" "-a" "474b7f41d532fa44cc7a4df83bf9d9f673379d055a6a5f0f7f22215dda2d5742", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `log_warn` [INFO] [stderr] --> src/system_proxy/linux.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::{log_info, log_warn}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `url` [INFO] [stderr] --> src/system_proxy/linux.rs:114:18 [INFO] [stderr] | [INFO] [stderr] 114 | fn get_kde_proxy(url: &Url, scheme: &str) -> Option { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `proxyparser` (lib) generated 2 warnings (run `cargo fix --lib -p proxyparser` to apply 2 suggestions) [INFO] [stderr] warning: `proxyparser` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/proxyparser-6a89d7f538ae7e6c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/proxyparser-d47a2842f4035076) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests proxyparser [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - find_proxy_for_url (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - find_proxy_for_url (line 18) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `find_proxy_for_url` in this scope [INFO] [stdout] --> src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let proxy = find_proxy_for_url("https://httpbin.org/ip")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 18 + use proxyparser::find_proxy_for_url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - find_proxy_for_url (line 18) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "474b7f41d532fa44cc7a4df83bf9d9f673379d055a6a5f0f7f22215dda2d5742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "474b7f41d532fa44cc7a4df83bf9d9f673379d055a6a5f0f7f22215dda2d5742", kill_on_drop: false }` [INFO] [stdout] 474b7f41d532fa44cc7a4df83bf9d9f673379d055a6a5f0f7f22215dda2d5742