[INFO] fetching crate ridb-jwt-client 0.1.0... [INFO] checking ridb-jwt-client-0.1.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate ridb-jwt-client 0.1.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate ridb-jwt-client 0.1.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ridb-jwt-client 0.1.0 [INFO] finished tweaking crates.io crate ridb-jwt-client 0.1.0 [INFO] tweaked toml for crates.io crate ridb-jwt-client 0.1.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f7cc654ea41501be9e74c4fb9bd8c928f099f3ef75fbd80ce648f1a130bc6f5 [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" "1f7cc654ea41501be9e74c4fb9bd8c928f099f3ef75fbd80ce648f1a130bc6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f7cc654ea41501be9e74c4fb9bd8c928f099f3ef75fbd80ce648f1a130bc6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f7cc654ea41501be9e74c4fb9bd8c928f099f3ef75fbd80ce648f1a130bc6f5", kill_on_drop: false }` [INFO] [stdout] 1f7cc654ea41501be9e74c4fb9bd8c928f099f3ef75fbd80ce648f1a130bc6f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bcb1c22575a9424acb225cfc619c9ebd16928303ab48dbb8672d1b1878abedb [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" "9bcb1c22575a9424acb225cfc619c9ebd16928303ab48dbb8672d1b1878abedb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking futures-channel v0.3.16 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_yaml v0.8.17 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking ridb-jwt-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/cache.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | json!({ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] serde_json::json [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/cache.rs:233:35 [INFO] [stdout] | [INFO] [stdout] 233 | match cache.get_idb_token(&key).await { [INFO] [stdout] | ^^^^ expected `str`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&(_, _, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/jwt_client.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | let token = RidbJwtClient::generate_idb_token("dev").await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/jwt_client.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | pub async fn generate_idb_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | &self, [INFO] [stdout] | ----- [INFO] [stdout] 134 | env: &str, [INFO] [stdout] | --------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `jwt_pubkey_url` found for struct `RidbJwtClient` in the current scope [INFO] [stdout] --> src/jwt_client.rs:220:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct RidbJwtClient { [INFO] [stdout] | ------------------------ function or associated item `jwt_pubkey_url` not found for this [INFO] [stdout] ... [INFO] [stdout] 220 | let url = RidbJwtClient::jwt_pubkey_url(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `RidbJwtClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ridb-jwt-client` due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "9bcb1c22575a9424acb225cfc619c9ebd16928303ab48dbb8672d1b1878abedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bcb1c22575a9424acb225cfc619c9ebd16928303ab48dbb8672d1b1878abedb", kill_on_drop: false }` [INFO] [stdout] 9bcb1c22575a9424acb225cfc619c9ebd16928303ab48dbb8672d1b1878abedb