-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
error when building #92
Comments
I have the same problem. I wanted to use color-eyre 0.6.2 which uses the latest verison here. I really wonder how this does not attract more attention. |
Can you share what |
Hi,
I also tried it with nighlty and rustc 1.78.0 but the same happens. |
I'm also having this issue, Rust 1.76 stable, but I'm on M1 (arm) apple, not x86. I also filed this under lazy_static: rust-lang-nursery/lazy-static.rs#217 Other resources I found: |
I just hit this issue on rustc 1.78.0. I tried clearing the cargo registry ( I usually have I sincerely hope that no one else has to go looking for advice on this, though. |
Well, that's certainly strange! |
error[E0195]: lifetime parameters or bounds on type
Target
do not match the trait declaration--> /Users/altanis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sharded-slab-0.1.7/src/tid.rs:32:1
|
32 | / lazy_static! {
33 | | static ref REGISTRY: Registry = Registry {
34 | | next: AtomicUsize::new(0),
35 | | free: Mutex::new(VecDeque::new()),
36 | | };
37 | | }
| |_^ lifetimes do not match type in trait
|
= note: this error originates in the macro
__lazy_static_internal
which comes from the expansion of the macrolazy_static
(in Nightly builds, run with -Z macro-backtrace for more info)Compiling thread_local v1.1.7
error[E0609]: no field
free
on typeREGISTRY
--> /Users/altanis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sharded-slab-0.1.7/src/tid.rs:150:14
|
150 | .free
| ^^^^ unknown field
|
= note: available fields are:
__private_field
error[E0609]: no field
next
on typeREGISTRY
--> /Users/altanis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sharded-slab-0.1.7/src/tid.rs:161:35
|
161 | let id = REGISTRY.next.fetch_add(1, Ordering::AcqRel);
| ^^^^ unknown field
|
= note: available fields are:
__private_field
error[E0609]: no field
free
on typeREGISTRY
--> /Users/altanis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sharded-slab-0.1.7/src/tid.rs:191:42
|
191 | let mut free_list = REGISTRY.free.lock().unwrap_or_else(PoisonError::into_inner);
| ^^^^ unknown field
|
= note: available fields are:
__private_field
Some errors have detailed explanations: E0195, E0609.
For more information about an error, try
rustc --explain E0195
.error: could not compile
sharded-slab
(lib) due to 4 previous errorswarning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered: