[INFO] cloning repository https://github.com/NadigerAmit/jwtGenerator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NadigerAmit/jwtGenerator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNadigerAmit%2FjwtGenerator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNadigerAmit%2FjwtGenerator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5b05ff02b760175949302989cab4c8af1e3a5e91
[INFO] checking NadigerAmit/jwtGenerator against master#03c609abb6638f9d7f49f34326d4137d07f5cd61 for pr-155945
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNadigerAmit%2FjwtGenerator" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/NadigerAmit/jwtGenerator
[INFO] finished tweaking git repo https://github.com/NadigerAmit/jwtGenerator
[INFO] tweaked toml for git repo https://github.com/NadigerAmit/jwtGenerator written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/NadigerAmit/jwtGenerator on toolchain 03c609abb6638f9d7f49f34326d4137d07f5cd61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/NadigerAmit/jwtGenerator already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded signature v2.1.0
[INFO] [stderr]   Downloaded spki v0.7.2
[INFO] [stderr]   Downloaded const-oid v0.9.5
[INFO] [stderr]   Downloaded rsa v0.9.2
[INFO] [stderr]   Downloaded serde_json v1.0.106
[INFO] [stderr]   Downloaded libm v0.2.7
[INFO] [stderr]   Downloaded chrono v0.4.30
[INFO] [stderr]   Downloaded jwt-compact v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 33ea23b9d9eb896ef1d20afbc48bf098a31670f225c617e98b270c136af5fc0a
[INFO] running `Command { std: "docker" "start" "-a" "33ea23b9d9eb896ef1d20afbc48bf098a31670f225c617e98b270c136af5fc0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "33ea23b9d9eb896ef1d20afbc48bf098a31670f225c617e98b270c136af5fc0a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33ea23b9d9eb896ef1d20afbc48bf098a31670f225c617e98b270c136af5fc0a", kill_on_drop: false }`
[INFO] [stdout] 33ea23b9d9eb896ef1d20afbc48bf098a31670f225c617e98b270c136af5fc0a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+03c609abb6638f9d7f49f34326d4137d07f5cd61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ae6e6367ce859534ad10a37f89c2bc69b0ce58ca01f9eba854b08ceece5be1f3
[INFO] running `Command { std: "docker" "start" "-a" "ae6e6367ce859534ad10a37f89c2bc69b0ce58ca01f9eba854b08ceece5be1f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]     Checking const-oid v0.9.5
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]     Checking base64ct v1.6.0
[INFO] [stderr]    Compiling libm v0.2.7
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]     Checking cpufeatures v0.2.9
[INFO] [stderr]    Compiling serde_json v1.0.106
[INFO] [stderr]     Checking ryu v1.0.15
[INFO] [stderr]     Checking itoa v1.0.9
[INFO] [stderr]     Checking iana-time-zone v0.1.57
[INFO] [stderr]     Checking pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.31
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking num-integer v0.1.45
[INFO] [stderr]     Checking chrono v0.4.30
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking signature v2.1.0
[INFO] [stderr]     Checking sha2 v0.10.7
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling zeroize_derive v1.4.2
[INFO] [stderr]    Compiling serde_derive v1.0.188
[INFO] [stderr]     Checking zeroize v1.6.0
[INFO] [stderr]     Checking der v0.6.1
[INFO] [stderr]     Checking der v0.7.8
[INFO] [stderr]     Checking num-bigint-dig v0.8.4
[INFO] [stderr]     Checking spki v0.6.0
[INFO] [stderr]     Checking pkcs8 v0.9.0
[INFO] [stderr]     Checking pkcs1 v0.4.1
[INFO] [stderr]     Checking rsa v0.8.2
[INFO] [stderr]     Checking spki v0.7.2
[INFO] [stderr]     Checking pkcs8 v0.10.2
[INFO] [stderr]     Checking pkcs1 v0.7.5
[INFO] [stderr]     Checking rsa v0.9.2
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking jwt-compact v0.7.0
[INFO] [stderr]     Checking jwt-generator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Verifier`
[INFO] [stdout]  --> src/main.rs:6:68
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rsa::signature::{Keypair, RandomizedSigner, SignatureEncoding, Verifier};
[INFO] [stdout]   |                                                                    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Verifier`
[INFO] [stdout]  --> src/main.rs:6:68
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rsa::signature::{Keypair, RandomizedSigner, SignatureEncoding, Verifier};
[INFO] [stdout]   |                                                                    ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Keypair`
[INFO] [stdout]  --> src/main.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rsa::signature::{Keypair, RandomizedSigner, SignatureEncoding, Verifier};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Keypair`
[INFO] [stdout]  --> src/main.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rsa::signature::{Keypair, RandomizedSigner, SignatureEncoding, Verifier};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `secret_key`
[INFO] [stdout]   --> src/main.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 |     secret_key: &str,
[INFO] [stdout]    |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `secret_key`
[INFO] [stdout]   --> src/main.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 |     secret_key: &str,
[INFO] [stdout]    |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_string`
[INFO] [stdout]   --> src/main.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let token_string = String::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `token_string`
[INFO] [stdout]   --> src/main.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let token_string = String::new();
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_token_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `algorithm`
[INFO] [stdout]    --> src/main.rs:138:26
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn create_hmac_token(algorithm: &str,
[INFO] [stdout]     |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_algorithm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `algorithm`
[INFO] [stdout]    --> src/main.rs:138:26
[INFO] [stdout]     |
[INFO] [stdout] 138 |     fn create_hmac_token(algorithm: &str,
[INFO] [stdout]     |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_algorithm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `verifying_key` is never read
[INFO] [stdout]    --> src/main.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     pub struct CustomKeys {
[INFO] [stdout]     |                ---------- field in this struct
[INFO] [stdout] 222 |         signing_key: Option<SigningKey<Sha256>>,
[INFO] [stdout] 223 |         verifying_key: Option<VerifyingKey<Sha256>>
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CustomKeys` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `base64_url_encode` is never used
[INFO] [stdout]    --> src/main.rs:244:8
[INFO] [stdout]     |
[INFO] [stdout] 244 |     fn base64_url_encode(data: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSA_2048_PKCS1_PRIV_PEM` is never used
[INFO] [stdout]    --> src/main.rs:258:7
[INFO] [stdout]     |
[INFO] [stdout] 258 | const RSA_2048_PKCS1_PRIV_PEM: &str = include_str!("rsa2048-pkcs1-priv.pem");
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSA_2048_PKCS8_PRIV_PEM` is never used
[INFO] [stdout]    --> src/main.rs:259:7
[INFO] [stdout]     |
[INFO] [stdout] 259 | const RSA_2048_PKCS8_PRIV_PEM: &str = include_str!("rsa2048-pkcs8-priv.pem");
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSA_PKCS1_PRIVATE_KEY_4096` is never used
[INFO] [stdout]    --> src/main.rs:292:7
[INFO] [stdout]     |
[INFO] [stdout] 292 | const RSA_PKCS1_PRIVATE_KEY_4096: &str = "-----BEGIN RSA PRIVATE KEY-----
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSA_PKCS8_PRIVATE_KEY_FROM_JWTIO_2048` is never used
[INFO] [stdout]    --> src/main.rs:373:7
[INFO] [stdout]     |
[INFO] [stdout] 373 | const RSA_PKCS8_PRIVATE_KEY_FROM_JWTIO_2048: &str = "-----BEGIN PRIVATE KEY-----
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSA_PKCS8_PUBLIC_KEY_FROM_JWTIO_2048` is never used
[INFO] [stdout]    --> src/main.rs:402:7
[INFO] [stdout]     |
[INFO] [stdout] 402 | const RSA_PKCS8_PUBLIC_KEY_FROM_JWTIO_2048: &str = "-----BEGIN RSA PUBLIC KEY-----
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `verifying_key` is never read
[INFO] [stdout]    --> src/main.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 221 |     pub struct CustomKeys {
[INFO] [stdout]     |                ---------- field in this struct
[INFO] [stdout] 222 |         signing_key: Option<SigningKey<Sha256>>,
[INFO] [stdout] 223 |         verifying_key: Option<VerifyingKey<Sha256>>
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CustomKeys` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `base64_url_encode` is never used
[INFO] [stdout]    --> src/main.rs:244:8
[INFO] [stdout]     |
[INFO] [stdout] 244 |     fn base64_url_encode(data: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSA_2048_PKCS1_PRIV_PEM` is never used
[INFO] [stdout]    --> src/main.rs:258:7
[INFO] [stdout]     |
[INFO] [stdout] 258 | const RSA_2048_PKCS1_PRIV_PEM: &str = include_str!("rsa2048-pkcs1-priv.pem");
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSA_2048_PKCS8_PRIV_PEM` is never used
[INFO] [stdout]    --> src/main.rs:259:7
[INFO] [stdout]     |
[INFO] [stdout] 259 | const RSA_2048_PKCS8_PRIV_PEM: &str = include_str!("rsa2048-pkcs8-priv.pem");
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSA_PKCS1_PRIVATE_KEY_4096` is never used
[INFO] [stdout]    --> src/main.rs:292:7
[INFO] [stdout]     |
[INFO] [stdout] 292 | const RSA_PKCS1_PRIVATE_KEY_4096: &str = "-----BEGIN RSA PRIVATE KEY-----
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSA_PKCS8_PRIVATE_KEY_FROM_JWTIO_2048` is never used
[INFO] [stdout]    --> src/main.rs:373:7
[INFO] [stdout]     |
[INFO] [stdout] 373 | const RSA_PKCS8_PRIVATE_KEY_FROM_JWTIO_2048: &str = "-----BEGIN PRIVATE KEY-----
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RSA_PKCS8_PUBLIC_KEY_FROM_JWTIO_2048` is never used
[INFO] [stdout]    --> src/main.rs:402:7
[INFO] [stdout]     |
[INFO] [stdout] 402 | const RSA_PKCS8_PUBLIC_KEY_FROM_JWTIO_2048: &str = "-----BEGIN RSA PUBLIC KEY-----
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.44s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "ae6e6367ce859534ad10a37f89c2bc69b0ce58ca01f9eba854b08ceece5be1f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae6e6367ce859534ad10a37f89c2bc69b0ce58ca01f9eba854b08ceece5be1f3", kill_on_drop: false }`
[INFO] [stdout] ae6e6367ce859534ad10a37f89c2bc69b0ce58ca01f9eba854b08ceece5be1f3
