error: could not compile ab-merkle-tree (lib) due to 1 previous error
Caused by:
process didn't exit successfully: /home/nazar-pc/.rustup/toolchains/nightly-2026-06-05-x86_64-unknown-linux-gnu/bin/rustc --crate-name ab_merkle_tree --edition=2024 crates/shared/ab-merkle-tree/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=459 --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 '--warn=clippy::restriction' '--warn=clippy::pedantic' --allow=unexpected_cfgs --check-cfg 'cfg(target_arch, values("spirv"))' --cfg 'feature="alloc"' --cfg 'feature="blake3"' --cfg 'feature="no-panic"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "blake3", "no-panic"))' -C metadata=eb08b49561c7a8b2 -C extra-filename=-416f2ac9fa87de93 --out-dir ../target/debug/deps -C incremental=../target/debug/incremental -L dependency=../target/debug/deps --extern ab_blake3=../target/debug/deps/libab_blake3-26a309518180e962.rmeta --extern blake3=../target/debug/deps/libblake3-8c9d0896b35d6bea.rmeta --extern no_panic=../target/debug/deps/libno_panic-97b8f8fee7a6cabc.so -Znext-solver=globally -Zmin-recursion-limit=256 --verbose -L native=../target/debug/build/blake3-51ae43493c8acac9/out -L native=../target/debug/build/blake3-51ae43493c8acac9/out (exit status: 1)
warning: build failed, waiting for other jobs to finish...
error: `generic_const_args` requires -Znext-solver=globally to be enabled
--> crates/shared/ab-merkle-tree/src/lib.rs:36:5
|
36 | generic_const_args,
| ^^^^^^^^^^^^^^^^^^
|
= help: enable all of these features
The crate is clearly compiled with cargo doc and clearly has -Znext-solver=globally in RUSTFLAGS, yet it complains that -Znext-solver=globally is not enabled.
Meta
rustc --version --verbose:
rustc 1.98.0-nightly (e7815e522 2026-06-04)
binary: rustc
commit-hash: e7815e522ecc746592fee32f50478f521333b503
commit-date: 2026-06-04
host: x86_64-unknown-linux-gnu
release: 1.98.0-nightly
LLVM version: 22.1.6
The crate is clearly compiled with
cargo docand clearly has-Znext-solver=globallyinRUSTFLAGS, yet it complains that-Znext-solver=globallyis not enabled.Meta
rustc --version --verbose: