[INFO] fetching crate ridb-jwt-client 0.1.0... [INFO] testing ridb-jwt-client-0.1.0 against 1.49.0 for beta-1.50-1 [INFO] extracting crate ridb-jwt-client 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate ridb-jwt-client 0.1.0 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d99203c79fb39a65aa3bd127e914de3036347608f45314a8636b1cf4a41a6742 [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" "d99203c79fb39a65aa3bd127e914de3036347608f45314a8636b1cf4a41a6742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d99203c79fb39a65aa3bd127e914de3036347608f45314a8636b1cf4a41a6742", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99203c79fb39a65aa3bd127e914de3036347608f45314a8636b1cf4a41a6742", kill_on_drop: false }` [INFO] [stdout] d99203c79fb39a65aa3bd127e914de3036347608f45314a8636b1cf4a41a6742 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a30d10f51c4e8b8f4d140b5cae9a7902acc30d94c1932e887f3f37f7872838e6 [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" "a30d10f51c4e8b8f4d140b5cae9a7902acc30d94c1932e887f3f37f7872838e6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling pem v0.8.2 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling simple_asn1 v0.4.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_yaml v0.8.14 [INFO] [stderr] Compiling jsonwebtoken v7.2.0 [INFO] [stderr] Compiling hyper v0.13.9 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.10 [INFO] [stderr] Compiling ridb-jwt-client v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 51s [INFO] running `Command { std: "docker" "inspect" "a30d10f51c4e8b8f4d140b5cae9a7902acc30d94c1932e887f3f37f7872838e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a30d10f51c4e8b8f4d140b5cae9a7902acc30d94c1932e887f3f37f7872838e6", kill_on_drop: false }` [INFO] [stdout] a30d10f51c4e8b8f4d140b5cae9a7902acc30d94c1932e887f3f37f7872838e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c43d3f9830a1fec258def93b803639c2718f08ba9e7b67653f8bb4f33a3091c [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" "4c43d3f9830a1fec258def93b803639c2718f08ba9e7b67653f8bb4f33a3091c", kill_on_drop: false }` [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "4c43d3f9830a1fec258def93b803639c2718f08ba9e7b67653f8bb4f33a3091c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c43d3f9830a1fec258def93b803639c2718f08ba9e7b67653f8bb4f33a3091c", kill_on_drop: false }` [INFO] [stdout] 4c43d3f9830a1fec258def93b803639c2718f08ba9e7b67653f8bb4f33a3091c