ccextractor does not build with rust 1.54.0 #847

Open
opened 2026-01-29 16:55:01 +00:00 by claunia · 0 comments
Owner

Originally created by @loz-hurst on GitHub (Nov 17, 2025).

Documentation (and build script) says minimum rust version is 1.54 but building with that version (e.g. installing rust via apt on Debian bookworm) fails with this error:

# ./build
Running pre-build script...
Obtaining Git commit
Storing variables in file
Commit: 42d750950a79db328ff8761d0b8acc3cc0f21099
Date: 2025-11-17
Stored all in compile_info_real.h
Done.
Trying to compile...
Checking for cargo...
rustc >= MSRV(1.54.0)
Building rust files...
   Compiling ccx_rust v0.1.0 (/tmp/ccextractor/src/rust)
error[E0658]: use of unstable library feature `unsigned_is_multiple_of`
   --> src/es/pic.rs:253:45
    |
253 |             || dec_ctx.total_pulldownfields.is_multiple_of(2)
    |                                             ^^^^^^^^^^^^^^
    |
    = note: see issue #128101 <https://github.com/rust-lang/rust/issues/128101> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `ccx_rust` (lib) due to 1 previous error
Failed.

I suspect this just needs the minimum version of rust bumping up, following the integration of ebd8252b (merge request: #1753) for compatibility with 1.90.

Originally created by @loz-hurst on GitHub (Nov 17, 2025). Documentation (and build script) says minimum rust version is 1.54 but building with that version (e.g. installing rust via `apt` on Debian bookworm) fails with this error: ``` # ./build Running pre-build script... Obtaining Git commit Storing variables in file Commit: 42d750950a79db328ff8761d0b8acc3cc0f21099 Date: 2025-11-17 Stored all in compile_info_real.h Done. Trying to compile... Checking for cargo... rustc >= MSRV(1.54.0) Building rust files... Compiling ccx_rust v0.1.0 (/tmp/ccextractor/src/rust) error[E0658]: use of unstable library feature `unsigned_is_multiple_of` --> src/es/pic.rs:253:45 | 253 | || dec_ctx.total_pulldownfields.is_multiple_of(2) | ^^^^^^^^^^^^^^ | = note: see issue #128101 <https://github.com/rust-lang/rust/issues/128101> for more information For more information about this error, try `rustc --explain E0658`. error: could not compile `ccx_rust` (lib) due to 1 previous error Failed. ``` I suspect this just needs the minimum version of rust bumping up, following the integration of ebd8252b (merge request: #1753) for compatibility with 1.90.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#847