twenty-first 0.43.0

Collection of mathematics routines and cryptography for the twenty-first century.
Documentation
Build #1485109 2024-10-29T11:37:55.476405+00:00
# rustc version
rustc 1.84.0-nightly (3f1be1ec7 2024-10-28)# docs.rs version
docsrs 0.6.0 (83e30f05 2024-10-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/twenty-first-0.43.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/twenty-first-0.43.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241028-1.84.0-nightly-3f1be1ec7\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 8ee5aa00e6f58443361f212f9373fbeb6df7771b5a521d4d334d682ae96a98fd
[INFO] running `Command { std: "docker" "start" "-a" "8ee5aa00e6f58443361f212f9373fbeb6df7771b5a521d4d334d682ae96a98fd", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting twenty-first v0.43.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0080]: evaluation of constant value failed
[INFO] [stderr]   --> src/util_types/merkle_tree.rs:33:30
[INFO] [stderr]    |
[INFO] [stderr] 33 | const MAX_NUM_NODES: usize = 1 << 32;
[INFO] [stderr]    |                              ^^^^^^^ attempt to shift left by `32_i32`, which would overflow
[INFO] [stderr] 
[INFO] [stderr] note: erroneous constant encountered
[INFO] [stderr]   --> src/util_types/merkle_tree.rs:34:30
[INFO] [stderr]    |
[INFO] [stderr] 34 | const MAX_NUM_LEAFS: usize = MAX_NUM_NODES / 2;
[INFO] [stderr]    |                              ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] note: erroneous constant encountered
[INFO] [stderr]   --> src/util_types/merkle_tree.rs:37:36
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub const MAX_TREE_HEIGHT: usize = MAX_NUM_LEAFS.ilog2() as usize;
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0080`.
[INFO] [stderr] error: could not document `twenty-first`
[INFO] running `Command { std: "docker" "inspect" "8ee5aa00e6f58443361f212f9373fbeb6df7771b5a521d4d334d682ae96a98fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8ee5aa00e6f58443361f212f9373fbeb6df7771b5a521d4d334d682ae96a98fd", kill_on_drop: false }`
[INFO] [stdout] 8ee5aa00e6f58443361f212f9373fbeb6df7771b5a521d4d334d682ae96a98fd