[INFO] fetching crate jwt-next 0.17.0...
[INFO] testing jwt-next-0.17.0 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate jwt-next 0.17.0 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate jwt-next 0.17.0
[INFO] finished tweaking crates.io crate jwt-next 0.17.0
[INFO] tweaked toml for crates.io crate jwt-next 0.17.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate jwt-next 0.17.0 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate jwt-next 0.17.0 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getrandom v0.2.12
[INFO] [stderr]   Downloaded signature v2.2.0
[INFO] [stderr]   Downloaded rfc6979 v0.4.0
[INFO] [stderr]   Downloaded spki v0.7.3
[INFO] [stderr]   Downloaded num-integer v0.1.45
[INFO] [stderr]   Downloaded pem-rfc7468 v0.7.0
[INFO] [stderr]   Downloaded pkg-config v0.3.28
[INFO] [stderr]   Downloaded ecdsa v0.16.9
[INFO] [stderr]   Downloaded smallvec v1.12.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.98
[INFO] [stderr]   Downloaded rsa v0.9.6
[INFO] [stderr]   Downloaded serde_derive v1.0.195
[INFO] [stderr]   Downloaded serde v1.0.195
[INFO] [stderr]   Downloaded serde_json v1.0.111
[INFO] [stderr]   Downloaded ryu v1.0.16
[INFO] [stderr]   Downloaded proc-macro2 v1.0.76
[INFO] [stderr]   Downloaded pem v3.0.3
[INFO] [stderr]   Downloaded num-iter v0.1.43
[INFO] [stderr]   Downloaded pkcs1 v0.7.5
[INFO] [stderr]   Downloaded syn v2.0.48
[INFO] [stderr]   Downloaded openssl v0.10.62
[INFO] [stderr]   Downloaded pkcs8 v0.10.2
[INFO] [stderr]   Downloaded itoa v1.0.10
[INFO] [stderr]   Downloaded libc v0.2.152
[INFO] [stderr]   Downloaded openssl-src v300.2.1+3.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc1eccd72ec6e73e611a95fc8430ac742dab4f6ecbdba94caac2dbc3f61ea33c
[INFO] running `Command { std: "docker" "start" "-a" "fc1eccd72ec6e73e611a95fc8430ac742dab4f6ecbdba94caac2dbc3f61ea33c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc1eccd72ec6e73e611a95fc8430ac742dab4f6ecbdba94caac2dbc3f61ea33c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc1eccd72ec6e73e611a95fc8430ac742dab4f6ecbdba94caac2dbc3f61ea33c", kill_on_drop: false }`
[INFO] [stdout] fc1eccd72ec6e73e611a95fc8430ac742dab4f6ecbdba94caac2dbc3f61ea33c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] afb957a1309d0eba6c67a20cc7c529b90f3fd45e8b6fd26f9c452e4d7a0c20ab
[INFO] running `Command { std: "docker" "start" "-a" "afb957a1309d0eba6c67a20cc7c529b90f3fd45e8b6fd26f9c452e4d7a0c20ab", kill_on_drop: false }`
[INFO] [stderr]    Compiling zeroize v1.7.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling const-oid v0.9.6
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling base16ct v0.2.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling serde v1.0.195
[INFO] [stderr]    Compiling smallvec v1.12.0
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling pem v3.0.3
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling der v0.7.8
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ff v0.13.0
[INFO] [stderr]    Compiling crypto-bigint v0.5.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling group v0.13.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling rfc6979 v0.4.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling sec1 v0.7.3
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling elliptic-curve v0.13.8
[INFO] [stderr]    Compiling rsa v0.9.6
[INFO] [stderr]    Compiling serde_derive v1.0.195
[INFO] [stderr]    Compiling ecdsa v0.16.9
[INFO] [stderr]    Compiling primeorder v0.13.6
[INFO] [stderr]    Compiling p256 v0.13.2
[INFO] [stderr]    Compiling p384 v0.13.0
[INFO] [stderr]    Compiling jwt-next v0.17.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:162:18
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn to_base64(&self) -> Result<Cow<str>, Error>;
[INFO] [stdout]     |                  ^^^^^            -------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn to_base64(&self) -> Result<Cow<'_, str>, Error>;
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:166:18
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn to_base64(&self) -> Result<Cow<str>, Error> {
[INFO] [stdout]     |                  ^^^^^            -------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn to_base64(&self) -> Result<Cow<'_, str>, Error> {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/token/verified.rs:116:40
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn parse_unverified(token_str: &str) -> Result<Token<H, C, Unverified>, Error> {
[INFO] [stdout]     |                                        ^^^^                        ---------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn parse_unverified(token_str: &str) -> Result<Token<H, C, Unverified<'_>>, Error> {
[INFO] [stdout]     |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.87s
[INFO] running `Command { std: "docker" "inspect" "afb957a1309d0eba6c67a20cc7c529b90f3fd45e8b6fd26f9c452e4d7a0c20ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afb957a1309d0eba6c67a20cc7c529b90f3fd45e8b6fd26f9c452e4d7a0c20ab", kill_on_drop: false }`
[INFO] [stdout] afb957a1309d0eba6c67a20cc7c529b90f3fd45e8b6fd26f9c452e4d7a0c20ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 472599bf70493b7c7e355390d6772b75ac525638e955d5b93249741319f23e6a
[INFO] running `Command { std: "docker" "start" "-a" "472599bf70493b7c7e355390d6772b75ac525638e955d5b93249741319f23e6a", kill_on_drop: false }`
[INFO] [stderr]    Compiling doc-comment v0.3.3
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:162:18
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn to_base64(&self) -> Result<Cow<str>, Error>;
[INFO] [stdout]     |                  ^^^^^            -------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn to_base64(&self) -> Result<Cow<'_, str>, Error>;
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:166:18
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn to_base64(&self) -> Result<Cow<str>, Error> {
[INFO] [stdout]     |                  ^^^^^            -------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn to_base64(&self) -> Result<Cow<'_, str>, Error> {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/token/verified.rs:116:40
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn parse_unverified(token_str: &str) -> Result<Token<H, C, Unverified>, Error> {
[INFO] [stdout]     |                                        ^^^^                        ---------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn parse_unverified(token_str: &str) -> Result<Token<H, C, Unverified<'_>>, Error> {
[INFO] [stdout]     |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling jwt-next v0.17.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:162:18
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn to_base64(&self) -> Result<Cow<str>, Error>;
[INFO] [stdout]     |                  ^^^^^            -------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 162 |     fn to_base64(&self) -> Result<Cow<'_, str>, Error>;
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/lib.rs:166:18
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn to_base64(&self) -> Result<Cow<str>, Error> {
[INFO] [stdout]     |                  ^^^^^            -------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn to_base64(&self) -> Result<Cow<'_, str>, Error> {
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]    --> src/token/verified.rs:116:40
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn parse_unverified(token_str: &str) -> Result<Token<H, C, Unverified>, Error> {
[INFO] [stdout]     |                                        ^^^^                        ---------- the lifetime gets resolved as `'_`
[INFO] [stdout]     |                                        |
[INFO] [stdout]     |                                        this lifetime flows to the output
[INFO] [stdout]     |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn parse_unverified(token_str: &str) -> Result<Token<H, C, Unverified<'_>>, Error> {
[INFO] [stdout]     |                                                                              ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.12s
[INFO] running `Command { std: "docker" "inspect" "472599bf70493b7c7e355390d6772b75ac525638e955d5b93249741319f23e6a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "472599bf70493b7c7e355390d6772b75ac525638e955d5b93249741319f23e6a", kill_on_drop: false }`
[INFO] [stdout] 472599bf70493b7c7e355390d6772b75ac525638e955d5b93249741319f23e6a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 87d336e3aee64d16eeba38f31d931e82e63e39161aeccbbd57cf4c7f63fa3828
[INFO] running `Command { std: "docker" "start" "-a" "87d336e3aee64d16eeba38f31d931e82e63e39161aeccbbd57cf4c7f63fa3828", kill_on_drop: false }`
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/lib.rs:162:18
[INFO] [stderr]     |
[INFO] [stderr] 162 |     fn to_base64(&self) -> Result<Cow<str>, Error>;
[INFO] [stderr]     |                  ^^^^^            -------- the lifetime gets resolved as `'_`
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 162 |     fn to_base64(&self) -> Result<Cow<'_, str>, Error>;
[INFO] [stderr]     |                                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/lib.rs:166:18
[INFO] [stderr]     |
[INFO] [stderr] 166 |     fn to_base64(&self) -> Result<Cow<str>, Error> {
[INFO] [stderr]     |                  ^^^^^            -------- the lifetime gets resolved as `'_`
[INFO] [stderr]     |                  |
[INFO] [stderr]     |                  this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 166 |     fn to_base64(&self) -> Result<Cow<'_, str>, Error> {
[INFO] [stderr]     |                                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]    --> src/token/verified.rs:116:40
[INFO] [stderr]     |
[INFO] [stderr] 116 |     pub fn parse_unverified(token_str: &str) -> Result<Token<H, C, Unverified>, Error> {
[INFO] [stderr]     |                                        ^^^^                        ---------- the lifetime gets resolved as `'_`
[INFO] [stderr]     |                                        |
[INFO] [stderr]     |                                        this lifetime flows to the output
[INFO] [stderr]     |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]     |
[INFO] [stderr] 116 |     pub fn parse_unverified(token_str: &str) -> Result<Token<H, C, Unverified<'_>>, Error> {
[INFO] [stderr]     |                                                                              ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `jwt-next` (lib) generated 3 warnings
[INFO] [stderr] warning: `jwt-next` (lib test) generated 3 warnings (3 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jwt_next-19077504759dbd11)
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test algorithm::rust_crypto::asymmetric::tests::es256_sign ... ok
[INFO] [stdout] test algorithm::rust_crypto::asymmetric::tests::rs256_sign ... ok
[INFO] [stdout] test algorithm::rust_crypto::asymmetric::tests::genric_public_key_parse ... ok
[INFO] [stdout] test algorithm::rust_crypto::asymmetric::tests::es256_verify ... ok
[INFO] [stdout] test algorithm::rust_crypto::asymmetric::tests::genric_private_key_parse ... ok
[INFO] [stdout] test algorithm::rust_crypto::tests::sign ... ok
[INFO] [stdout] test claims::tests::private_claims ... ok
[INFO] [stdout] test claims::tests::registered_claims ... ok
[INFO] [stdout] test algorithm::rust_crypto::tests::verify ... ok
[INFO] [stdout] test algorithm::rust_crypto::asymmetric::tests::rs256_verify ... ok
[INFO] [stdout] test claims::tests::roundtrip ... ok
[INFO] [stdout] test header::tests::from_base64 ... ok
[INFO] [stdout] test header::tests::roundtrip ... ok
[INFO] [stdout] test tests::raw_data ... ok
[INFO] [stdout] test tests::roundtrip ... ok
[INFO] [stdout] test token::signed::tests::sign_claims ... ok
[INFO] [stdout] test token::verified::tests::component_errors ... ok
[INFO] [stdout] test token::signed::tests::sign_unsigned_with_store ... ok
[INFO] [stdout] test token::verified::tests::verify_claims_with_missing_key ... ok
[INFO] [stdout] test token::verified::tests::verify_claims_with_hash_map ... ok
[INFO] [stdout] test token::verified::tests::verify_claims_with_b_tree_map ... ok
[INFO] [stdout] test header::tests::precomputed_headers ... ok
[INFO] [stderr]    Doc-tests jwt_next
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test src/lib.rs - (line 27) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 158) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 181) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 72) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 208) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 49) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 114) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 134) ... FAILED
[INFO] [stdout] test src/algorithm/mod.rs - algorithm (line 6) ... ok
[INFO] [stdout] test src/lib.rs - (line 7) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 27) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:29:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jwt::VerifyWithKey;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:33:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use jwt::Error;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `verify_with_key` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/lib.rs:37:50
[INFO] [stdout]    |
[INFO] [stdout] 12 | let claims: BTreeMap<String, String> = token_str.verify_with_key(&key)?;
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `VerifyWithKey` which provides `verify_with_key` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use jwt_next::VerifyWithKey;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `sign_with_key` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 12 - let claims: BTreeMap<String, String> = token_str.verify_with_key(&key)?;
[INFO] [stdout] 12 + let claims: BTreeMap<String, String> = token_str.sign_with_key(&key)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 158) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:160:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jwt::{AlgorithmType, Header, SignWithKey, Token};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 181) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:183:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jwt::{AlgorithmType, Header, Token, VerifyWithKey};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 72) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:74:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jwt::{AlgorithmType, Header, Token, VerifyWithKey};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:78:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use jwt::Error;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `verify_with_key` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/lib.rs:82:67
[INFO] [stdout]    |
[INFO] [stdout] 12 | let token: Token<Header, BTreeMap<String, String>, _> = token_str.verify_with_key(&key)?;
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `VerifyWithKey` which provides `verify_with_key` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use jwt_next::VerifyWithKey;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `sign_with_key` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 12 - let token: Token<Header, BTreeMap<String, String>, _> = token_str.verify_with_key(&key)?;
[INFO] [stdout] 12 + let token: Token<Header, BTreeMap<String, String>, _> = token_str.sign_with_key(&key)?;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 208) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:210:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jwt::{Header, SignWithStore, Token, VerifyWithStore};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `sign_with_store` found for tuple `(&'static str, BTreeMap<&str, &str>)` in the current scope
[INFO] [stdout]   --> src/lib.rs:221:40
[INFO] [stdout]    |
[INFO] [stdout] 15 | let token_str = ("second_key", claims).sign_with_store(&store).unwrap();
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/token/signed.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn sign_with_store<S, A>(self, store: &S) -> Result<T, Error>
[INFO] [stdout]    |        --------------- the method is available for `(&'static str, BTreeMap<&str, &str>)` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SignWithStore` which provides `sign_with_store` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use jwt_next::SignWithStore;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `sign_with_key` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 15 - let token_str = ("second_key", claims).sign_with_store(&store).unwrap();
[INFO] [stdout] 15 + let token_str = ("second_key", claims).sign_with_key(&store).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 49) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:51:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jwt::{AlgorithmType, Header, SignWithKey, Token};
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:55:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use jwt::Error;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 114) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:116:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jwt::SignWithKey;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `sign_with_key` found for struct `BTreeMap` in the current scope
[INFO] [stdout]   --> src/lib.rs:124:24
[INFO] [stdout]    |
[INFO] [stdout] 12 | let token_str = claims.sign_with_key(&key).unwrap();
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ method not found in `BTreeMap<&str, &str>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/token/signed.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn sign_with_key(self, key: &impl SigningAlgorithm) -> Result<T, Error>;
[INFO] [stdout]    |        ------------- the method is available for `BTreeMap<&str, &str>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SignWithKey` which provides `sign_with_key` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use jwt_next::SignWithKey;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 134) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:136:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jwt::VerifyWithKey;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `verify_with_key` found for reference `&str` in the current scope
[INFO] [stdout]   --> src/lib.rs:143:50
[INFO] [stdout]    |
[INFO] [stdout] 11 | let claims: BTreeMap<String, String> = token_str.verify_with_key(&key).unwrap();
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `VerifyWithKey` which provides `verify_with_key` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use jwt_next::VerifyWithKey;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `sign_with_key` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 11 - let claims: BTreeMap<String, String> = token_str.verify_with_key(&key).unwrap();
[INFO] [stdout] 11 + let claims: BTreeMap<String, String> = token_str.sign_with_key(&key).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 7) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use jwt::SignWithKey;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `jwt`
[INFO] [stdout]  --> src/lib.rs:13:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use jwt::Error;
[INFO] [stdout]   |     ^^^ use of unresolved module or unlinked crate `jwt`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `jwt`, use `cargo add jwt` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] error[E0599]: no method named `sign_with_key` found for struct `BTreeMap` in the current scope
[INFO] [stdout]   --> src/lib.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | let token_str = claims.sign_with_key(&key)?;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ method not found in `BTreeMap<&str, &str>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/workdir/src/token/signed.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 |     fn sign_with_key(self, key: &impl SigningAlgorithm) -> Result<T, Error>;
[INFO] [stdout]    |        ------------- the method is available for `BTreeMap<&str, &str>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SignWithKey` which provides `sign_with_key` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 2  + use jwt_next::SignWithKey;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 114)
[INFO] [stdout]     src/lib.rs - (line 134)
[INFO] [stdout]     src/lib.rs - (line 158)
[INFO] [stdout]     src/lib.rs - (line 181)
[INFO] [stdout]     src/lib.rs - (line 208)
[INFO] [stdout]     src/lib.rs - (line 27)
[INFO] [stdout]     src/lib.rs - (line 49)
[INFO] [stdout]     src/lib.rs - (line 7)
[INFO] [stdout]     src/lib.rs - (line 72)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.53s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "87d336e3aee64d16eeba38f31d931e82e63e39161aeccbbd57cf4c7f63fa3828", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87d336e3aee64d16eeba38f31d931e82e63e39161aeccbbd57cf4c7f63fa3828", kill_on_drop: false }`
[INFO] [stdout] 87d336e3aee64d16eeba38f31d931e82e63e39161aeccbbd57cf4c7f63fa3828
