Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Associated type defaults are not stable, broken since 0.3.2 #2811

Closed
drahnr opened this issue Jun 11, 2024 · 2 comments
Closed

Associated type defaults are not stable, broken since 0.3.2 #2811

drahnr opened this issue Jun 11, 2024 · 2 comments

Comments

@drahnr
Copy link

drahnr commented Jun 11, 2024

  --> /home/bernhard/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcontainer-0.3.2/src/workload/mod.rs:56:5
   |
56 |     type Error = ExecutorError;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #29661 <https://github.com/rust-lang/rust/issues/29661> for more information

error[E0191]: the value of the associated type `Error` in `Executor` must be specified
  --> /home/bernhard/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcontainer-0.3.2/src/container/builder.rs:25:34
   |
25 |     pub(super) executor: Box<dyn Executor>,
   |                                  ^^^^^^^^ help: specify the associated type: `Executor<Error = Type>`
   |
  ::: /home/bernhard/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libcontainer-0.3.2/src/workload/mod.rs:56:5
   |
56 |     type Error = ExecutorError;
   |     ---------- `Error` defined here
@YJDoc2
Copy link
Collaborator

YJDoc2 commented Jun 12, 2024

Hey, can you give some more info, like what are your deps, where are you using this, how did you get this error etc? Thanks!

@YJDoc2
Copy link
Collaborator

YJDoc2 commented Aug 27, 2024

Closing this as -

  1. no details available
  2. we just releases a major release of 0.4.0

If anyone is still facing compilation issues, I'd suggest using latest 0.4.* versions, or comment with more details so we can take a better look. Thanks :)

@YJDoc2 YJDoc2 closed this as completed Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants