[INFO] fetching crate progenitor-middleware-client 0.12.0... [INFO] testing progenitor-middleware-client-0.12.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate progenitor-middleware-client 0.12.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate progenitor-middleware-client 0.12.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate progenitor-middleware-client 0.12.0 [INFO] tweaked toml for crates.io crate progenitor-middleware-client 0.12.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate progenitor-middleware-client 0.12.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate progenitor-middleware-client 0.12.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed09dfb13139ec4914fc35be36ebfaa3e15e265d69047af19bba61522d0bd9e8 [INFO] running `Command { std: "docker" "start" "-a" "ed09dfb13139ec4914fc35be36ebfaa3e15e265d69047af19bba61522d0bd9e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed09dfb13139ec4914fc35be36ebfaa3e15e265d69047af19bba61522d0bd9e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed09dfb13139ec4914fc35be36ebfaa3e15e265d69047af19bba61522d0bd9e8", kill_on_drop: false }` [INFO] [stdout] ed09dfb13139ec4914fc35be36ebfaa3e15e265d69047af19bba61522d0bd9e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 215347cb3d6dd19de20e433379ae4b7575e6acc7639f5517f0604a5a4322994c [INFO] running `Command { std: "docker" "start" "-a" "215347cb3d6dd19de20e433379ae4b7575e6acc7639f5517f0604a5a4322994c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling reqwest-middleware v0.4.2 [INFO] [stderr] Compiling progenitor-middleware-client v0.12.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.93s [INFO] running `Command { std: "docker" "inspect" "215347cb3d6dd19de20e433379ae4b7575e6acc7639f5517f0604a5a4322994c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "215347cb3d6dd19de20e433379ae4b7575e6acc7639f5517f0604a5a4322994c", kill_on_drop: false }` [INFO] [stdout] 215347cb3d6dd19de20e433379ae4b7575e6acc7639f5517f0604a5a4322994c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8ef6ac5161b847dd73f610d307025a6b3a08031af7ddd063870b22034313df2 [INFO] running `Command { std: "docker" "start" "-a" "f8ef6ac5161b847dd73f610d307025a6b3a08031af7ddd063870b22034313df2", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling progenitor-middleware-client v0.12.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "f8ef6ac5161b847dd73f610d307025a6b3a08031af7ddd063870b22034313df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8ef6ac5161b847dd73f610d307025a6b3a08031af7ddd063870b22034313df2", kill_on_drop: false }` [INFO] [stdout] f8ef6ac5161b847dd73f610d307025a6b3a08031af7ddd063870b22034313df2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7a0ae03b96b76abb5ee81eb2d91a69514c3f311a10b090589e4c937a859dc09e [INFO] running `Command { std: "docker" "start" "-a" "7a0ae03b96b76abb5ee81eb2d91a69514c3f311a10b090589e4c937a859dc09e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/progenitor_middleware_client-4495df2891570b6c) [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 tests/client_test.rs (/opt/rustwide/target/debug/deps/client_test-4695082db49527db) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test test_path_segment_encoding ... ok [INFO] [stdout] test test_query_enum_external ... ok [INFO] [stdout] test test_query_enum_adjacent ... ok [INFO] [stdout] test test_query_arrays ... ok [INFO] [stdout] test test_query_enum_internal ... ok [INFO] [stdout] test test_query_map ... ok [INFO] [stdout] test test_query_object ... ok [INFO] [stdout] test test_query_option ... ok [INFO] [stdout] test test_query_scalars ... ok [INFO] [stdout] test test_query_enum_untagged ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests progenitor_middleware_client [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/progenitor_middleware_client.rs - progenitor_middleware_client::ClientHooks::exec (line 126) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/progenitor_middleware_client.rs - progenitor_middleware_client::ClientHooks::exec (line 126) stdout ---- [INFO] [stdout] error[E0053]: method `client` has an incompatible type for trait [INFO] [stdout] --> src/progenitor_middleware_client.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | fn client(&self) -> &reqwest::Client { panic!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `ClientWithMiddleware`, found `Client` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&X) -> &reqwest_middleware::client::ClientWithMiddleware` [INFO] [stdout] found signature `fn(&X) -> &Client` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 133 - fn client(&self) -> &reqwest::Client { panic!() } [INFO] [stdout] 133 + fn client(&self) -> &reqwest_middleware::client::ClientWithMiddleware { panic!() } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0271]: expected `impl Future>` to be a future that resolves to `Result`, but it resolves to `Result` [INFO] [stdout] --> src/progenitor_middleware_client.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | ) -> reqwest::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `reqwest_middleware::error::Error`, found `reqwest::Error` [INFO] [stdout] | [INFO] [stdout] = note: `reqwest::Error` and `reqwest_middleware::error::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `reqwest::Error` is defined in crate `reqwest` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.12.4/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `reqwest_middleware::error::Error` is defined in crate `reqwest_middleware` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-middleware-0.4.2/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `ClientHooks::exec::{anon_assoc#0}` [INFO] [stdout] --> src/progenitor_middleware_client.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ClientHooks::exec::{anon_assoc#0}` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/progenitor_middleware_client.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | self.client().execute(request).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `reqwest::Error`, found `reqwest_middleware::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `reqwest_middleware::error::Error` and `reqwest::Error` have similar names, but are actually distinct types [INFO] [stdout] note: `reqwest_middleware::error::Error` is defined in crate `reqwest_middleware` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-middleware-0.4.2/src/error.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] note: `reqwest::Error` is defined in crate `reqwest` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.12.4/src/error.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0271, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/progenitor_middleware_client.rs - progenitor_middleware_client::ClientHooks::exec (line 126) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7a0ae03b96b76abb5ee81eb2d91a69514c3f311a10b090589e4c937a859dc09e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a0ae03b96b76abb5ee81eb2d91a69514c3f311a10b090589e4c937a859dc09e", kill_on_drop: false }` [INFO] [stdout] 7a0ae03b96b76abb5ee81eb2d91a69514c3f311a10b090589e4c937a859dc09e