[INFO] fetching crate hyper-auth-proxy 0.1.2... [INFO] checking hyper-auth-proxy-0.1.2 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] extracting crate hyper-auth-proxy 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate hyper-auth-proxy 0.1.2 [INFO] finished tweaking crates.io crate hyper-auth-proxy 0.1.2 [INFO] tweaked toml for crates.io crate hyper-auth-proxy 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hyper-auth-proxy 0.1.2 on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 206 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.20.0 (available: v0.22.1) [INFO] [stderr] Adding cookie v0.16.2 (available: v0.18.1) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.8) [INFO] [stderr] Adding hyper v0.14.32 (available: v1.7.0) [INFO] [stderr] Adding redis v0.21.7 (available: v0.32.7) [INFO] [stderr] Adding serial_test v0.6.0 (available: v3.2.0) [INFO] [stderr] Adding test-context v0.1.6 (available: v0.4.1) [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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokiotest-httpserver v0.2.1 [INFO] [stderr] Downloaded test-context v0.1.6 [INFO] [stderr] Downloaded hyper-reverse-proxy v0.5.1 [INFO] [stderr] Downloaded serial_test_derive v0.6.0 [INFO] [stderr] Downloaded queues v1.1.0 [INFO] [stderr] Downloaded redis v0.21.7 [INFO] [stderr] Downloaded test-context-macros v0.1.6 [INFO] [stderr] Downloaded tower-http v0.2.5 [INFO] [stderr] Downloaded serial_test v0.6.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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53861e52e5557a71ddc6fb69e0789d443eb5fd054d65d6488e295a8314bfe47f [INFO] running `Command { std: "docker" "start" "-a" "53861e52e5557a71ddc6fb69e0789d443eb5fd054d65d6488e295a8314bfe47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53861e52e5557a71ddc6fb69e0789d443eb5fd054d65d6488e295a8314bfe47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53861e52e5557a71ddc6fb69e0789d443eb5fd054d65d6488e295a8314bfe47f", kill_on_drop: false }` [INFO] [stdout] 53861e52e5557a71ddc6fb69e0789d443eb5fd054d65d6488e295a8314bfe47f [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" "-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2de9f5c5d247fdb42ff1f2f62d56ea341008e044452dfc69eec0033b257ce91b [INFO] running `Command { std: "docker" "start" "-a" "2de9f5c5d247fdb42ff1f2f62d56ea341008e044452dfc69eec0033b257ce91b", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking parking_lot_core v0.8.6 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling test-context-macros v0.1.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking http-range-header v0.3.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking tower-http v0.2.5 [INFO] [stderr] Checking test-context v0.1.6 [INFO] [stderr] Checking jwt v0.16.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking base64 v0.20.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serial_test_derive v0.6.0 [INFO] [stderr] Checking serial_test v0.6.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking redis v0.21.7 [INFO] [stderr] Checking hyper-reverse-proxy v0.5.1 [INFO] [stderr] Checking tokiotest-httpserver v0.2.1 [INFO] [stderr] Checking hyper-auth-proxy v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_session.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn set(&self, sid: &str, session: Session) -> Result<(), StoreError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_session.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | connection.set(sid, session_str).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 53 | connection.set::<_, _, ()>(sid, session_str).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_session.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn set(&self, sid: &str, session: Session) -> Result<(), StoreError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_session.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | connection.set(sid, session_str).await?; [INFO] [stdout] | ^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 53 | connection.set::<_, _, ()>(sid, session_str).await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cookies.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_auth_cookie(req: &Request) -> Result { [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] 8 | pub fn get_auth_cookie(req: &Request) -> Result, AuthProxyError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/cookies.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_auth_cookie(req: &Request) -> Result { [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] 8 | pub fn get_auth_cookie(req: &Request) -> Result, AuthProxyError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | async fn test_get_without_cookie_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:41:51 [INFO] [stdout] | [INFO] [stdout] 41 | async fn test_get_without_auth_cookie_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:55:67 [INFO] [stdout] | [INFO] [stdout] 55 | async fn test_get_with_auth_cookie_not_base64_encoded_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:69:56 [INFO] [stdout] | [INFO] [stdout] 69 | async fn test_get_with_auth_cookie_not_jwt_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:83:73 [INFO] [stdout] | [INFO] [stdout] 83 | async fn test_get_with_auth_cookie_with_malformed_jwt_token_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:102:84 [INFO] [stdout] | [INFO] [stdout] 102 | async fn test_get_with_auth_cookie_with_jwt_token_with_wrong_signature_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy` [INFO] [stdout] --> tests/test_http.rs:117:85 [INFO] [stdout] | [INFO] [stdout] 117 | async fn test_get_with_auth_cookie_with_jwt_token_without_redis_session_returns_401(proxy: &mut ProxyTestContext) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: hyper-auth-proxy v0.1.2 (/opt/rustwide/workdir), redis v0.21.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "2de9f5c5d247fdb42ff1f2f62d56ea341008e044452dfc69eec0033b257ce91b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de9f5c5d247fdb42ff1f2f62d56ea341008e044452dfc69eec0033b257ce91b", kill_on_drop: false }` [INFO] [stdout] 2de9f5c5d247fdb42ff1f2f62d56ea341008e044452dfc69eec0033b257ce91b