[INFO] fetching crate rundeck-api 0.1.0... [INFO] building rundeck-api-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rundeck-api 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rundeck-api 0.1.0 [INFO] finished tweaking crates.io crate rundeck-api 0.1.0 [INFO] tweaked toml for crates.io crate rundeck-api 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rundeck-api 0.1.0 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 162 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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 455af244a294a01fec6ee940bb71db8d8fa0d3b5c57c7d108925b4be8e0ae984 [INFO] running `Command { std: "docker" "start" "-a" "455af244a294a01fec6ee940bb71db8d8fa0d3b5c57c7d108925b4be8e0ae984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "455af244a294a01fec6ee940bb71db8d8fa0d3b5c57c7d108925b4be8e0ae984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "455af244a294a01fec6ee940bb71db8d8fa0d3b5c57c7d108925b4be8e0ae984", kill_on_drop: false }` [INFO] [stdout] 455af244a294a01fec6ee940bb71db8d8fa0d3b5c57c7d108925b4be8e0ae984 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8acf30627459da42ba35923422e3da15c91dc7f8e98ab74d055f635e62d3e771 [INFO] running `Command { std: "docker" "start" "-a" "8acf30627459da42ba35923422e3da15c91dc7f8e98ab74d055f635e62d3e771", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling rundeck-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `reqwest::header::Headers`, `reqwest::header::ContentType`, `reqwest::header::Accept` [INFO] [stdout] --> src/lib.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use reqwest::header::{Headers, ContentType, Accept}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Accept` in `header` [INFO] [stdout] | | | help: a similar name exists in the module: `ACCEPT` [INFO] [stdout] | | no `ContentType` in `header` [INFO] [stdout] | no `Headers` in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `reqwest::Client` in the current scope [INFO] [stdout] --> src/lib.rs:30:44 [INFO] [stdout] | [INFO] [stdout] 30 | let inner = reqwest::Client::new().expect("Cannot create an HTTP client"); [INFO] [stdout] | ^^^^^^ method not found in `reqwest::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Options` found for struct `Method` in the current scope [INFO] [stdout] --> src/lib.rs:49:59 [INFO] [stdout] | [INFO] [stdout] 49 | ... let mut req = self.inner.request(reqwest::Method::Options, &format!("{}", self.url)).expect("Unable to build the check http request"); [INFO] [stdout] | ^^^^^^^ associated item not found in `Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `RequestBuilder` in the current scope [INFO] [stdout] --> src/lib.rs:49:94 [INFO] [stdout] | [INFO] [stdout] 49 | ... let mut req = self.inner.request(reqwest::Method::Options, &format!("{}", self.url)).expect("Unable to build the check http request"); [INFO] [stdout] | ^^^^^^ method not found in `RequestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `RequestBuilder` in the current scope [INFO] [stdout] --> src/lib.rs:65:44 [INFO] [stdout] | [INFO] [stdout] 65 | let mut res = self.inner.get(&url).unwrap() [INFO] [stdout] | ^^^^^^ method not found in `RequestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `RequestBuilder` in the current scope [INFO] [stdout] --> src/lib.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | self.inner.post(&url).unwrap() [INFO] [stdout] | ^^^^^^ method not found in `RequestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rundeck-api` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8acf30627459da42ba35923422e3da15c91dc7f8e98ab74d055f635e62d3e771", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8acf30627459da42ba35923422e3da15c91dc7f8e98ab74d055f635e62d3e771", kill_on_drop: false }` [INFO] [stdout] 8acf30627459da42ba35923422e3da15c91dc7f8e98ab74d055f635e62d3e771