-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
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?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels