Skip to content

Compiler throw errors after pr #365 merged #368

@zhaodiaoer

Description

@zhaodiaoer

After #365 merged, i got many error from compiler in my develop environment:

error[E0277]: the trait bound `std::boxed::Box<<T as asynchronous::Shim>::T>: containerd_shim_protos::shim_async::Task` is not satisfied
   --> crates/shim/src/asynchronous/mod.rs:181:44
    |
181 |             let task_service = create_task(Arc::new(Box::new(task)));
    |                                            ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `containerd_shim_protos::shim_async::Task` is not implemented for `std::boxed::Box<<T as asynchronous::Shim>::T>`

All error gone away after just roll back this change, when read some context from #363 , i guess maybe some error originated from CI environment config, if rust version which CI job used not 1.81.0 ?

Kindly ping @jokemanfire ,#367 maybe want to fix the same problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions