[INFO] fetching crate jwx 0.1.0... [INFO] checking jwx-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate jwx 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate jwx 0.1.0 [INFO] finished tweaking crates.io crate jwx 0.1.0 [INFO] tweaked toml for crates.io crate jwx 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jwx 0.1.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.20.0 (available: v0.22.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49dec2bcf1f5aef1cebf5112ed5a254b447c3d144dc03598d11f4286ac8b216e [INFO] running `Command { std: "docker" "start" "-a" "49dec2bcf1f5aef1cebf5112ed5a254b447c3d144dc03598d11f4286ac8b216e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49dec2bcf1f5aef1cebf5112ed5a254b447c3d144dc03598d11f4286ac8b216e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49dec2bcf1f5aef1cebf5112ed5a254b447c3d144dc03598d11f4286ac8b216e", kill_on_drop: false }` [INFO] [stdout] 49dec2bcf1f5aef1cebf5112ed5a254b447c3d144dc03598d11f4286ac8b216e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43968bc82e7a70c6d7d32680f0db86564022e2a9f78f341c25ad1d112195b0b3 [INFO] running `Command { std: "docker" "start" "-a" "43968bc82e7a70c6d7d32680f0db86564022e2a9f78f341c25ad1d112195b0b3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking jwx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/jwk.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 44 | header: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 45 | payload: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/jwk.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 44 | header: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 45 | payload: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/jwk.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn decode(&self, token: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/jwk.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn verify(&self, token: &Jwt) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/error.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Type` is never used [INFO] [stdout] --> src/error.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Jwk` is never constructed [INFO] [stdout] --> src/jwk.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Jwk { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Jwks` is never constructed [INFO] [stdout] --> src/jwk.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Jwks { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JwksResponse` is never constructed [INFO] [stdout] --> src/jwk.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct JwksResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `decode`, and `verify` are never used [INFO] [stdout] --> src/jwk.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Jwks { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 29 | pub fn new(url: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn decode(&self, token: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn verify(&self, token: &Jwt) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Header` is never constructed [INFO] [stdout] --> src/jwt.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Header { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Jwt` is never constructed [INFO] [stdout] --> src/jwt.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Jwt { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `decode` is never used [INFO] [stdout] --> src/jwt.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Jwt { [INFO] [stdout] | -------------------------------- associated function in this implementation [INFO] [stdout] 24 | fn decode(token: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_segment` is never used [INFO] [stdout] --> src/jwt.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn decode_segment(segment: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/jwk.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn decode(&self, token: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/jwk.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn verify(&self, token: &Jwt) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/error.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 24 | Expired, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | /// Not Before (nbf) is set and it's too early to use the token. [INFO] [stdout] 26 | Early, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | /// Problem with certificate. [INFO] [stdout] 28 | Certificate, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | /// Problem with key. [INFO] [stdout] 30 | Key, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | /// Could not download key set. [INFO] [stdout] 32 | Connection, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | /// Problem with JWT header. [INFO] [stdout] 34 | Header, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | /// Problem with JWT payload. [INFO] [stdout] 36 | Payload, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | /// Problem with JWT signature. [INFO] [stdout] 38 | Signature, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | /// Internal problem (Signals a serious bug or fatal error). [INFO] [stdout] 40 | Internal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Jwk` is never constructed [INFO] [stdout] --> src/jwk.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Jwk { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Jwks` is never constructed [INFO] [stdout] --> src/jwk.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Jwks { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JwksResponse` is never constructed [INFO] [stdout] --> src/jwk.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct JwksResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `decode`, and `verify` are never used [INFO] [stdout] --> src/jwk.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Jwks { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 29 | pub fn new(url: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn decode(&self, token: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn verify(&self, token: &Jwt) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.84s [INFO] running `Command { std: "docker" "inspect" "43968bc82e7a70c6d7d32680f0db86564022e2a9f78f341c25ad1d112195b0b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43968bc82e7a70c6d7d32680f0db86564022e2a9f78f341c25ad1d112195b0b3", kill_on_drop: false }` [INFO] [stdout] 43968bc82e7a70c6d7d32680f0db86564022e2a9f78f341c25ad1d112195b0b3