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
{{ message }}
Repository navigation
1.97 beta regression due to TryFromIntError changing size #157363
We make no guarantees about the internals of std types (unless specified) so I'm not sure we need a release note mention. Maybe this type should have a constructor if other crates want to make use of it?
There's also another "regression" related to TryFromIntError. But this time, it's due to the Debug output changing:
[INFO] [stdout] note: panic did not contain expected string
[INFO] [stdout] panic message: "index out of bounds: TryFromIntError(NegOverflow)"
[INFO] [stdout] expected substring: "index out of bounds: TryFromIntError(())"
Derived Debug formats are not stable, and so may change with future Rust versions. Additionally, Debug implementations of types provided by the standard library (std, core, alloc, etc.) are not stable, and may also change with future Rust versions.
Activity
tgross35 commentedon Jun 3, 2026
Opened an issue nlordell/ethnum-rs#60.
We make no guarantees about the internals of std types (unless specified) so I'm not sure we need a release note mention. Maybe this type should have a constructor if other crates want to make use of it?
theemathas commentedon Jun 3, 2026
@tgross ethnum is already fixed. This regression affects only dependents of older versions.
nlordell commentedon Jun 4, 2026
This should have been fixed here: nlordell/ethnum-rs#58 and released in 1.5.3.
theemathas commentedon Jun 4, 2026
There's also another "regression" related to
TryFromIntError. But this time, it's due to theDebugoutput changing:https://crater-reports.s3.amazonaws.com/beta-1.97-3-v2/1.97.0-beta.1/reg/univec-1.1.0/log.txt
Edit: Another crate had the same regression.
https://crater-reports.s3.amazonaws.com/beta-1.97-3-v2/1.97.0-beta.1/reg/roundable-0.2.0/log.txt
Edit 2: Yet another crate.
https://crater-reports.s3.amazonaws.com/beta-1.97-3-v2/1.97.0-beta.1/gh/qter-project.puzzle-theory/log.txt
cuviper commentedon Jun 4, 2026
https://doc.rust-lang.org/nightly/std/fmt/trait.Debug.html#stability
the8472 commentedon Jun 10, 2026
We discussed this during today's T-libs meeting and consider this acceptable breakage.
Vendor a patched ethnum to fix a real upstream wasm/stable-Rust regre…
fix(ci): pin ethnum to 1.5.3 to fix build failure on rustc >=1.97
Pin ethnum 1.5.3 via [patch.crates-io] and repair three stale tests
Pin Rust toolchain to 1.96.0 to dodge an upstream ethnum/rustc regres…
fix(ci): pin Rust toolchain to 1.96.0 to unblock contract checks