[INFO] fetching crate rundeck-api 0.1.0... [INFO] checking rundeck-api-0.1.0 against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] extracting crate rundeck-api 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rundeck-api 0.1.0 on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 18148c71e8fb68c74f61d0f28a029e6d53dd76995e9cd3f5c2130a0dd83da6e6 [INFO] running `Command { std: "docker" "start" "-a" "18148c71e8fb68c74f61d0f28a029e6d53dd76995e9cd3f5c2130a0dd83da6e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18148c71e8fb68c74f61d0f28a029e6d53dd76995e9cd3f5c2130a0dd83da6e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18148c71e8fb68c74f61d0f28a029e6d53dd76995e9cd3f5c2130a0dd83da6e6", kill_on_drop: false }` [INFO] [stdout] 18148c71e8fb68c74f61d0f28a029e6d53dd76995e9cd3f5c2130a0dd83da6e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c4bbd2c349dea7c04f4eb48f1890c6cd4b7cc7ad3e73208339fe7ca796a3981d [INFO] running `Command { std: "docker" "start" "-a" "c4bbd2c349dea7c04f4eb48f1890c6cd4b7cc7ad3e73208339fe7ca796a3981d", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.6 [INFO] [stderr] Checking 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] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^ no `Accept` in `header` [INFO] [stdout] | | | [INFO] [stdout] | | no `ContentType` in `header` [INFO] [stdout] | no `Headers` in `header` [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^ no `Accept` in `header` [INFO] [stdout] | | | [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 `reqwest::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 `reqwest::Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `reqwest::RequestBuilder` in the current scope [INFO] [stdout] --> src/lib.rs:49:94 [INFO] [stdout] | [INFO] [stdout] 49 | ...thod::Options, &format!("{}", self.url)).expect("Unable to build the check http request"); [INFO] [stdout] | ^^^^^^ method not found in `reqwest::RequestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `reqwest::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 `reqwest::RequestBuilder` [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 method named `unwrap` found for struct `reqwest::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 `reqwest::RequestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Options` found for struct `reqwest::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 `reqwest::Method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for struct `reqwest::RequestBuilder` in the current scope [INFO] [stdout] --> src/lib.rs:49:94 [INFO] [stdout] | [INFO] [stdout] 49 | ...thod::Options, &format!("{}", self.url)).expect("Unable to build the check http request"); [INFO] [stdout] | ^^^^^^ method not found in `reqwest::RequestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `reqwest::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 `reqwest::RequestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `reqwest::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 `reqwest::RequestBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "c4bbd2c349dea7c04f4eb48f1890c6cd4b7cc7ad3e73208339fe7ca796a3981d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4bbd2c349dea7c04f4eb48f1890c6cd4b7cc7ad3e73208339fe7ca796a3981d", kill_on_drop: false }` [INFO] [stdout] c4bbd2c349dea7c04f4eb48f1890c6cd4b7cc7ad3e73208339fe7ca796a3981d