-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
I'm upgrading to version 1.0.0, but the compilation failed.
https://github.com/spring-rs/spring-rs/actions/runs/19783650469/job/56687171632?pr=199#step:5:1761
Expected behavior
Compilation successful
Steps to reproduce
Minimal code example
Version
1.0.0-alpha.1
Environment
- OS:
- Rust version:
- Cargo version:
Relevant log output
error[E0107]: struct takes 3 generic arguments but 2 generic arguments were supplied
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/apalis-redis-1.0.0-beta.1/src/lib.rs:283:33
|
283 | |res: Result<Option<Task<Args, RedisContext>>, RedisError>| async move {
| ^^^^ ---- ------------ supplied 2 generic arguments
| |
| expected 3 generic arguments
|
note: struct defined here, with 3 generic parameters: `Args`, `Context`, `IdType`
--> /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/apalis-core-1.0.0-beta.2/src/task/mod.rs:138:12
|
138 | pub struct Task<Args, Context, IdType> {
| ^^^^ ---- ------- ------
help: add missing generic argument
|
283 | |res: Result<Option<Task<Args, RedisContext, IdType>>, RedisError>| async move {
| ++++++++Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working