$ cargo +1.73 check
Checking libc v0.2.154
Compiling libz-sys v1.1.16
Checking cfg-if v1.0.0
Checking zlib-rs v0.1.1 (/home/jbp/zlib-rs/zlib-rs)
Checking libloading v0.8.3
error[E0658]: mutable references are not allowed in constant functions
--> zlib-rs/src/deflate/algorithm/mod.rs:58:9
|
58 | func: CompressFunc,
| ^^^^
|
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
For more information about this error, try `rustc --explain E0658`.
error: could not compile `zlib-rs` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
Current main fails to build with 1.73: