#98 aarch64 broken

Open
opened 2 months ago by colemickens · 1 comments
error[E0308]: mismatched types
   --> melib/src/datetime.rs:140:21
    |
140 |                     b"C\0".as_ptr() as *const i8,
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

error[E0308]: mismatched types
   --> melib/src/datetime.rs:282:17
    |
282 |                 b"C\0".as_ptr() as *const i8,
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

error[E0308]: mismatched types
   --> melib/src/datetime.rs:343:17
    |
343 |                 b"C\0".as_ptr() as *const i8,
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8`
    |
    = note: expected raw pointer `*const u8`
               found raw pointer `*const i8`

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0308`.
error: could not compile `melib`

To learn more, run the command again with --verbose.
error: --- Error --- nix-daemon
builder for '/nix/store/dhk0v3w8whggav4g85q4wpcpcccks03a-meli-d16866e0f0e97d1e01502b83c5c58361d169e35f.drv' failed with exit code 101; last 10 log lines:
      |
      = note: expected raw pointer `*const u8`
                 found raw pointer `*const i8`
   
  error: aborting due to 3 previous errors
   
  For more information about this error, try `rustc --explain E0308`.
  error: could not compile `melib`
   
  To learn more, run the command again with --verbose.
error: --- Error -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix-build
error: --- Error --- nix-daemon
1 dependencies of derivation '/nix/store/90nsj2bz9c0xww8j1s1ri9v8prk4s5a0-aarch64-linux-outputs.drv' failed to build

```console error[E0308]: mismatched types --> melib/src/datetime.rs:140:21 | 140 | b"C\0".as_ptr() as *const i8, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> melib/src/datetime.rs:282:17 | 282 | b"C\0".as_ptr() as *const i8, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error[E0308]: mismatched types --> melib/src/datetime.rs:343:17 | 343 | b"C\0".as_ptr() as *const i8, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0308`. error: could not compile `melib` To learn more, run the command again with --verbose. error: --- Error --- nix-daemon builder for '/nix/store/dhk0v3w8whggav4g85q4wpcpcccks03a-meli-d16866e0f0e97d1e01502b83c5c58361d169e35f.drv' failed with exit code 101; last 10 log lines: | = note: expected raw pointer `*const u8` found raw pointer `*const i8` error: aborting due to 3 previous errors For more information about this error, try `rustc --explain E0308`. error: could not compile `melib` To learn more, run the command again with --verbose. error: --- Error -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- nix-build error: --- Error --- nix-daemon 1 dependencies of derivation '/nix/store/90nsj2bz9c0xww8j1s1ri9v8prk4s5a0-aarch64-linux-outputs.drv' failed to build ```
epilys commented 2 months ago
Poster
Owner

Thank you for the report, I have exams now so it might be a while before I have the time to push a fix.

Thank you for the report, I have exams now so it might be a while before I have the time to push a fix.
epilys added the
bug
label 2 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.