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

Bug report for trillium-testing: after adding as dependency project does not compile #678

Open
DreamTexX opened this issue Aug 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@DreamTexX
Copy link

Describe the bug
After adding trillium-testing as a dependency (or test dependency) the project does not compile anymore.

To Reproduce
Steps to reproduce the behavior:

  1. Add trillium-testing v0.7.0 to the project
  2. Run "cargo test"

Log

error[E0432]: unresolved import `concurrent_queue::ForcePushError`
  --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/async-channel-2.3.0/src/lib.rs:50:41
   |
50 | use concurrent_queue::{ConcurrentQueue, ForcePushError, PopError, PushError};
   |                                         ^^^^^^^^^^^^^^ no `ForcePushError` in the root

error[E0599]: no method named `force_push` found for struct `ConcurrentQueue` in the current scope
   --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/async-channel-2.3.0/src/lib.rs:313:34
    |
313 |         match self.channel.queue.force_push(msg) {
    |                                  ^^^^^^^^^^ method not found in `ConcurrentQueue<T>`

error: could not compile `async-channel` (lib) due to 2 previous errors
@DreamTexX DreamTexX added the bug Something isn't working label Aug 18, 2024
@jbr
Copy link
Contributor

jbr commented Aug 27, 2024

This does not seem like a trillium issue directly, but might be resolved by running cargo update? I'll take a look at async channel to see if there is more info over there and update this issue accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants