[INFO] fetching crate aliri_reqwest 0.5.1... [INFO] testing aliri_reqwest-0.5.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] extracting crate aliri_reqwest 0.5.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate aliri_reqwest 0.5.1 [INFO] finished tweaking crates.io crate aliri_reqwest 0.5.1 [INFO] tweaked toml for crates.io crate aliri_reqwest 0.5.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate aliri_reqwest 0.5.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 138 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded predicates-core v1.0.9 [INFO] [stderr] Downloaded reqwest-middleware v0.4.2 [INFO] [stderr] Downloaded aliri v0.6.4 [INFO] [stderr] Downloaded aliri_tokens v0.3.2 [INFO] [stderr] Downloaded predicates v3.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75469d615ee21856fef6ca7099f7ade9833da93523f1aea5a4f6a51d29b9f98d [INFO] running `Command { std: "docker" "start" "-a" "75469d615ee21856fef6ca7099f7ade9833da93523f1aea5a4f6a51d29b9f98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75469d615ee21856fef6ca7099f7ade9833da93523f1aea5a4f6a51d29b9f98d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75469d615ee21856fef6ca7099f7ade9833da93523f1aea5a4f6a51d29b9f98d", kill_on_drop: false }` [INFO] [stdout] 75469d615ee21856fef6ca7099f7ade9833da93523f1aea5a4f6a51d29b9f98d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87657df38f0a8de4966a129adb0073de4e459d190ea74755e54a48dfd4f96561 [INFO] running `Command { std: "docker" "start" "-a" "87657df38f0a8de4966a129adb0073de4e459d190ea74755e54a48dfd4f96561", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling aliri_braid_impl v0.4.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling aliri_base64 v0.1.8 [INFO] [stderr] Compiling aliri_clock v0.1.4 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling aliri_braid v0.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling aliri v0.6.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling reqwest-middleware v0.4.2 [INFO] [stderr] Compiling aliri_tokens v0.3.2 [INFO] [stderr] Compiling aliri_reqwest v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | fn find_case(&self, expected: bool, req: &Request) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | fn find_case(&self, expected: bool, req: &Request) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | fn find_case(&self, expected: bool, req: &Request) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn find_case(&self, expected: bool, req: &Request) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.63s [INFO] running `Command { std: "docker" "inspect" "87657df38f0a8de4966a129adb0073de4e459d190ea74755e54a48dfd4f96561", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87657df38f0a8de4966a129adb0073de4e459d190ea74755e54a48dfd4f96561", kill_on_drop: false }` [INFO] [stdout] 87657df38f0a8de4966a129adb0073de4e459d190ea74755e54a48dfd4f96561 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfa36a9bcda6b134cfbb3ef0cc3812d7c669426c75c204466eb8851361377fd8 [INFO] running `Command { std: "docker" "start" "-a" "cfa36a9bcda6b134cfbb3ef0cc3812d7c669426c75c204466eb8851361377fd8", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling aliri_tokens v0.3.2 [INFO] [stderr] Compiling reqwest-middleware v0.4.2 [INFO] [stderr] Compiling aliri_reqwest v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | fn find_case(&self, expected: bool, req: &Request) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | fn find_case(&self, expected: bool, req: &Request) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | fn find_case(&self, expected: bool, req: &Request) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn find_case(&self, expected: bool, req: &Request) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | fn find_case(&self, expected: bool, req: &Request) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 180 | fn find_case(&self, expected: bool, req: &Request) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:226:18 [INFO] [stdout] | [INFO] [stdout] 226 | fn find_case(&self, expected: bool, req: &Request) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 226 | fn find_case(&self, expected: bool, req: &Request) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.87s [INFO] running `Command { std: "docker" "inspect" "cfa36a9bcda6b134cfbb3ef0cc3812d7c669426c75c204466eb8851361377fd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa36a9bcda6b134cfbb3ef0cc3812d7c669426c75c204466eb8851361377fd8", kill_on_drop: false }` [INFO] [stdout] cfa36a9bcda6b134cfbb3ef0cc3812d7c669426c75c204466eb8851361377fd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8732deda0708d9a435e5fec2a3fd8b4abc8f542189a5f1e0966b24264963eb23 [INFO] running `Command { std: "docker" "start" "-a" "8732deda0708d9a435e5fec2a3fd8b4abc8f542189a5f1e0966b24264963eb23", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:180:18 [INFO] [stderr] | [INFO] [stderr] 180 | fn find_case(&self, expected: bool, req: &Request) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 180 | fn find_case(&self, expected: bool, req: &Request) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:226:18 [INFO] [stderr] | [INFO] [stderr] 226 | fn find_case(&self, expected: bool, req: &Request) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 226 | fn find_case(&self, expected: bool, req: &Request) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `aliri_reqwest` (lib) generated 2 warnings (run `cargo fix --lib -p aliri_reqwest` to apply 2 suggestions) [INFO] [stderr] warning: `aliri_reqwest` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aliri_reqwest-0c4a58e969b55992) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test tests::exact_host_match_predicate::does_not_match_when_request_has_different_host ... ok [INFO] [stdout] test tests::exact_host_match_predicate::matches_when_request_has_same_host ... ok [INFO] [stdout] test tests::https_only_predicate::does_not_match_when_request_has_http_scheme ... ok [INFO] [stdout] test tests::when_request_does_not_have_an_authorization_header::and_predicate_evaluates_to_attach::middleware_attaches_access_token ... ok [INFO] [stdout] test tests::when_request_already_contains_an_authorization_header::middleware_does_not_attach_access_token ... ok [INFO] [stdout] test tests::when_request_does_not_have_an_authorization_header::and_predicate_evaluates_to_ignore::middleware_does_not_attach_access_token ... ok [INFO] [stdout] test tests::when_request_does_not_have_an_authorization_header::middleware_with_defaults_attaches_token_on_https_request ... ok [INFO] [stdout] test tests::https_only_predicate::matches_when_request_has_https_scheme ... ok [INFO] [stderr] Doc-tests aliri_reqwest [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 47) ... ok [INFO] [stdout] test src/lib.rs - (line 12) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.63s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8732deda0708d9a435e5fec2a3fd8b4abc8f542189a5f1e0966b24264963eb23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8732deda0708d9a435e5fec2a3fd8b4abc8f542189a5f1e0966b24264963eb23", kill_on_drop: false }` [INFO] [stdout] 8732deda0708d9a435e5fec2a3fd8b4abc8f542189a5f1e0966b24264963eb23