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

Build Error #27

Open
geomlattice opened this issue Aug 19, 2024 · 0 comments
Open

Build Error #27

geomlattice opened this issue Aug 19, 2024 · 0 comments

Comments

@geomlattice
Copy link

Hi I am running into the following build error

error[E0080]: could not evaluate static initializer
   --> /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/num/nonzero.rs:335:21
    |
    = note: entering unreachable code
    |
note: inside `NonZero::<u32>::new_unchecked`
   --> /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/num/nonzero.rs:335:21
note: inside `Entry::new`
   --> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pdf_encoding-0.3.0/src/lib.rs:154:17
    |
154 |                 NonZeroU32::new_unchecked(c as u32)
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: inside `c`
   --> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pdf_encoding-0.3.0/src/lib.rs:168:10
    |
168 |     Some(Entry::new(c))
    |          ^^^^^^^^^^^^^
note: inside `WINANSI`
   --> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pdf_encoding-0.3.0/src/cp1252.rs:2:2
    |
2   |  c('\u{0000}'), c('\u{0001}'), c('\u{0002}'), c('\u{0003}'), c('\u{0004}'), c('\u{0005}'), c('\u{0006}'), c('\u{0007}'),
    |  ^^^^^^^^^^^^^

error[E0080]: could not evaluate static initializer
   --> /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/num/nonzero.rs:335:21
    |
    = note: entering unreachable code
    |
note: inside `NonZero::<u32>::new_unchecked`
   --> /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/core/src/num/nonzero.rs:335:21
note: inside `Entry::new`
   --> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pdf_encoding-0.3.0/src/lib.rs:154:17
    |
154 |                 NonZeroU32::new_unchecked(c as u32)
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: inside `c`
   --> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pdf_encoding-0.3.0/src/lib.rs:168:10
    |
168 |     Some(Entry::new(c))
    |          ^^^^^^^^^^^^^
note: inside `MACROMAN`
   --> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pdf_encoding-0.3.0/src/macroman.rs:2:2
    |
2   |  c('\u{0000}'), c('\u{0001}'), c('\u{0002}'), c('\u{0003}'), c('\u{0004}'), c('\u{0005}'), c('\u{0006}'), c('\u{0007}'),
    |  ^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0080`.
error: could not compile `pdf_encoding` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

What could be going on? What are steps to move forward?

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

1 participant