You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the merging of #167 I'm seeing overflows when testing on raspberry pi 4 arm64.
It's possible that this is an issue with Roc instead of in basic-cli.
roc test ./platform/Utc.roc
+ test_command='── EXPECT FAILED in ./platform/Utc.roc ─────────────────────────────────────────
This expectation failed:
64│ expect deltaAsNanos (fromNanosSinceEpoch 1) (fromNanosSinceEpoch 2) == 1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
── EXPECT FAILED in ./platform/Utc.roc ─────────────────────────────────────────
This expectation failed:
65│ expect deltaAsNanos (fromNanosSinceEpoch -1) (fromNanosSinceEpoch 1) == 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
── EXPECT FAILED in ./platform/Utc.roc ─────────────────────────────────────────
This expectation failed:
66│ expect deltaAsNanos (fromNanosSinceEpoch Num.minI128) (fromNanosSinceEpoch Num.maxI128) == Num.maxU128
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
── EXPECT PANICKED in ./platform/Utc.roc ───────────────────────────────────────
This expectation crashed while running:
68│ expect deltaAsMillis (fromMillisSinceEpoch 0) (fromMillisSinceEpoch 0) == 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The crash reported this message:
Integer multiplication overflowed!
── EXPECT PANICKED in ./platform/Utc.roc ───────────────────────────────────────
This expectation crashed while running:
69│ expect deltaAsMillis (fromNanosSinceEpoch 1) (fromNanosSinceEpoch 2) == 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The crash reported this message:
Integer multiplication overflowed!
── EXPECT PANICKED in ./platform/Utc.roc ───────────────────────────────────────
This expectation crashed while running:
70│ expect deltaAsMillis (fromMillisSinceEpoch 1) (fromMillisSinceEpoch 2) == 1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The crash reported this message:
Integer multiplication overflowed!
── EXPECT PANICKED in ./platform/Utc.roc ───────────────────────────────────────
This expectation crashed while running:
71│ expect deltaAsMillis (fromMillisSinceEpoch -1) (fromMillisSinceEpoch 1) == 2
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The crash reported this message:
Integer multiplication overflowed!
── EXPECT PANICKED in ./platform/Utc.roc ───────────────────────────────────────
This expectation crashed while running:
72│ expect deltaAsMillis (fromNanosSinceEpoch Num.minI128) (fromNanosSinceEpoch Num.maxI128) == Num.maxU128 // nanosPerMilli
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The crash reported this message:
Integer multiplication overflowed!
8 failed and 1 passed in 567 ms.'
The text was updated successfully, but these errors were encountered:
After the merging of #167 I'm seeing overflows when testing on raspberry pi 4 arm64.
It's possible that this is an issue with Roc instead of in basic-cli.
The text was updated successfully, but these errors were encountered: