[INFO] fetching crate jwt-compact-preview 0.4.0...
[INFO] testing jwt-compact-preview-0.4.0 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate jwt-compact-preview 0.4.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate jwt-compact-preview 0.4.0
[INFO] finished tweaking crates.io crate jwt-compact-preview 0.4.0
[INFO] tweaked toml for crates.io crate jwt-compact-preview 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate jwt-compact-preview 0.4.0 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 174 packages to latest compatible versions
[INFO] [stderr]       Adding base64 v0.12.3 (available: v0.22.1)
[INFO] [stderr]       Adding cc v1.0.41 (available: v1.2.51)
[INFO] [stderr]       Adding ed25519-compact v0.1.11 (available: v2.2.0)
[INFO] [stderr]       Adding ed25519-dalek v1.0.1 (available: v2.2.0)
[INFO] [stderr]       Adding hex-buffer-serde v0.2.2 (available: v0.4.0)
[INFO] [stderr]       Adding hmac v0.8.1 (available: v0.12.1)
[INFO] [stderr]       Adding iana-time-zone v0.1.50 (available: v0.1.64)
[INFO] [stderr]       Adding rand v0.7.3 (available: v0.9.2)
[INFO] [stderr]       Adding rand_core v0.5.1 (available: v0.9.3)
[INFO] [stderr]       Adding rsa v0.3.0 (available: v0.9.10)
[INFO] [stderr]       Adding secp256k1 v0.17.2 (available: v0.31.1)
[INFO] [stderr]       Adding sha2 v0.9.9 (available: v0.10.9)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.17)
[INFO] [stderr]       Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.11.1+wasi-snapshot-preview1)
[INFO] [stderr]       Adding zeroize v1.3.0 (available: v1.8.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9ddfd162fc1b76b6c8bda0aae844e5f5fdeef2be6b6a3a578959d91bfa8bd9fb
[INFO] running `Command { std: "docker" "start" "-a" "9ddfd162fc1b76b6c8bda0aae844e5f5fdeef2be6b6a3a578959d91bfa8bd9fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9ddfd162fc1b76b6c8bda0aae844e5f5fdeef2be6b6a3a578959d91bfa8bd9fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9ddfd162fc1b76b6c8bda0aae844e5f5fdeef2be6b6a3a578959d91bfa8bd9fb", kill_on_drop: false }`
[INFO] [stdout] 9ddfd162fc1b76b6c8bda0aae844e5f5fdeef2be6b6a3a578959d91bfa8bd9fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bc9696396a30c31d3dfe51f53191b289fb22769f955294f367d94e6bdb700acf
[INFO] running `Command { std: "docker" "start" "-a" "bc9696396a30c31d3dfe51f53191b289fb22769f955294f367d94e6bdb700acf", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-bigint-dig v0.6.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.50
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling pem v0.8.3
[INFO] [stderr]    Compiling ed25519-compact v0.1.11
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling serde_cbor v0.11.2
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling crypto-mac v0.8.0
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling sha2 v0.9.9
[INFO] [stderr]    Compiling hmac v0.8.1
[INFO] [stderr]    Compiling zeroize v1.3.0
[INFO] [stderr]    Compiling simple_asn1 v0.4.1
[INFO] [stderr]    Compiling rsa v0.3.0
[INFO] [stderr]    Compiling jwt-compact-preview v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/alg/hmacs.rs:2:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hmac::crypto_mac::generic_array::{typenum::Unsigned, GenericArray};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/alg/hmacs.rs:92:36
[INFO] [stdout]    |
[INFO] [stdout] 92 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]    |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:138:36
[INFO] [stdout]     |
[INFO] [stdout] 138 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:184:36
[INFO] [stdout]     |
[INFO] [stdout] 184 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/alg/hmacs.rs:92:50
[INFO] [stdout]    |
[INFO] [stdout] 92 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:138:50
[INFO] [stdout]     |
[INFO] [stdout] 138 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:184:50
[INFO] [stdout]     |
[INFO] [stdout] 184 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead
[INFO] [stdout]    --> src/claims.rs:176:20
[INFO] [stdout]     |
[INFO] [stdout] 176 |             Ok(Utc.timestamp(value, 0))
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead
[INFO] [stdout]    --> src/claims.rs:184:20
[INFO] [stdout]     |
[INFO] [stdout] 184 |             Ok(Utc.timestamp(value, 0))
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/eddsa_compact.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/eddsa_compact.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                     ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/eddsa_compact.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                     ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/rsa.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.69s
[INFO] running `Command { std: "docker" "inspect" "bc9696396a30c31d3dfe51f53191b289fb22769f955294f367d94e6bdb700acf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc9696396a30c31d3dfe51f53191b289fb22769f955294f367d94e6bdb700acf", kill_on_drop: false }`
[INFO] [stdout] bc9696396a30c31d3dfe51f53191b289fb22769f955294f367d94e6bdb700acf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a768e32ca468503e2772661af1b1e6bc7c24ec681dabaef4aff3dc4f16640983
[INFO] running `Command { std: "docker" "start" "-a" "a768e32ca468503e2772661af1b1e6bc7c24ec681dabaef4aff3dc4f16640983", kill_on_drop: false }`
[INFO] [stderr]    Compiling hex-buffer-serde v0.2.2
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/alg/hmacs.rs:2:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hmac::crypto_mac::generic_array::{typenum::Unsigned, GenericArray};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/alg/hmacs.rs:92:36
[INFO] [stdout]    |
[INFO] [stdout] 92 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]    |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:138:36
[INFO] [stdout]     |
[INFO] [stdout] 138 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:184:36
[INFO] [stdout]     |
[INFO] [stdout] 184 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/alg/hmacs.rs:92:50
[INFO] [stdout]    |
[INFO] [stdout] 92 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:138:50
[INFO] [stdout]     |
[INFO] [stdout] 138 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:184:50
[INFO] [stdout]     |
[INFO] [stdout] 184 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead
[INFO] [stdout]    --> src/claims.rs:176:20
[INFO] [stdout]     |
[INFO] [stdout] 176 |             Ok(Utc.timestamp(value, 0))
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead
[INFO] [stdout]    --> src/claims.rs:184:20
[INFO] [stdout]     |
[INFO] [stdout] 184 |             Ok(Utc.timestamp(value, 0))
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/eddsa_compact.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/eddsa_compact.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                     ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/eddsa_compact.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                     ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/rsa.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling jwt-compact-preview v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]  --> src/alg/hmacs.rs:2:58
[INFO] [stdout]   |
[INFO] [stdout] 2 | use hmac::crypto_mac::generic_array::{typenum::Unsigned, GenericArray};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/alg/hmacs.rs:92:36
[INFO] [stdout]    |
[INFO] [stdout] 92 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]    |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:138:36
[INFO] [stdout]     |
[INFO] [stdout] 138 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:184:36
[INFO] [stdout]     |
[INFO] [stdout] 184 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]   --> src/alg/hmacs.rs:92:50
[INFO] [stdout]    |
[INFO] [stdout] 92 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:138:50
[INFO] [stdout]     |
[INFO] [stdout] 138 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/alg/hmacs.rs:184:50
[INFO] [stdout]     |
[INFO] [stdout] 184 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead
[INFO] [stdout]    --> src/claims.rs:176:20
[INFO] [stdout]     |
[INFO] [stdout] 176 |             Ok(Utc.timestamp(value, 0))
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead
[INFO] [stdout]    --> src/claims.rs:184:20
[INFO] [stdout]     |
[INFO] [stdout] 184 |             Ok(Utc.timestamp(value, 0))
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/eddsa_compact.rs:18:17
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/eddsa_compact.rs:40:21
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                     ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/eddsa_compact.rs:75:21
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                     ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 75 |     pub fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/alg/rsa.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.06s
[INFO] running `Command { std: "docker" "inspect" "a768e32ca468503e2772661af1b1e6bc7c24ec681dabaef4aff3dc4f16640983", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a768e32ca468503e2772661af1b1e6bc7c24ec681dabaef4aff3dc4f16640983", kill_on_drop: false }`
[INFO] [stdout] a768e32ca468503e2772661af1b1e6bc7c24ec681dabaef4aff3dc4f16640983
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a885dda17dd9a3d4211b847f73094e4769822947ffed56c14e8f3d268facb3f3
[INFO] running `Command { std: "docker" "start" "-a" "a885dda17dd9a3d4211b847f73094e4769822947ffed56c14e8f3d268facb3f3", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stderr]  --> src/alg/hmacs.rs:2:58
[INFO] [stderr]   |
[INFO] [stderr] 2 | use hmac::crypto_mac::generic_array::{typenum::Unsigned, GenericArray};
[INFO] [stderr]   |                                                          ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stderr]   --> src/alg/hmacs.rs:92:36
[INFO] [stderr]    |
[INFO] [stderr] 92 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stderr]    |                                    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stderr]    --> src/alg/hmacs.rs:138:36
[INFO] [stderr]     |
[INFO] [stderr] 138 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stderr]     |                                    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated struct `hmac::crypto_mac::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stderr]    --> src/alg/hmacs.rs:184:36
[INFO] [stderr]     |
[INFO] [stderr] 184 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stderr]     |                                    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stderr]   --> src/alg/hmacs.rs:92:50
[INFO] [stderr]    |
[INFO] [stderr] 92 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stderr]    --> src/alg/hmacs.rs:138:50
[INFO] [stderr]     |
[INFO] [stderr] 138 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `hmac::crypto_mac::generic_array::GenericArray::<T, N>::clone_from_slice`: please upgrade to generic-array 1.x
[INFO] [stderr]    --> src/alg/hmacs.rs:184:50
[INFO] [stderr]     |
[INFO] [stderr] 184 |         Ok(crypto_mac::Output::new(GenericArray::clone_from_slice(
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead
[INFO] [stderr]    --> src/claims.rs:176:20
[INFO] [stderr]     |
[INFO] [stderr] 176 |             Ok(Utc.timestamp(value, 0))
[INFO] [stderr]     |                    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::TimeZone::timestamp`: use `timestamp_opt()` instead
[INFO] [stderr]    --> src/claims.rs:184:20
[INFO] [stderr]     |
[INFO] [stderr] 184 |             Ok(Utc.timestamp(value, 0))
[INFO] [stderr]     |                    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/alg/eddsa_compact.rs:18:17
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stderr]    |                 ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stderr]    |                               +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/alg/eddsa_compact.rs:40:21
[INFO] [stderr]    |
[INFO] [stderr] 40 |     pub fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stderr]    |                     ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 40 |     pub fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stderr]    |                                   +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/alg/eddsa_compact.rs:75:21
[INFO] [stderr]    |
[INFO] [stderr] 75 |     pub fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stderr]    |                     ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 75 |     pub fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stderr]    |                                   +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/alg/rsa.rs:35:17
[INFO] [stderr]    |
[INFO] [stderr] 35 |     fn as_bytes(&self) -> Cow<[u8]> {
[INFO] [stderr]    |                 ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 35 |     fn as_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stderr]    |                               +++
[INFO] [stderr] 
[INFO] [stderr] warning: `jwt-compact-preview` (lib) generated 13 warnings (run `cargo fix --lib -p jwt-compact-preview` to apply 4 suggestions)
[INFO] [stderr] warning: `jwt-compact-preview` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jwt_compact_preview-57938463f0cc1165)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test claims::tests::immature_claim ... ok
[INFO] [stdout] test claims::tests::empty_claims_can_be_serialized ... ok
[INFO] [stdout] test tests::invalid_token_structure ... ok
[INFO] [stdout] test tests::base64_error_during_parsing ... ok
[INFO] [stdout] test claims::tests::expired_claim ... ok
[INFO] [stdout] test tests::malformed_json_claims ... ok
[INFO] [stdout] test tests::unsupported_content_type ... ok
[INFO] [stdout] test tests::malformed_header ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/algorithms.rs (/opt/rustwide/target/debug/deps/algorithms-e9deb7ec0fcc3f89)
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test compact_token_hs256 ... ok
[INFO] [stdout] test hs256_reference ... ok
[INFO] [stdout] test ed25519_reference ... ok
[INFO] [stdout] test hs512_reference ... ok
[INFO] [stdout] test hs384_reference ... ok
[INFO] [stdout] test hs384_algorithm ... ok
[INFO] [stdout] test hs256_algorithm ... ok
[INFO] [stdout] test hs512_algorithm ... ok
[INFO] [stdout] test ed25519_algorithm ... ok
[INFO] [stdout] test rs512_algorithm ... ok
[INFO] [stdout] test ps512_algorithm ... ok
[INFO] [stdout] test rs384_algorithm ... ok
[INFO] [stdout] test ps384_algorithm ... ok
[INFO] [stdout] test ps256_algorithm ... ok
[INFO] [stdout] test rs256_algorithm ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 38.93s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests jwt_compact_preview
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - Renamed (line 217) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 114) ... FAILED
[INFO] [stdout] test src/lib.rs - SignedToken (line 523) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 64) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Renamed (line 217) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jwt_compact`
[INFO] [stdout]    --> src/lib.rs:218:5
[INFO] [stdout]     |
[INFO] [stdout] 218 | use jwt_compact::{alg::{Hs256, Hs256Key}, prelude::*, Empty, Renamed};
[INFO] [stdout]     |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `jwt_compact`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `jwt_compact`, use `cargo add jwt_compact` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `jwt_compact`
[INFO] [stdout]    --> src/lib.rs:218:5
[INFO] [stdout]     |
[INFO] [stdout] 218 | use jwt_compact::{alg::{Hs256, Hs256Key}, prelude::*, Empty, Renamed};
[INFO] [stdout]     |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `jwt_compact`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `jwt_compact`, use `cargo add jwt_compact` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header`
[INFO] [stdout]    --> src/lib.rs:223:30
[INFO] [stdout]     |
[INFO] [stdout] 223 | let token_string = alg.token(Header::default(), &Claims::empty(), &key).unwrap();
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `Header`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 217 + use jwt_compact_preview::Header;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Claims`
[INFO] [stdout]    --> src/lib.rs:223:50
[INFO] [stdout]     |
[INFO] [stdout] 223 | let token_string = alg.token(Header::default(), &Claims::empty(), &key).unwrap();
[INFO] [stdout]     |                                                  ^^^^^^ use of undeclared type `Claims`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 217 + use jwt_compact_preview::Claims;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedToken`
[INFO] [stdout]    --> src/lib.rs:225:13
[INFO] [stdout]     |
[INFO] [stdout] 225 | let token = UntrustedToken::try_from(token_string.as_str()).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type `UntrustedToken`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 217 + use jwt_compact_preview::UntrustedToken;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[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 114) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jwt_compact`
[INFO] [stdout]    --> src/lib.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 117 | use jwt_compact::{prelude::*, alg::{Hs256, Hs256Key}};
[INFO] [stdout]     |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `jwt_compact`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `jwt_compact`, use `cargo add jwt_compact` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `jwt_compact::alg::Hs256`, `jwt_compact::alg::Hs256Key`
[INFO] [stdout]    --> src/lib.rs:117:37
[INFO] [stdout]     |
[INFO] [stdout] 117 | use jwt_compact::{prelude::*, alg::{Hs256, Hs256Key}};
[INFO] [stdout]     |                                     ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Claims`
[INFO] [stdout]    --> src/lib.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 | let claims = Claims::new(CustomClaims { subject: [111; 32] })
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `Claims`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 115 + use jwt_compact_preview::Claims;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header`
[INFO] [stdout]    --> src/lib.rs:135:25
[INFO] [stdout]     |
[INFO] [stdout] 135 | let token = Hs256.token(Header::default(), &claims, &key)?;
[INFO] [stdout]     |                         ^^^^^^ use of undeclared type `Header`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 115 + use jwt_compact_preview::Header;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header`
[INFO] [stdout]    --> src/lib.rs:137:41
[INFO] [stdout]     |
[INFO] [stdout] 137 | let compact_token = Hs256.compact_token(Header::default(), &claims, &key)?;
[INFO] [stdout]     |                                         ^^^^^^ use of undeclared type `Header`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 115 + use jwt_compact_preview::Header;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedToken`
[INFO] [stdout]    --> src/lib.rs:142:13
[INFO] [stdout]     |
[INFO] [stdout] 142 | let token = UntrustedToken::try_from(compact_token.as_str())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type `UntrustedToken`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 115 + use jwt_compact_preview::UntrustedToken;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Token` in this scope
[INFO] [stdout]    --> src/lib.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 | let token: Token<CustomClaims> = Hs256.validate_integrity(&token, &key)?;
[INFO] [stdout]     |            ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 115 + use jwt_compact_preview::Token;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimeOptions`
[INFO] [stdout]    --> src/lib.rs:144:36
[INFO] [stdout]     |
[INFO] [stdout] 144 | token.claims().validate_expiration(TimeOptions::default())?;
[INFO] [stdout]     |                                    ^^^^^^^^^^^ use of undeclared type `TimeOptions`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 115 + use jwt_compact_preview::TimeOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - SignedToken (line 523) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jwt_compact`
[INFO] [stdout]    --> src/lib.rs:524:5
[INFO] [stdout]     |
[INFO] [stdout] 524 | use jwt_compact::{alg::{Hs256, Hs256Key}, prelude::*};
[INFO] [stdout]     |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `jwt_compact`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `jwt_compact`, use `cargo add jwt_compact` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `jwt_compact::alg::Hs256`, `jwt_compact::alg::Hs256Key`
[INFO] [stdout]    --> src/lib.rs:524:25
[INFO] [stdout]     |
[INFO] [stdout] 524 | use jwt_compact::{alg::{Hs256, Hs256Key}, prelude::*};
[INFO] [stdout]     |                         ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Claims`
[INFO] [stdout]    --> src/lib.rs:537:14
[INFO] [stdout]     |
[INFO] [stdout] 537 | let claims = Claims::new(MyClaims {}).set_duration_and_issuance(Duration::days(7));
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `Claims`
[INFO] [stdout]     |
[INFO] [stdout] help: a struct with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 537 | let claims = MyClaims::new(MyClaims {}).set_duration_and_issuance(Duration::days(7));
[INFO] [stdout]     |              ++
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 524 + use jwt_compact_preview::Claims;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header`
[INFO] [stdout]    --> src/lib.rs:539:15
[INFO] [stdout]     |
[INFO] [stdout] 539 |   Hs256.token(Header::default(), &claims, &key)?;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `Header`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 524 + use jwt_compact_preview::Header;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedToken`
[INFO] [stdout]    --> src/lib.rs:540:13
[INFO] [stdout]     |
[INFO] [stdout] 540 | let token = UntrustedToken::try_from(token_string.as_str())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type `UntrustedToken`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 524 + use jwt_compact_preview::UntrustedToken;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimeOptions`
[INFO] [stdout]    --> src/lib.rs:547:28
[INFO] [stdout]     |
[INFO] [stdout] 547 | claims.validate_expiration(TimeOptions::default())?;
[INFO] [stdout]     |                            ^^^^^^^^^^^ use of undeclared type `TimeOptions`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 524 + use jwt_compact_preview::TimeOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `block_buffer::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/lib.rs:526:48
[INFO] [stdout]     |
[INFO] [stdout] 526 | use hmac::crypto_mac::generic_array::{typenum, GenericArray};
[INFO] [stdout]     |                                                ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated struct `block_buffer::generic_array::GenericArray`: please upgrade to generic-array 1.x
[INFO] [stdout]    --> src/lib.rs:544:12
[INFO] [stdout]     |
[INFO] [stdout] 544 | let array: GenericArray<u8, typenum::U32> = signed.signature.into_bytes();
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[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 64) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jwt_compact`
[INFO] [stdout]   --> src/lib.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 | use jwt_compact::{prelude::*, alg::{Hs256, Hs256Key}};
[INFO] [stdout]    |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `jwt_compact`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `jwt_compact`, use `cargo add jwt_compact` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `jwt_compact::alg::Hs256`, `jwt_compact::alg::Hs256Key`
[INFO] [stdout]   --> src/lib.rs:66:37
[INFO] [stdout]    |
[INFO] [stdout] 66 | use jwt_compact::{prelude::*, alg::{Hs256, Hs256Key}};
[INFO] [stdout]    |                                     ^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Header` in this scope
[INFO] [stdout]   --> src/lib.rs:83:14
[INFO] [stdout]    |
[INFO] [stdout] 83 | let header = Header {
[INFO] [stdout]    |              ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 65 + use jwt_compact_preview::CreationError::Header;
[INFO] [stdout]    |
[INFO] [stdout] 65 + use jwt_compact_preview::Header;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Claims`
[INFO] [stdout]   --> src/lib.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 87 | let claims = Claims::new(CustomClaims { subject: "alice".to_owned() })
[INFO] [stdout]    |              ^^^^^^ use of undeclared type `Claims`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 65 + use jwt_compact_preview::Claims;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UntrustedToken`
[INFO] [stdout]   --> src/lib.rs:94:13
[INFO] [stdout]    |
[INFO] [stdout] 94 | let token = UntrustedToken::try_from(token_string.as_str())?;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ use of undeclared type `UntrustedToken`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 65 + use jwt_compact_preview::UntrustedToken;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Token` in this scope
[INFO] [stdout]   --> src/lib.rs:99:12
[INFO] [stdout]    |
[INFO] [stdout] 99 | let token: Token<CustomClaims> = Hs256.validate_integrity(&token, &key)?;
[INFO] [stdout]    |            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 65 + use jwt_compact_preview::Token;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimeOptions`
[INFO] [stdout]    --> src/lib.rs:103:26
[INFO] [stdout]     |
[INFO] [stdout] 103 |     .validate_expiration(TimeOptions::default())?
[INFO] [stdout]     |                          ^^^^^^^^^^^ use of undeclared type `TimeOptions`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  65 + use jwt_compact_preview::TimeOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimeOptions`
[INFO] [stdout]    --> src/lib.rs:104:24
[INFO] [stdout]     |
[INFO] [stdout] 104 |     .validate_maturity(TimeOptions::default())?;
[INFO] [stdout]     |                        ^^^^^^^^^^^ use of undeclared type `TimeOptions`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout]  65 + use jwt_compact_preview::TimeOptions;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[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 64)
[INFO] [stdout]     src/lib.rs - Renamed (line 217)
[INFO] [stdout]     src/lib.rs - SignedToken (line 523)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a885dda17dd9a3d4211b847f73094e4769822947ffed56c14e8f3d268facb3f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a885dda17dd9a3d4211b847f73094e4769822947ffed56c14e8f3d268facb3f3", kill_on_drop: false }`
[INFO] [stdout] a885dda17dd9a3d4211b847f73094e4769822947ffed56c14e8f3d268facb3f3
