[INFO] fetching crate rusttls-jwt-authorizer 0.15.1... [INFO] building rusttls-jwt-authorizer-0.15.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate rusttls-jwt-authorizer 0.15.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate rusttls-jwt-authorizer 0.15.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rusttls-jwt-authorizer 0.15.1 [INFO] tweaked toml for crates.io crate rusttls-jwt-authorizer 0.15.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rusttls-jwt-authorizer 0.15.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rusttls-jwt-authorizer 0.15.1 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wiremock v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cdc9abdf518ad299284d81aa2f2cda6f63aa5cddfd04013c20207def874b279 [INFO] running `Command { std: "docker" "start" "-a" "0cdc9abdf518ad299284d81aa2f2cda6f63aa5cddfd04013c20207def874b279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cdc9abdf518ad299284d81aa2f2cda6f63aa5cddfd04013c20207def874b279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cdc9abdf518ad299284d81aa2f2cda6f63aa5cddfd04013c20207def874b279", kill_on_drop: false }` [INFO] [stdout] 0cdc9abdf518ad299284d81aa2f2cda6f63aa5cddfd04013c20207def874b279 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90a02292d5c73b7d64bcf3ab39588917cee67e3e9bc599e2ea296dcd8cceffeb [INFO] running `Command { std: "docker" "start" "-a" "90a02292d5c73b7d64bcf3ab39588917cee67e3e9bc599e2ea296dcd8cceffeb", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling rusttls-jwt-authorizer v0.15.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.16s [INFO] running `Command { std: "docker" "inspect" "90a02292d5c73b7d64bcf3ab39588917cee67e3e9bc599e2ea296dcd8cceffeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90a02292d5c73b7d64bcf3ab39588917cee67e3e9bc599e2ea296dcd8cceffeb", kill_on_drop: false }` [INFO] [stdout] 90a02292d5c73b7d64bcf3ab39588917cee67e3e9bc599e2ea296dcd8cceffeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d9e641a158f972bcd1dd5fe40edcfab894cbe4464eb0be8510e2dba69e5fc29 [INFO] running `Command { std: "docker" "start" "-a" "2d9e641a158f972bcd1dd5fe40edcfab894cbe4464eb0be8510e2dba69e5fc29", kill_on_drop: false }` [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling deadpool v0.10.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling wiremock v0.6.4 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling rusttls-jwt-authorizer v0.15.1 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/../../config/rsa-public1.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/authorizer.rs:438:38 [INFO] [stdout] | [INFO] [stdout] 438 | KeySourceType::RSAString(include_str!("../../config/rsa-public1.pem").to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../config/ecdsa-public1.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/authorizer.rs:451:37 [INFO] [stdout] | [INFO] [stdout] 451 | KeySourceType::ECString(include_str!("../../config/ecdsa-public1.pem").to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../../config/ed25519-public1.pem`: No such file or directory (os error 2) [INFO] [stdout] --> src/authorizer.rs:464:37 [INFO] [stdout] | [INFO] [stdout] 464 | KeySourceType::EDString(include_str!("../../config/ed25519-public1.pem").to_owned()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jwt_authorizer` [INFO] [stdout] --> tests/integration_tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use jwt_authorizer::{IntoLayer, JwtAuthorizer, JwtClaims, Refresh, RefreshStrategy, Validation}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jwt_authorizer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jwt_authorizer`, use `cargo add jwt_authorizer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/../../config/public1.jwks`: No such file or directory (os error 2) [INFO] [stdout] --> tests/tests.rs:158:43 [INFO] [stdout] | [INFO] [stdout] 158 | JwtAuthorizer::from_jwks_text(include_str!("../../config/public1.jwks")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jwt_authorizer` [INFO] [stdout] --> tests/tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use jwt_authorizer::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jwt_authorizer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jwt_authorizer`, use `cargo add jwt_authorizer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/integration_tests.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | .unwrap() [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jwt_authorizer` [INFO] [stdout] --> tests/tests.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use jwt_authorizer::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `jwt_authorizer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `jwt_authorizer`, use `cargo add jwt_authorizer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:49:71 [INFO] [stdout] | [INFO] [stdout] 49 | proteced_request_with_header_and_layer(jwt_auth.build().await.unwrap().into_layer(), header_name, header_value).await [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusttls-jwt-authorizer` (test "integration_tests") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:461:18 [INFO] [stdout] | [INFO] [stdout] 461 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:467:18 [INFO] [stdout] | [INFO] [stdout] 467 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:484:18 [INFO] [stdout] | [INFO] [stdout] 484 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 489 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:508:18 [INFO] [stdout] | [INFO] [stdout] 508 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:516:18 [INFO] [stdout] | [INFO] [stdout] 516 | .unwrap(), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusttls-jwt-authorizer` (lib test) due to 3 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusttls-jwt-authorizer` (test "tests") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "2d9e641a158f972bcd1dd5fe40edcfab894cbe4464eb0be8510e2dba69e5fc29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d9e641a158f972bcd1dd5fe40edcfab894cbe4464eb0be8510e2dba69e5fc29", kill_on_drop: false }` [INFO] [stdout] 2d9e641a158f972bcd1dd5fe40edcfab894cbe4464eb0be8510e2dba69e5fc29