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

cargo install gluon_repl fails to compile #957

Closed
rowanfr opened this issue Aug 31, 2023 · 1 comment
Closed

cargo install gluon_repl fails to compile #957

rowanfr opened this issue Aug 31, 2023 · 1 comment

Comments

@rowanfr
Copy link
Contributor

rowanfr commented Aug 31, 2023

When I try to run cargo install gluon_repl it fails to install due to:

error[E0308]: mismatched types
    --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/gluon_base-0.18.0/src/types/mod.rs:1042:24
     |
1042 | const _: [(); 8 * 6] = [(); std::mem::size_of::<Type<Symbol, ArcType>>()];
     |               -----    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an array with a fixed size of 48 elements, found one with 40 elements
     |               |
     |               help: consider specifying the actual array length: `40`

   Compiling rand_core v0.6.4
   Compiling num_cpus v1.16.0
For more information about this error, try `rustc --explain E0308`.
error: could not compile `gluon_base` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `gluon_repl v0.18.0`, intermediate artifacts can be found at `/tmp/cargo-installSWuQke`

I've removed the other package compilation messages to focus on the error message

@Marwes
Copy link
Member

Marwes commented Sep 9, 2023

Closed by #959 . Thanks!

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

Successfully merging a pull request may close this issue.

2 participants