Skip to content

Bump tower-sessions from 0.10.2 to 0.12.1 in /axum1 #617

Bump tower-sessions from 0.10.2 to 0.12.1 in /axum1

Bump tower-sessions from 0.10.2 to 0.12.1 in /axum1 #617

Triggered via pull request April 12, 2024 11:05
Status Failure
Total duration 3m 28s
Artifacts

base.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 18 warnings
Test
Process completed with exit code 1.
the trait bound `tower_sessions_redis_store::RedisStore<tower_sessions_redis_store::fred::clients::RedisPool>: tower_sessions::SessionStore` is not satisfied: src/startup.rs#L63
error[E0277]: the trait bound `tower_sessions_redis_store::RedisStore<tower_sessions_redis_store::fred::clients::RedisPool>: tower_sessions::SessionStore` is not satisfied --> src/startup.rs:63:25 | 63 | let session_layer = SessionManagerLayer::new(session_store) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `tower_sessions::SessionStore` is not implemented for `tower_sessions_redis_store::RedisStore<tower_sessions_redis_store::fred::clients::RedisPool>` | = help: the following other types implement trait `tower_sessions::SessionStore`: tower_sessions::MemoryStore tower_sessions::CachingSessionStore<Cache, Store> note: required by a bound in `tower_sessions::SessionManagerLayer` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-sessions-0.12.1/src/service.rs:278:39 | 278 | pub struct SessionManagerLayer<Store: SessionStore, C: CookieController = PlaintextCookie> { | ^^^^^^^^^^^^ required by this bound in `SessionManagerLayer`
the method `with_secure` exists for struct `SessionManagerLayer<RedisStore<RedisPool>>`, but its trait bounds were not satisfied: src/startup.rs#L64
error[E0599]: the method `with_secure` exists for struct `SessionManagerLayer<RedisStore<RedisPool>>`, but its trait bounds were not satisfied --> src/startup.rs:64:10 | 63 | let session_layer = SessionManagerLayer::new(session_store) | _________________________- 64 | | .with_secure( | | -^^^^^^^^^^^ method cannot be called on `SessionManagerLayer<RedisStore<RedisPool>>` due to unsatisfied trait bounds | |_________| | | ::: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-sessions-redis-store-0.10.0/src/lib.rs:36:1 | 36 | pub struct RedisStore<C: KeysInterface + Send + Sync> { | ----------------------------------------------------- doesn't satisfy `_: SessionStore` | = note: the following trait bounds were not satisfied: `tower_sessions_redis_store::RedisStore<tower_sessions_redis_store::fred::clients::RedisPool>: tower_sessions::SessionStore`
the trait bound `tower_sessions_redis_store::RedisStore<tower_sessions_redis_store::fred::clients::RedisPool>: tower_sessions::SessionStore` is not satisfied: src/startup.rs#L63
error[E0277]: the trait bound `tower_sessions_redis_store::RedisStore<tower_sessions_redis_store::fred::clients::RedisPool>: tower_sessions::SessionStore` is not satisfied --> src/startup.rs:63:50 | 63 | let session_layer = SessionManagerLayer::new(session_store) | ------------------------ ^^^^^^^^^^^^^ the trait `tower_sessions::SessionStore` is not implemented for `tower_sessions_redis_store::RedisStore<tower_sessions_redis_store::fred::clients::RedisPool>` | | | required by a bound introduced by this call | = help: the following other types implement trait `tower_sessions::SessionStore`: tower_sessions::MemoryStore tower_sessions::CachingSessionStore<Cache, Store> note: required by a bound in `tower_sessions::SessionManagerLayer::<Store>::new` --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tower-sessions-0.12.1/src/service.rs:459:13 | 459 | impl<Store: SessionStore> SessionManagerLayer<Store> { | ^^^^^^^^^^^^ required by this bound in `SessionManagerLayer::<Store>::new` ... 471 | pub fn new(session_store: Store) -> Self { | --- required by a bound in this associated function
Clippy
Clippy had exited with the 101 exit code
Rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Rustfmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Rustfmt
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2, actions-rs/toolchain@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions-rs/toolchain@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@v2, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions/cache@v2, actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Clippy
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/