[INFO] fetching crate progenitor-middleware-client 0.12.0... [INFO] testing progenitor-middleware-client-0.12.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate progenitor-middleware-client 0.12.0 into /workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate progenitor-middleware-client 0.12.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.96 [INFO] [stderr] Downloaded reqwest-middleware v0.4.2 [INFO] [stderr] Downloaded memchr v2.6.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b373f40c1029796abd30d55da98d341bea3dfcedba718956f53a0d2f5abd8c4e [INFO] running `Command { std: "docker" "start" "-a" "b373f40c1029796abd30d55da98d341bea3dfcedba718956f53a0d2f5abd8c4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b373f40c1029796abd30d55da98d341bea3dfcedba718956f53a0d2f5abd8c4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b373f40c1029796abd30d55da98d341bea3dfcedba718956f53a0d2f5abd8c4e", kill_on_drop: false }` [INFO] [stdout] b373f40c1029796abd30d55da98d341bea3dfcedba718956f53a0d2f5abd8c4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aaeab8e23f2df5a1f1d477bfc881efabed4a52817d84d98d9a34e146dfade61 [INFO] running `Command { std: "docker" "start" "-a" "7aaeab8e23f2df5a1f1d477bfc881efabed4a52817d84d98d9a34e146dfade61", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling hyper-util v0.1.16 [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 zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling serde v1.0.219 [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 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 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 55.46s [INFO] running `Command { std: "docker" "inspect" "7aaeab8e23f2df5a1f1d477bfc881efabed4a52817d84d98d9a34e146dfade61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aaeab8e23f2df5a1f1d477bfc881efabed4a52817d84d98d9a34e146dfade61", kill_on_drop: false }` [INFO] [stdout] 7aaeab8e23f2df5a1f1d477bfc881efabed4a52817d84d98d9a34e146dfade61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7a8fb8c598b29f30760fbe3a2eaaa5a59fe3f234468534fba2b6d3a2177cfa8 [INFO] running `Command { std: "docker" "start" "-a" "d7a8fb8c598b29f30760fbe3a2eaaa5a59fe3f234468534fba2b6d3a2177cfa8", 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.48s [INFO] running `Command { std: "docker" "inspect" "d7a8fb8c598b29f30760fbe3a2eaaa5a59fe3f234468534fba2b6d3a2177cfa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7a8fb8c598b29f30760fbe3a2eaaa5a59fe3f234468534fba2b6d3a2177cfa8", kill_on_drop: false }` [INFO] [stdout] d7a8fb8c598b29f30760fbe3a2eaaa5a59fe3f234468534fba2b6d3a2177cfa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 88f0c8fab153b219ef1878e4c70ca0633aa431580a7c3b1889040c5517a7b0ee [INFO] running `Command { std: "docker" "start" "-a" "88f0c8fab153b219ef1878e4c70ca0633aa431580a7c3b1889040c5517a7b0ee", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/progenitor_middleware_client-f9185536d5ea59b5) [INFO] [stdout] [INFO] [stderr] Running tests/client_test.rs (/opt/rustwide/target/debug/deps/client_test-3d946e2565506444) [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] [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_object ... ok [INFO] [stdout] test test_query_enum_internal ... ok [INFO] [stdout] test test_query_option ... ok [INFO] [stdout] test test_query_scalars ... ok [INFO] [stderr] Doc-tests progenitor_middleware_client [INFO] [stdout] test test_query_enum_untagged ... ok [INFO] [stdout] test test_query_map ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [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] 10 | 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] 10 - fn client(&self) -> &reqwest::Client { panic!() } [INFO] [stdout] 10 + 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:137:3 [INFO] [stdout] | [INFO] [stdout] 14 | / async fn exec( [INFO] [stdout] 15 | | &self, [INFO] [stdout] 16 | | request: reqwest::Request, [INFO] [stdout] 17 | | info: &OperationInfo, [INFO] [stdout] 18 | | ) -> 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] --> /opt/rustwide/workdir/src/progenitor_middleware_client.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / async fn exec( [INFO] [stdout] 146 | | &self, [INFO] [stdout] 147 | | request: reqwest::Request, [INFO] [stdout] 148 | | info: &OperationInfo, [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] 19 | 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.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "88f0c8fab153b219ef1878e4c70ca0633aa431580a7c3b1889040c5517a7b0ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f0c8fab153b219ef1878e4c70ca0633aa431580a7c3b1889040c5517a7b0ee", kill_on_drop: false }` [INFO] [stdout] 88f0c8fab153b219ef1878e4c70ca0633aa431580a7c3b1889040c5517a7b0ee