triton-vm 0.43.0

A virtual machine that comes with Algebraic Execution Tables (AET) and Arithmetic Intermediate Representations (AIR) for use in combination with a STARK proof system to allow proving correct execution of arbitrary programs in zero-knowledge.
Documentation
Build #1535867 2024-11-14T13:09:26.411993+00:00
# rustc version
rustc 1.84.0-nightly (8adb4b30f 2024-11-13)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/triton-vm-0.43.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/triton-vm-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\", \"-20241113-1.84.0-nightly-8adb4b30f\", \"--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] [stdout] d68064548553d9ceca95e8ff6972b6d47095d2a8f82da77a8614b918ef6cc24e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d68064548553d9ceca95e8ff6972b6d47095d2a8f82da77a8614b918ef6cc24e", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: factorial
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking twenty-first v0.43.0
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking prettyplease v0.2.22
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking plotters v0.3.6
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking is-terminal v0.4.13
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking oorandom v11.1.4
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling triton-vm v0.43.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking indexmap v2.5.0
[INFO] [stderr]     Checking colored v2.1.0
[INFO] [stderr] error[E0080]: evaluation of constant value failed
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/twenty-first-0.43.0/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]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/twenty-first-0.43.0/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]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/twenty-first-0.43.0/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]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stderr] For more information about this error, try `rustc --explain E0080`.
[INFO] [stderr] error: could not compile `twenty-first` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "d68064548553d9ceca95e8ff6972b6d47095d2a8f82da77a8614b918ef6cc24e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d68064548553d9ceca95e8ff6972b6d47095d2a8f82da77a8614b918ef6cc24e", kill_on_drop: false }`
[INFO] [stdout] d68064548553d9ceca95e8ff6972b6d47095d2a8f82da77a8614b918ef6cc24e