aarch64 broken #128

Closed
opened 2021-01-22 08:02:24 +02:00 by colemickens · 1 comment
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 ```

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.
Manos Pitsidianakis added the
bug
label 2021-01-26 18:40:19 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: meli/meli#128
There is no content yet.