[INFO] fetching crate api-forge 0.0.2... [INFO] testing api-forge-0.0.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate api-forge 0.0.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate api-forge 0.0.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate api-forge 0.0.2 [INFO] tweaked toml for crates.io crate api-forge 0.0.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate api-forge 0.0.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate api-forge 0.0.2 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded api-forge-macro v0.0.2 [INFO] [stderr] Downloaded hyper-util v0.1.8 [INFO] [stderr] Downloaded anyhow v1.0.87 [INFO] [stderr] Downloaded xml-rs v0.8.22 [INFO] [stderr] Downloaded cc v1.1.18 [INFO] [stderr] Downloaded serde-xml-rust v0.6.0 [INFO] [stderr] Downloaded rustix v0.38.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2b093f7374f5f0c099c590dcdfa7e07ebb30d73cfe4fb249fbc307b01a0d6dd [INFO] running `Command { std: "docker" "start" "-a" "f2b093f7374f5f0c099c590dcdfa7e07ebb30d73cfe4fb249fbc307b01a0d6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2b093f7374f5f0c099c590dcdfa7e07ebb30d73cfe4fb249fbc307b01a0d6dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2b093f7374f5f0c099c590dcdfa7e07ebb30d73cfe4fb249fbc307b01a0d6dd", kill_on_drop: false }` [INFO] [stdout] f2b093f7374f5f0c099c590dcdfa7e07ebb30d73cfe4fb249fbc307b01a0d6dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1f6e48d3077c75c371afcb8c8d522ac1d05a9d8197ca017a9a2cdad9d61a871 [INFO] running `Command { std: "docker" "start" "-a" "a1f6e48d3077c75c371afcb8c8d522ac1d05a9d8197ca017a9a2cdad9d61a871", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling api-forge-macro v0.0.2 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling serde-xml-rust v0.6.0 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.8 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.7 [INFO] [stderr] Compiling api-forge v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "a1f6e48d3077c75c371afcb8c8d522ac1d05a9d8197ca017a9a2cdad9d61a871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f6e48d3077c75c371afcb8c8d522ac1d05a9d8197ca017a9a2cdad9d61a871", kill_on_drop: false }` [INFO] [stdout] a1f6e48d3077c75c371afcb8c8d522ac1d05a9d8197ca017a9a2cdad9d61a871 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df1b662f058a018d84e558f20796ca67118f31722081a88ee9155cefecca1b1c [INFO] running `Command { std: "docker" "start" "-a" "df1b662f058a018d84e558f20796ca67118f31722081a88ee9155cefecca1b1c", kill_on_drop: false }` [INFO] [stderr] Compiling api-forge v0.0.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.18s [INFO] running `Command { std: "docker" "inspect" "df1b662f058a018d84e558f20796ca67118f31722081a88ee9155cefecca1b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df1b662f058a018d84e558f20796ca67118f31722081a88ee9155cefecca1b1c", kill_on_drop: false }` [INFO] [stdout] df1b662f058a018d84e558f20796ca67118f31722081a88ee9155cefecca1b1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a808888fe4bc6dfe38040114a0048b278004a234f820e27448e63ee7d51ae8b6 [INFO] running `Command { std: "docker" "start" "-a" "a808888fe4bc6dfe38040114a0048b278004a234f820e27448e63ee7d51ae8b6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/api_forge-a75b19bf3c8c7ac8) [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 api_forge [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/traits/mod.rs - traits::ApiRequest (line 50) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/traits/mod.rs - traits::ApiRequest (line 50) stdout ---- [INFO] [stdout] error[E0576]: cannot find associated type `Response` in trait `ApiRequest` [INFO] [stdout] --> src/traits/mod.rs:82:134 [INFO] [stdout] | [INFO] [stdout] 82 | ...Error> where >::Response: From { [INFO] [stdout] | ^^^^^^^^ not found in `ApiRequest` [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Response` not found for `Self` [INFO] [stdout] --> src/traits/mod.rs:82:69 [INFO] [stdout] | [INFO] [stdout] 82 | async fn from_response(resp: reqwest::Response) -> Result where >:... [INFO] [stdout] | ^^^^^^^^ associated type `Response` not found [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap_or_else` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/traits/mod.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | resp.json().unwrap_or_else(|_| MyResponse { [INFO] [stdout] | ------------^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 71 | resp.json().await.unwrap_or_else(|_| MyResponse { [INFO] [stdout] | ++++++ [INFO] [stdout] help: trait `TryFutureExt` which provides `unwrap_or_else` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 50 + use futures_util::future::try_future::TryFutureExt; [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_else` with a similar name [INFO] [stdout] | [INFO] [stdout] 71 - resp.json().unwrap_or_else(|_| MyResponse { [INFO] [stdout] 71 + resp.json().or_else(|_| MyResponse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0576, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/traits/mod.rs - traits::ApiRequest (line 50) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a808888fe4bc6dfe38040114a0048b278004a234f820e27448e63ee7d51ae8b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a808888fe4bc6dfe38040114a0048b278004a234f820e27448e63ee7d51ae8b6", kill_on_drop: false }` [INFO] [stdout] a808888fe4bc6dfe38040114a0048b278004a234f820e27448e63ee7d51ae8b6