[INFO] fetching crate jsonwebtoken 10.0.0... [INFO] testing jsonwebtoken-10.0.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate jsonwebtoken 10.0.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate jsonwebtoken 10.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jsonwebtoken 10.0.0 [INFO] tweaked toml for crates.io crate jsonwebtoken 10.0.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonwebtoken 10.0.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsonwebtoken 10.0.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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.54 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.54 [INFO] [stderr] Downloaded pem v3.0.5 [INFO] [stderr] Downloaded rsa v0.9.8 [INFO] [stderr] Downloaded minicov v0.3.7 [INFO] [stderr] Downloaded p384 v0.13.1 [INFO] [stderr] Downloaded aws-lc-sys v0.32.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e467e1fbf82edff2291497d3dad6e302476db62a9c7d99d4531be1eecc8624be [INFO] running `Command { std: "docker" "start" "-a" "e467e1fbf82edff2291497d3dad6e302476db62a9c7d99d4531be1eecc8624be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e467e1fbf82edff2291497d3dad6e302476db62a9c7d99d4531be1eecc8624be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e467e1fbf82edff2291497d3dad6e302476db62a9c7d99d4531be1eecc8624be", kill_on_drop: false }` [INFO] [stdout] e467e1fbf82edff2291497d3dad6e302476db62a9c7d99d4531be1eecc8624be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8a9713fb305b035178d1881d88b820a6ba5c6ce99fcf2e8f78cbd46418e9e21 [INFO] running `Command { std: "docker" "start" "-a" "e8a9713fb305b035178d1881d88b820a6ba5c6ce99fcf2e8f78cbd46418e9e21", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling jsonwebtoken v10.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error: at least one of the features "rust_crypto" or "aws_lc_rs" must be enabled [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | compile_error!("at least one of the features \"rust_crypto\" or \"aws_lc_rs\" must be enabled"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs256Verifier` [INFO] [stdout] --> src/decoding.rs:301:38 [INFO] [stdout] | [INFO] [stdout] 301 | Algorithm::HS256 => Box::new(Hs256Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Hs256Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs384Verifier` [INFO] [stdout] --> src/decoding.rs:302:38 [INFO] [stdout] | [INFO] [stdout] 302 | Algorithm::HS384 => Box::new(Hs384Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Hs384Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs512Verifier` [INFO] [stdout] --> src/decoding.rs:303:38 [INFO] [stdout] | [INFO] [stdout] 303 | Algorithm::HS512 => Box::new(Hs512Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Hs512Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Es256Verifier` [INFO] [stdout] --> src/decoding.rs:304:38 [INFO] [stdout] | [INFO] [stdout] 304 | Algorithm::ES256 => Box::new(Es256Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Es256Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Es384Verifier` [INFO] [stdout] --> src/decoding.rs:305:38 [INFO] [stdout] | [INFO] [stdout] 305 | Algorithm::ES384 => Box::new(Es384Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `Es384Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa256Verifier` [INFO] [stdout] --> src/decoding.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | Algorithm::RS256 => Box::new(Rsa256Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `Rsa256Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa384Verifier` [INFO] [stdout] --> src/decoding.rs:307:38 [INFO] [stdout] | [INFO] [stdout] 307 | Algorithm::RS384 => Box::new(Rsa384Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `Rsa384Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa512Verifier` [INFO] [stdout] --> src/decoding.rs:308:38 [INFO] [stdout] | [INFO] [stdout] 308 | Algorithm::RS512 => Box::new(Rsa512Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `Rsa512Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss256Verifier` [INFO] [stdout] --> src/decoding.rs:309:38 [INFO] [stdout] | [INFO] [stdout] 309 | Algorithm::PS256 => Box::new(RsaPss256Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RsaPss256Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss384Verifier` [INFO] [stdout] --> src/decoding.rs:310:38 [INFO] [stdout] | [INFO] [stdout] 310 | Algorithm::PS384 => Box::new(RsaPss384Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RsaPss384Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss512Verifier` [INFO] [stdout] --> src/decoding.rs:311:38 [INFO] [stdout] | [INFO] [stdout] 311 | Algorithm::PS512 => Box::new(RsaPss512Verifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `RsaPss512Verifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdDSAVerifier` [INFO] [stdout] --> src/decoding.rs:312:38 [INFO] [stdout] | [INFO] [stdout] 312 | Algorithm::EdDSA => Box::new(EdDSAVerifier::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EdDSAVerifier` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs256Signer` [INFO] [stdout] --> src/encoding.rs:200:38 [INFO] [stdout] | [INFO] [stdout] 200 | Algorithm::HS256 => Box::new(Hs256Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Hs256Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs384Signer` [INFO] [stdout] --> src/encoding.rs:201:38 [INFO] [stdout] | [INFO] [stdout] 201 | Algorithm::HS384 => Box::new(Hs384Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Hs384Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Hs512Signer` [INFO] [stdout] --> src/encoding.rs:202:38 [INFO] [stdout] | [INFO] [stdout] 202 | Algorithm::HS512 => Box::new(Hs512Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Hs512Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Es256Signer` [INFO] [stdout] --> src/encoding.rs:203:38 [INFO] [stdout] | [INFO] [stdout] 203 | Algorithm::ES256 => Box::new(Es256Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Es256Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Es384Signer` [INFO] [stdout] --> src/encoding.rs:204:38 [INFO] [stdout] | [INFO] [stdout] 204 | Algorithm::ES384 => Box::new(Es384Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Es384Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa256Signer` [INFO] [stdout] --> src/encoding.rs:205:38 [INFO] [stdout] | [INFO] [stdout] 205 | Algorithm::RS256 => Box::new(Rsa256Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Rsa256Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa384Signer` [INFO] [stdout] --> src/encoding.rs:206:38 [INFO] [stdout] | [INFO] [stdout] 206 | Algorithm::RS384 => Box::new(Rsa384Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Rsa384Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rsa512Signer` [INFO] [stdout] --> src/encoding.rs:207:38 [INFO] [stdout] | [INFO] [stdout] 207 | Algorithm::RS512 => Box::new(Rsa512Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `Rsa512Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss256Signer` [INFO] [stdout] --> src/encoding.rs:208:38 [INFO] [stdout] | [INFO] [stdout] 208 | Algorithm::PS256 => Box::new(RsaPss256Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `RsaPss256Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss384Signer` [INFO] [stdout] --> src/encoding.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 209 | Algorithm::PS384 => Box::new(RsaPss384Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `RsaPss384Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RsaPss512Signer` [INFO] [stdout] --> src/encoding.rs:210:38 [INFO] [stdout] | [INFO] [stdout] 210 | Algorithm::PS512 => Box::new(RsaPss512Signer::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `RsaPss512Signer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdDSASigner` [INFO] [stdout] --> src/encoding.rs:211:38 [INFO] [stdout] | [INFO] [stdout] 211 | Algorithm::EdDSA => Box::new(EdDSASigner::new(key)?) as Box, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EdDSASigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extract_rsa_public_key_components` in this scope [INFO] [stdout] --> src/jwk.rs:574:34 [INFO] [stdout] | [INFO] [stdout] 574 | let (n, e) = extract_rsa_public_key_components(&key.content)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `extract_ec_public_key_coordinates` in this scope [INFO] [stdout] --> src/jwk.rs:582:41 [INFO] [stdout] | [INFO] [stdout] 582 | let (curve, x, y) = extract_ec_public_key_coordinates(&key.content, alg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compute_digest` in this scope [INFO] [stdout] --> src/jwk.rs:643:20 [INFO] [stdout] | [INFO] [stdout] 643 | b64_encode(compute_digest(pre.as_bytes(), hash_function)) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonwebtoken` (lib) due to 28 previous errors [INFO] running `Command { std: "docker" "inspect" "e8a9713fb305b035178d1881d88b820a6ba5c6ce99fcf2e8f78cbd46418e9e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8a9713fb305b035178d1881d88b820a6ba5c6ce99fcf2e8f78cbd46418e9e21", kill_on_drop: false }` [INFO] [stdout] e8a9713fb305b035178d1881d88b820a6ba5c6ce99fcf2e8f78cbd46418e9e21