[INFO] cloning repository https://github.com/GeneTinderholm/jwt-util [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GeneTinderholm/jwt-util" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeneTinderholm%2Fjwt-util", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeneTinderholm%2Fjwt-util'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c4cea28aa465439f8dce98a565eb79a3c101c57 [INFO] checking GeneTinderholm/jwt-util against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGeneTinderholm%2Fjwt-util" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GeneTinderholm/jwt-util on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/GeneTinderholm/jwt-util [INFO] finished tweaking git repo https://github.com/GeneTinderholm/jwt-util [INFO] tweaked toml for git repo https://github.com/GeneTinderholm/jwt-util written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/GeneTinderholm/jwt-util already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.8 [INFO] [stderr] Downloaded serde_json v1.0.47 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8486eed7eec66c3d1e0763b2a07b85cdd8441eef448faaca744a75f860999dad [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8486eed7eec66c3d1e0763b2a07b85cdd8441eef448faaca744a75f860999dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8486eed7eec66c3d1e0763b2a07b85cdd8441eef448faaca744a75f860999dad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8486eed7eec66c3d1e0763b2a07b85cdd8441eef448faaca744a75f860999dad", kill_on_drop: false }` [INFO] [stdout] 8486eed7eec66c3d1e0763b2a07b85cdd8441eef448faaca744a75f860999dad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0a32f5b87dd92097fae6d44377ce7b816463fadfbc41b4885fe4c567128f7bd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f0a32f5b87dd92097fae6d44377ce7b816463fadfbc41b4885fe4c567128f7bd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking encoding_rs v0.8.22 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking ryu v1.0.2 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tokio v0.2.11 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking h2 v0.2.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.47 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking hyper v0.13.2 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.1 [INFO] [stderr] Checking jwt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 34 | let res = Client::new() [INFO] [stdout] | _______________^ [INFO] [stdout] 35 | | .post("url") [INFO] [stdout] 36 | | .body(&query_params) [INFO] [stdout] 37 | | .header("Content-Type", "www/url-form-encoded") [INFO] [stdout] ... | [INFO] [stdout] 40 | | .text() [INFO] [stdout] 41 | | .await?; [INFO] [stdout] | |______________^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 34 | let res = Client::new() [INFO] [stdout] | _______________^ [INFO] [stdout] 35 | | .post("url") [INFO] [stdout] 36 | | .body(&query_params) [INFO] [stdout] 37 | | .header("Content-Type", "www/url-form-encoded") [INFO] [stdout] 38 | | .send() [INFO] [stdout] 39 | | .await? [INFO] [stdout] | |______________^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::map::Iter` [INFO] [stdout] --> src/util.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::map::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `Value` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 34 | let res = Client::new() [INFO] [stdout] | _______________^ [INFO] [stdout] 35 | | .post("url") [INFO] [stdout] 36 | | .body(&query_params) [INFO] [stdout] 37 | | .header("Content-Type", "www/url-form-encoded") [INFO] [stdout] ... | [INFO] [stdout] 40 | | .text() [INFO] [stdout] 41 | | .await?; [INFO] [stdout] | |______________^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 34 | let res = Client::new() [INFO] [stdout] | _______________^ [INFO] [stdout] 35 | | .post("url") [INFO] [stdout] 36 | | .body(&query_params) [INFO] [stdout] 37 | | .header("Content-Type", "www/url-form-encoded") [INFO] [stdout] 38 | | .send() [INFO] [stdout] 39 | | .await? [INFO] [stdout] | |______________^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::map::Iter` [INFO] [stdout] --> src/util.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::map::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Result`, `Value` [INFO] [stdout] --> src/main.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Body: From<&std::string::String>` is not satisfied [INFO] [stdout] --> src/main.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .body(&query_params) [INFO] [stdout] | ^^^^ the trait `From<&std::string::String>` is not implemented for `Body` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] and 2 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let home_dir = match std::env::var("HOME") { [INFO] [stdout] 9 | | Ok(val) => val, [INFO] [stdout] 10 | | Err(e) => panic!(e) [INFO] [stdout] ... | [INFO] [stdout] 34 | | let res = Client::new() [INFO] [stdout] | |_______________^ [INFO] [stdout] 35 | || .post("url") [INFO] [stdout] 36 | || .body(&query_params) [INFO] [stdout] 37 | || .header("Content-Type", "www/url-form-encoded") [INFO] [stdout] 38 | || .send() [INFO] [stdout] 39 | || .await? [INFO] [stdout] | ||_______________^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 42 | | println!("{}", res); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let home_dir = match std::env::var("HOME") { [INFO] [stdout] 9 | | Ok(val) => val, [INFO] [stdout] 10 | | Err(e) => panic!(e) [INFO] [stdout] ... | [INFO] [stdout] 34 | | let res = Client::new() [INFO] [stdout] | |_______________^ [INFO] [stdout] 35 | || .post("url") [INFO] [stdout] 36 | || .body(&query_params) [INFO] [stdout] 37 | || .header("Content-Type", "www/url-form-encoded") [INFO] [stdout] ... || [INFO] [stdout] 40 | || .text() [INFO] [stdout] 41 | || .await?; [INFO] [stdout] | ||_______________^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 42 | | println!("{}", res); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Body: From<&std::string::String>` is not satisfied [INFO] [stdout] --> src/main.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .body(&query_params) [INFO] [stdout] | ^^^^ the trait `From<&std::string::String>` is not implemented for `Body` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] and 2 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `&std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let home_dir = match std::env::var("HOME") { [INFO] [stdout] 9 | | Ok(val) => val, [INFO] [stdout] 10 | | Err(e) => panic!(e) [INFO] [stdout] ... | [INFO] [stdout] 34 | | let res = Client::new() [INFO] [stdout] | |_______________^ [INFO] [stdout] 35 | || .post("url") [INFO] [stdout] 36 | || .body(&query_params) [INFO] [stdout] 37 | || .header("Content-Type", "www/url-form-encoded") [INFO] [stdout] 38 | || .send() [INFO] [stdout] 39 | || .await? [INFO] [stdout] | ||_______________^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 42 | | println!("{}", res); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`) [INFO] [stdout] --> src/main.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let home_dir = match std::env::var("HOME") { [INFO] [stdout] 9 | | Ok(val) => val, [INFO] [stdout] 10 | | Err(e) => panic!(e) [INFO] [stdout] ... | [INFO] [stdout] 34 | | let res = Client::new() [INFO] [stdout] | |_______________^ [INFO] [stdout] 35 | || .post("url") [INFO] [stdout] 36 | || .body(&query_params) [INFO] [stdout] 37 | || .header("Content-Type", "www/url-form-encoded") [INFO] [stdout] ... || [INFO] [stdout] 40 | || .text() [INFO] [stdout] 41 | || .await?; [INFO] [stdout] | ||_______________^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 42 | | println!("{}", res); [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `from_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jwt` [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] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f0a32f5b87dd92097fae6d44377ce7b816463fadfbc41b4885fe4c567128f7bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0a32f5b87dd92097fae6d44377ce7b816463fadfbc41b4885fe4c567128f7bd", kill_on_drop: false }` [INFO] [stdout] f0a32f5b87dd92097fae6d44377ce7b816463fadfbc41b4885fe4c567128f7bd