[INFO] fetching crate api-forge 0.0.2... [INFO] testing api-forge-0.0.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate api-forge 0.0.2 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate api-forge 0.0.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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 serde-xml-rust v0.6.0 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9fecb71d8d4230382aa00720154cd7c039ec616b0c95876a31d98d01af11e86 [INFO] running `Command { std: "docker" "start" "-a" "b9fecb71d8d4230382aa00720154cd7c039ec616b0c95876a31d98d01af11e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9fecb71d8d4230382aa00720154cd7c039ec616b0c95876a31d98d01af11e86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9fecb71d8d4230382aa00720154cd7c039ec616b0c95876a31d98d01af11e86", kill_on_drop: false }` [INFO] [stdout] b9fecb71d8d4230382aa00720154cd7c039ec616b0c95876a31d98d01af11e86 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdc834181b48695fb80f81a807cf85ec0874a865e4d8719fd8491ca8c203c912 [INFO] running `Command { std: "docker" "start" "-a" "cdc834181b48695fb80f81a807cf85ec0874a865e4d8719fd8491ca8c203c912", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bytes v1.7.1 [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 serde v1.0.210 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling anyhow v1.0.87 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling http-body-util v0.1.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 pin-project v1.1.5 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling tracing v0.1.40 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde-xml-rust v0.6.0 [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 h2 v0.4.6 [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 31.09s [INFO] running `Command { std: "docker" "inspect" "cdc834181b48695fb80f81a807cf85ec0874a865e4d8719fd8491ca8c203c912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdc834181b48695fb80f81a807cf85ec0874a865e4d8719fd8491ca8c203c912", kill_on_drop: false }` [INFO] [stdout] cdc834181b48695fb80f81a807cf85ec0874a865e4d8719fd8491ca8c203c912 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7898a2044fe7e2a2957b99fec8bd0262fc234e47564b969cfc71423a4e91f49b [INFO] running `Command { std: "docker" "start" "-a" "7898a2044fe7e2a2957b99fec8bd0262fc234e47564b969cfc71423a4e91f49b", 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 1.88s [INFO] running `Command { std: "docker" "inspect" "7898a2044fe7e2a2957b99fec8bd0262fc234e47564b969cfc71423a4e91f49b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7898a2044fe7e2a2957b99fec8bd0262fc234e47564b969cfc71423a4e91f49b", kill_on_drop: false }` [INFO] [stdout] 7898a2044fe7e2a2957b99fec8bd0262fc234e47564b969cfc71423a4e91f49b [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f9ddfb500f2cb4b19c5098a6017f5c7e47556eccf898f83b4ccd9ea370b4c68f [INFO] running `Command { std: "docker" "start" "-a" "f9ddfb500f2cb4b19c5098a6017f5c7e47556eccf898f83b4ccd9ea370b4c68f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [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] 34 | ...rgeError> 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] 34 | async fn from_response(resp: reqwest::Response) -> Result where >::Resp... [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] 23 | 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] 23 | 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] 2 + 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] 23 - resp.json().unwrap_or_else(|_| MyResponse { [INFO] [stdout] 23 + 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.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f9ddfb500f2cb4b19c5098a6017f5c7e47556eccf898f83b4ccd9ea370b4c68f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9ddfb500f2cb4b19c5098a6017f5c7e47556eccf898f83b4ccd9ea370b4c68f", kill_on_drop: false }` [INFO] [stdout] f9ddfb500f2cb4b19c5098a6017f5c7e47556eccf898f83b4ccd9ea370b4c68f