[INFO] cloning repository https://github.com/Defelo/nginx-keycloak [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Defelo/nginx-keycloak" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefelo%2Fnginx-keycloak", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefelo%2Fnginx-keycloak'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0777a189b0a8cb318d1cdaca3a1b43c3b092ea5b [INFO] checking Defelo/nginx-keycloak/0777a189b0a8cb318d1cdaca3a1b43c3b092ea5b against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDefelo%2Fnginx-keycloak" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Defelo/nginx-keycloak on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Defelo/nginx-keycloak [INFO] finished tweaking git repo https://github.com/Defelo/nginx-keycloak [INFO] tweaked toml for git repo https://github.com/Defelo/nginx-keycloak written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Defelo/nginx-keycloak 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11c033b06dd287fb68ea2860b665558ee690cc7cb69c8b99aba26fdf773dfdc4 [INFO] running `Command { std: "docker" "start" "-a" "11c033b06dd287fb68ea2860b665558ee690cc7cb69c8b99aba26fdf773dfdc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11c033b06dd287fb68ea2860b665558ee690cc7cb69c8b99aba26fdf773dfdc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c033b06dd287fb68ea2860b665558ee690cc7cb69c8b99aba26fdf773dfdc4", kill_on_drop: false }` [INFO] [stdout] 11c033b06dd287fb68ea2860b665558ee690cc7cb69c8b99aba26fdf773dfdc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fad0720953502de9d535d55bb6d7de74adbaa728b8bd38240820ab738ca6e1d [INFO] running `Command { std: "docker" "start" "-a" "3fad0720953502de9d535d55bb6d7de74adbaa728b8bd38240820ab738ca6e1d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.74 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling rustls v0.21.8 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking winnow v0.5.36 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rustls-pemfile v1.0.3 [INFO] [stderr] Checking webpki-roots v0.25.2 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling ring v0.17.5 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking axum-core v0.3.4 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.21.1 [INFO] [stderr] Checking toml v0.8.9 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking redis v0.25.2 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking nginx-keycloak v0.3.6 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stdout] --> src/redis.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use redis::{aio::Connection, AsyncCommands, Client}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `nginx_keycloak` [INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stdout] --> src/redis.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | async fn get_connection(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn set_token(&self, session_id: &str, token: &oidc::TokenResponse) -> Result<()> { [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 a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | .query_async(&mut con) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead. [INFO] [stdout] --> src/redis.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(self.client.get_async_connection().await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] * src/config.rs [INFO] [stderr] * src/redis.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / pub async fn update_session_cache( [INFO] [stdout] 63 | | &self, [INFO] [stdout] 64 | | session_id: &str, [INFO] [stdout] 65 | | role: &str, [INFO] [stdout] 66 | | state: &SessionCache, [INFO] [stdout] 67 | | ) -> Result<()> { [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 a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | con.set_ex(key, "allowed", self.session_allowed_ttl).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:49:46 [INFO] [stderr] | [INFO] [stderr] 49 | std::env::vars().for_each(|(var, _)| unsafe { std::env::remove_var(var) }); [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | std::env::vars().for_each(|(var, _)| std::env::remove_var(var)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 48 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 49 ~ std::env::vars().for_each(|(var, _)| unsafe { std::env::remove_var(var) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | std::env::set_var("HOST", "127.0.0.1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 49 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 50 ~ unsafe { std::env::set_var("HOST", "127.0.0.1") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/main.rs:1:11 [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | std::env::set_var("PORT", "80"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 50 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 51 ~ unsafe { std::env::set_var("PORT", "80") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | unsafe { std::env::set_var("HOST", "127.0.0.1") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | std::env::set_var("KEYCLOAK_BASE_URL", "http://id.domain.de/realms/my_realm/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 51 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 52 ~ unsafe { std::env::set_var("KEYCLOAK_BASE_URL", "http://id.domain.de/realms/my_realm/") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | unsafe { std::env::set_var("PORT", "80") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | unsafe { std::env::set_var("KEYCLOAK_BASE_URL", "http://id.domain.de/realms/my_realm/") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | std::env::set_var("CLIENT_ID", "my_oidc_client"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 52 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 53 ~ unsafe { std::env::set_var("CLIENT_ID", "my_oidc_client") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | unsafe { std::env::set_var("CLIENT_ID", "my_oidc_client") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:59:9 [INFO] [stderr] | [INFO] [stderr] 59 | unsafe { std::env::set_var("CLIENT_SECRET", "1t6IZN9qW2Ex1ZlS0OkBeATj") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | std::env::set_var("CLIENT_SECRET", "1t6IZN9qW2Ex1ZlS0OkBeATj"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 53 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 54 ~ unsafe { std::env::set_var("CLIENT_SECRET", "1t6IZN9qW2Ex1ZlS0OkBeATj") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | unsafe { std::env::set_var("AUTH_CALLBACK_PATH", "/_auth/callback") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | std::env::set_var("AUTH_CALLBACK_PATH", "/_auth/callback"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 54 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 55 ~ unsafe { std::env::set_var("AUTH_CALLBACK_PATH", "/_auth/callback") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | unsafe { std::env::set_var("REDIS_URL", "redis://my_redis:6379/42") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | unsafe { std::env::set_var("SESSION_ALLOWED_TTL", "1337") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | unsafe { std::env::set_var("SESSION_FORBIDDEN_TTL", "42") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stderr] --> src/redis.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use redis::{aio::Connection, AsyncCommands, Client}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stderr] --> src/redis.rs:26:46 [INFO] [stderr] | [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | std::env::set_var("REDIS_URL", "redis://my_redis:6379/42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 55 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 56 ~ unsafe { std::env::set_var("REDIS_URL", "redis://my_redis:6379/42") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 26 | async fn get_connection(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/redis.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | pub async fn set_token(&self, session_id: &str, token: &oidc::TokenResponse) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | std::env::set_var("SESSION_ALLOWED_TTL", "1337"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 56 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 57 ~ unsafe { std::env::set_var("SESSION_ALLOWED_TTL", "1337") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/redis.rs:43:14 [INFO] [stderr] | [INFO] [stderr] 43 | .query_async(&mut con) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead. [INFO] [stderr] --> src/redis.rs:27:24 [INFO] [stderr] | [INFO] [stderr] 27 | Ok(self.client.get_async_connection().await?) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/redis.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | / pub async fn update_session_cache( [INFO] [stderr] 63 | | &self, [INFO] [stderr] 64 | | session_id: &str, [INFO] [stderr] 65 | | role: &str, [INFO] [stderr] 66 | | state: &SessionCache, [INFO] [stderr] 67 | | ) -> Result<()> { [INFO] [stderr] | |___________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #123748 [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | std::env::set_var("SESSION_FORBIDDEN_TTL", "42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 57 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 58 ~ unsafe { std::env::set_var("SESSION_FORBIDDEN_TTL", "42") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/redis.rs:72:21 [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 72 | con.set_ex(key, "allowed", self.session_allowed_ttl).await?; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stdout] --> src/redis.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use redis::{aio::Connection, AsyncCommands, Client}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stdout] --> src/redis.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | async fn get_connection(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn set_token(&self, session_id: &str, token: &oidc::TokenResponse) -> Result<()> { [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 a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | .query_async(&mut con) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead. [INFO] [stdout] --> src/redis.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(self.client.get_async_connection().await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | / pub async fn update_session_cache( [INFO] [stdout] 63 | | &self, [INFO] [stdout] 64 | | session_id: &str, [INFO] [stdout] 65 | | role: &str, [INFO] [stdout] 66 | | state: &SessionCache, [INFO] [stdout] 67 | | ) -> Result<()> { [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 a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | con.set_ex(key, "allowed", self.session_allowed_ttl).await?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.26s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking nginx-keycloak v0.3.6 (/tmp/fixit) [INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stdout] --> src/redis.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use redis::{aio::Connection, AsyncCommands, Client}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stdout] --> src/redis.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use redis::{aio::Connection, AsyncCommands, Client}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stdout] --> src/redis.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | async fn get_connection(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `redis::aio::Connection`: aio::Connection is deprecated. Use aio::MultiplexedConnection instead. [INFO] [stdout] --> src/redis.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | async fn get_connection(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | .query_async(&mut con) [INFO] [stdout] | ^^^^^^^^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 34 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Pipeline::query_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.25.2/src/pipeline.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | pub async fn query_async(&self, con: &mut C) -> RedisResult [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Pipeline::query_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | .query_async(&mut con) [INFO] [stdout] | ^^^^^^^^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 34 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `Pipeline::query_async` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.25.2/src/pipeline.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | pub async fn query_async(&self, con: &mut C) -> RedisResult [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `Pipeline::query_async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead. [INFO] [stdout] --> src/redis.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(self.client.get_async_connection().await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `redis::Client::get_async_connection`: aio::Connection is deprecated. Use client::get_multiplexed_async_connection instead. [INFO] [stdout] --> src/redis.rs:27:24 [INFO] [stdout] | [INFO] [stdout] 27 | Ok(self.client.get_async_connection().await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | con.set_ex(key, "allowed", self.session_allowed_ttl).await?; [INFO] [stdout] | ^^^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 34 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set_ex` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.25.2/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 83 | | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | | ------ required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1877 | | } [INFO] [stdout] 1878 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set_ex` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | con.set_ex(key, "forbidden", self.session_forbidden_ttl) [INFO] [stdout] | ^^^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 34 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set_ex` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.25.2/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 83 | | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | | ------ required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1877 | | } [INFO] [stdout] 1878 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set_ex` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | con.set_ex(key, "allowed", self.session_allowed_ttl).await?; [INFO] [stdout] | ^^^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 34 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set_ex` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.25.2/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 83 | | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | | ------ required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1877 | | } [INFO] [stdout] 1878 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set_ex` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | con.del(key).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 34 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::del` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.25.2/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 118 | | fn del(key: K) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1877 | | } [INFO] [stdout] 1878 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::del` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | con.set_ex(key, "forbidden", self.session_forbidden_ttl) [INFO] [stdout] | ^^^^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 34 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::set_ex` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.25.2/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 83 | | fn set_ex(key: K, value: V, seconds: u64) { [INFO] [stdout] | | ------ required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1877 | | } [INFO] [stdout] 1878 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::set_ex` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `!: FromRedisValue` is not satisfied [INFO] [stdout] --> src/redis.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | con.del(key).await?; [INFO] [stdout] | ^^^ the trait `FromRedisValue` is not implemented for `!` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `FromRedisValue`: [INFO] [stdout] () [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T10, T11, T12) [INFO] [stdout] (T11, T12) [INFO] [stdout] (T12,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11, T12) [INFO] [stdout] and 34 others [INFO] [stdout] = note: this error might have been caused by changes to Rust's type-inference algorithm (see issue #48950 for more information) [INFO] [stdout] = help: did you intend to use the type `()` here instead? [INFO] [stdout] note: required by a bound in `redis::AsyncCommands::del` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/redis-0.25.2/src/commands/mod.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | / implement_commands! { [INFO] [stdout] 42 | | 'a [INFO] [stdout] 43 | | // most common operations [INFO] [stdout] ... | [INFO] [stdout] 118 | | fn del(key: K) { [INFO] [stdout] | | --- required by a bound in this associated function [INFO] [stdout] ... | [INFO] [stdout] 1877 | | } [INFO] [stdout] 1878 | | } [INFO] [stdout] | |_^ required by this bound in `AsyncCommands::del` [INFO] [stdout] = note: this error originates in the macro `implement_commands` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | std::env::vars().for_each(|(var, _)| std::env::remove_var(var)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | std::env::set_var("HOST", "127.0.0.1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | std::env::set_var("PORT", "80"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | std::env::set_var("KEYCLOAK_BASE_URL", "http://id.domain.de/realms/my_realm/"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | std::env::set_var("CLIENT_ID", "my_oidc_client"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | std::env::set_var("CLIENT_SECRET", "1t6IZN9qW2Ex1ZlS0OkBeATj"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | std::env::set_var("AUTH_CALLBACK_PATH", "/_auth/callback"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | std::env::set_var("REDIS_URL", "redis://my_redis:6379/42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | std::env::set_var("SESSION_ALLOWED_TTL", "1337"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | std::env::set_var("SESSION_FORBIDDEN_TTL", "42"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nginx-keycloak` (bin "nginx-keycloak") due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 14 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nginx-keycloak` (bin "nginx-keycloak" test) due to 15 previous errors; 3 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "3fad0720953502de9d535d55bb6d7de74adbaa728b8bd38240820ab738ca6e1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fad0720953502de9d535d55bb6d7de74adbaa728b8bd38240820ab738ca6e1d", kill_on_drop: false }` [INFO] [stdout] 3fad0720953502de9d535d55bb6d7de74adbaa728b8bd38240820ab738ca6e1d