Skip to content

Fix serialization for Duration* and Timestamp* types for very large values #2181

Fix serialization for Duration* and Timestamp* types for very large values

Fix serialization for Duration* and Timestamp* types for very large values #2181

Triggered via pull request December 25, 2024 21:38
@jonasbbjonasbb
synchronize #772
bug-771
Status Failure
Total duration 1m 11s
Artifacts

ci.yaml

on: pull_request
Matrix: Build and Test
Matrix: clippy_check
Matrix: Rustfmt
Tests result
0s
Tests result
Fit to window
Zoom out
Zoom in

Annotations

61 errors and 5 warnings
clippy_check (ubuntu-latest, stable): serde_with/src/utils/duration.rs#L12
unused import: `num_traits::ToPrimitive as _`
clippy_check (ubuntu-latest, stable): serde_with/src/utils.rs#L4
unused import: `num_traits::ToPrimitive as _`
clippy_check (ubuntu-latest, stable): serde_with/src/utils.rs#L38
constant `NANOS_PER_SEC` is never used
clippy_check (ubuntu-latest, stable): serde_with/src/utils.rs#L45
constant `U64_MAX` is never used
clippy_check (ubuntu-latest, stable)
Process completed with exit code 101.
clippy_check (ubuntu-latest, nightly): serde_with/src/utils/duration.rs#L12
unused import: `num_traits::ToPrimitive as _`
clippy_check (ubuntu-latest, nightly): serde_with/src/utils.rs#L4
unused import: `num_traits::ToPrimitive as _`
clippy_check (ubuntu-latest, nightly): serde_with/src/utils.rs#L38
constant `NANOS_PER_SEC` is never used
clippy_check (ubuntu-latest, nightly): serde_with/src/utils.rs#L45
constant `U64_MAX` is never used
clippy_check (ubuntu-latest, nightly)
Process completed with exit code 101.
Build and Test (ubuntu-latest, nightly): serde_with/src/utils/duration.rs#L12
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, nightly): serde_with/src/utils.rs#L4
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, nightly): serde_with/src/utils.rs#L38
constant `NANOS_PER_SEC` is never used
Build and Test (ubuntu-latest, nightly): serde_with/src/utils.rs#L45
constant `U64_MAX` is never used
Build and Test (ubuntu-latest, nightly)
Process completed with exit code 101.
Build and Test (windows-latest, 1.70)
The job was canceled because "ubuntu-latest_nightly" failed.
Build and Test (windows-latest, 1.80)
The job was canceled because "ubuntu-latest_nightly" failed.
Build and Test (windows-latest, beta)
The job was canceled because "ubuntu-latest_nightly" failed.
Build and Test (windows-latest, nightly)
The job was canceled because "ubuntu-latest_nightly" failed.
Build and Test (windows-latest, 1.75)
The job was canceled because "ubuntu-latest_nightly" failed.
Build and Test (ubuntu-latest, beta)
The job was canceled because "ubuntu-latest_nightly" failed.
Build and Test (ubuntu-latest, beta): serde_with/src/utils/duration.rs#L12
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, beta): serde_with/src/utils.rs#L4
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, beta): serde_with/src/utils.rs#L38
constant `NANOS_PER_SEC` is never used
Build and Test (ubuntu-latest, beta): serde_with/src/utils.rs#L45
constant `U64_MAX` is never used
Build and Test (ubuntu-latest, beta)
Process completed with exit code 101.
Build and Test (ubuntu-latest, 1.80)
The job was canceled because "ubuntu-latest_nightly" failed.
Build and Test (ubuntu-latest, 1.80): serde_with/src/utils.rs#L44
the `#[expect]` attribute is an experimental feature
Build and Test (ubuntu-latest, 1.80): serde_with/src/utils.rs#L46
the `#[expect]` attribute is an experimental feature
Build and Test (ubuntu-latest, 1.80): serde_with/src/utils/duration.rs#L12
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, 1.80): serde_with/src/utils.rs#L4
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, 1.80)
Process completed with exit code 101.
Build and Test (ubuntu-latest, 1.70)
The job was canceled because "ubuntu-latest_nightly" failed.
Build and Test (ubuntu-latest, 1.70): serde_with/src/utils.rs#L44
the `#[expect]` attribute is an experimental feature
Build and Test (ubuntu-latest, 1.70): serde_with/src/utils.rs#L46
the `#[expect]` attribute is an experimental feature
Build and Test (ubuntu-latest, 1.70): serde_with/src/utils/duration.rs#L12
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, 1.70): serde_with/src/utils.rs#L4
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, 1.70)
Process completed with exit code 101.
Build and Test (ubuntu-latest, 1.75)
The job was canceled because "ubuntu-latest_nightly" failed.
Build and Test (ubuntu-latest, 1.75): serde_with/src/utils.rs#L44
the `#[expect]` attribute is an experimental feature
Build and Test (ubuntu-latest, 1.75): serde_with/src/utils.rs#L46
the `#[expect]` attribute is an experimental feature
Build and Test (ubuntu-latest, 1.75): serde_with/src/utils/duration.rs#L12
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, 1.75): serde_with/src/utils.rs#L4
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, 1.75)
Process completed with exit code 101.
Build and Test (ubuntu-latest, stable)
The job was canceled because "ubuntu-latest_nightly" failed.
Build and Test (ubuntu-latest, stable): serde_with/src/utils/duration.rs#L12
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, stable): serde_with/src/utils.rs#L4
unused import: `num_traits::ToPrimitive as _`
Build and Test (ubuntu-latest, stable)
The operation was canceled.
Build and Test (windows-latest, stable)
The job was canceled because "ubuntu-latest_nightly" failed.
clippy_check (windows-latest, nightly): serde_with/src/utils/duration.rs#L12
unused import: `num_traits::ToPrimitive as _`
Build and Test (windows-latest, stable)
The operation was canceled.
clippy_check (windows-latest, nightly): serde_with/src/utils.rs#L4
unused import: `num_traits::ToPrimitive as _`
clippy_check (windows-latest, nightly): serde_with/src/utils.rs#L38
constant `NANOS_PER_SEC` is never used
clippy_check (windows-latest, nightly): serde_with/src/utils.rs#L45
constant `U64_MAX` is never used
clippy_check (windows-latest, nightly)
Process completed with exit code 1.
clippy_check (windows-latest, stable): serde_with/src/utils/duration.rs#L12
unused import: `num_traits::ToPrimitive as _`
clippy_check (windows-latest, stable): serde_with/src/utils.rs#L4
unused import: `num_traits::ToPrimitive as _`
clippy_check (windows-latest, stable): serde_with/src/utils.rs#L38
constant `NANOS_PER_SEC` is never used
clippy_check (windows-latest, stable): serde_with/src/utils.rs#L45
constant `U64_MAX` is never used
clippy_check (windows-latest, stable)
Process completed with exit code 1.
Tests result
Process completed with exit code 1.
Rustfmt (stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
clippy_check (ubuntu-latest, stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
clippy_check (ubuntu-latest, nightly)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build and Test (ubuntu-latest, nightly)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests result
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636