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

Error on startup. #70

Closed
NiklasHeneka opened this issue Jan 27, 2024 · 3 comments
Closed

Error on startup. #70

NiklasHeneka opened this issue Jan 27, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@NiklasHeneka
Copy link
Collaborator

With commit d742da8 I can no longer start the app @kistenklaus.

This is the error from the console:

error[E0658]: use of unstable library feature 'int_roundings'
--> /Users/niklas/.cargo/git/checkouts/can-config-rs-617c2daf7c8870b1/9e21d33/src/builder/message_resolution/set_minimization/priority_bucket.rs:20:30
|
20 | self.message_count().div_ceil(bucket_size)
| ^^^^^^^^
|
= note: see issue #88581 rust-lang/rust#88581 for more information

error[E0658]: use of unstable library feature 'int_roundings'
--> /Users/niklas/.cargo/git/checkouts/can-config-rs-617c2daf7c8870b1/9e21d33/src/builder/message_resolution/set_minimization/priority_bucket.rs:28:34
|
28 | Some(bucket_size.div_ceil(self.message_count() / bucket_size - 1))
| ^^^^^^^^
|
= note: see issue #88581 rust-lang/rust#88581 for more information

error[E0658]: use of unstable library feature 'int_roundings'
--> /Users/niklas/.cargo/git/checkouts/can-config-rs-617c2daf7c8870b1/9e21d33/src/builder/message_resolution/set_minimization/priority_bucket.rs:30:27
|
30 | Some(rest.div_ceil(self.message_count() / bucket_size))
| ^^^^^^^^
|
= note: see issue #88581 rust-lang/rust#88581 for more information

For more information about this error, try rustc --explain E0658.
error: could not compile can-config-rs (lib) due to 3 previous errors

@NiklasHeneka NiklasHeneka added the bug Something isn't working label Jan 27, 2024
@kistenklaus
Copy link
Contributor

cant reproduce can you give me the cargo version @NiklasHeneka

@NiklasHeneka
Copy link
Collaborator Author

Updating rustup solved the issue.

@kistenklaus
Copy link
Contributor

to fix run

rustup update

and check that the version is above 1.75.

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