Location: and
Clippy lint: /
Both lines cast to without checked conversion:
On 64-bit targets (the default on x86_64 Linux/macOS/Windows), is 64 bits while is 32 bits. If either collection exceeds entries, the cast silently truncates. While (≈4.3B) is large, build artifacts or very long analysis runs could plausibly exceed this.
Fix: Use for these fields in the analytics schema, or use / to handle overflow explicitly.
Existing issues: Issue #545 covers a similar truncation in but is specifically about . These analytics fields are independent and not yet addressed.
Location: and
Clippy lint: /
Both lines cast to without checked conversion:
On 64-bit targets (the default on x86_64 Linux/macOS/Windows), is 64 bits while is 32 bits. If either collection exceeds entries, the cast silently truncates. While (≈4.3B) is large, build artifacts or very long analysis runs could plausibly exceed this.
Fix: Use for these fields in the analytics schema, or use / to handle overflow explicitly.
Existing issues: Issue #545 covers a similar truncation in but is specifically about . These analytics fields are independent and not yet addressed.