zkevm_circuits 0.140.3

ZKsync Era circuits for EraVM
Documentation
Build #1352927 2024-09-09T09:59:20.327744+00:00
# rustc version
rustc 1.83.0-nightly (9c01301c5 2024-09-05)# docs.rs version
docsrs 0.6.0 (a6155e2c 2024-08-13)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/zkevm_circuits-0.140.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/zkevm_circuits-0.140.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-09-06" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240905-1.83.0-nightly-9c01301c5\", \"--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] e18b5ef61107a08f99d9d0461d7c7c5a02a362de36a321123fd60b0ae9f21d5a
[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" "e18b5ef61107a08f99d9d0461d7c7c5a02a362de36a321123fd60b0ae9f21d5a", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]     Checking boojum v0.30.1
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/implementation_u16.rs:752:49
[INFO] [stderr]     |
[INFO] [stderr] 752 |                 .wrapping_mul(&U1024::from_word(self.tracker.max_moduluses as u64));
[INFO] [stderr]     |                                ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stderr]     |                                |
[INFO] [stderr]     |                                arguments to this function are incorrect
[INFO] [stderr]     |
[INFO] [stderr] note: associated function defined here
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crypto-bigint-0.5.5/src/uint/from.rs:85:18
[INFO] [stderr]     |
[INFO] [stderr] 85  |     pub const fn from_word(n: Word) -> Self {
[INFO] [stderr]     |                  ^^^^^^^^^
[INFO] [stderr] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stderr]     |
[INFO] [stderr] 752 |                 .wrapping_mul(&U1024::from_word((self.tracker.max_moduluses as u64).try_into().unwrap()));
[INFO] [stderr]     |                                                 +                                 +++++++++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/implementation_u16.rs:1060:20
[INFO] [stderr]      |
[INFO] [stderr] 1060 |             *dst = *src;
[INFO] [stderr]      |             ----   ^^^^ expected `u32`, found `u64`
[INFO] [stderr]      |             |
[INFO] [stderr]      |             expected due to the type of this binding
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/implementation_u16.rs:1066:40
[INFO] [stderr]      |
[INFO] [stderr] 1066 |             let tmp = U1024::from_word(el.as_u64_reduced());
[INFO] [stderr]      |                       ---------------- ^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stderr]      |                       |
[INFO] [stderr]      |                       arguments to this function are incorrect
[INFO] [stderr]      |
[INFO] [stderr] note: associated function defined here
[INFO] [stderr]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crypto-bigint-0.5.5/src/uint/from.rs:85:18
[INFO] [stderr]      |
[INFO] [stderr] 85   |     pub const fn from_word(n: Word) -> Self {
[INFO] [stderr]      |                  ^^^^^^^^^
[INFO] [stderr] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stderr]      |
[INFO] [stderr] 1066 |             let tmp = U1024::from_word(el.as_u64_reduced().try_into().unwrap());
[INFO] [stderr]      |                                                           ++++++++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/utils.rs:59:36
[INFO] [stderr]    |
[INFO] [stderr] 59 |         result.as_words_mut()[i] = tmp;
[INFO] [stderr]    |         ------------------------   ^^^ expected `u32`, found `u64`
[INFO] [stderr]    |         |
[INFO] [stderr]    |         expected due to the type of this binding
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/utils.rs:71:36
[INFO] [stderr]    |
[INFO] [stderr] 71 |         result.as_words_mut()[i] = tmp;
[INFO] [stderr]    |         ------------------------   ^^^ expected `u32`, found `u64`
[INFO] [stderr]    |         |
[INFO] [stderr]    |         expected due to the type of this binding
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/utils.rs:81:41
[INFO] [stderr]    |
[INFO] [stderr] 81 |         let as_u1024 = U1024::from_word(el.as_u64_reduced());
[INFO] [stderr]    |                        ---------------- ^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stderr]    |                        |
[INFO] [stderr]    |                        arguments to this function are incorrect
[INFO] [stderr]    |
[INFO] [stderr] note: associated function defined here
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crypto-bigint-0.5.5/src/uint/from.rs:85:18
[INFO] [stderr]    |
[INFO] [stderr] 85 |     pub const fn from_word(n: Word) -> Self {
[INFO] [stderr]    |                  ^^^^^^^^^
[INFO] [stderr] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stderr]    |
[INFO] [stderr] 81 |         let as_u1024 = U1024::from_word(el.as_u64_reduced().try_into().unwrap());
[INFO] [stderr]    |                                                            ++++++++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/utils.rs:103:36
[INFO] [stderr]     |
[INFO] [stderr] 103 |         result.as_words_mut()[i] = tmp;
[INFO] [stderr]     |         ------------------------   ^^^ expected `u32`, found `u64`
[INFO] [stderr]     |         |
[INFO] [stderr]     |         expected due to the type of this binding
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/utils.rs:115:36
[INFO] [stderr]     |
[INFO] [stderr] 115 |         result.as_words_mut()[i] = tmp;
[INFO] [stderr]     |         ------------------------   ^^^ expected `u32`, found `u64`
[INFO] [stderr]     |         |
[INFO] [stderr]     |         expected due to the type of this binding
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/utils.rs:344:16
[INFO] [stderr]     |
[INFO] [stderr] 344 |         *dst = *src;
[INFO] [stderr]     |         ----   ^^^^ expected `u32`, found `u64`
[INFO] [stderr]     |         |
[INFO] [stderr]     |         expected due to the type of this binding
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/utils.rs:351:16
[INFO] [stderr]     |
[INFO] [stderr] 351 |         *dst = *src;
[INFO] [stderr]     |         ----   ^^^^ expected `u64`, found `u32`
[INFO] [stderr]     |         |
[INFO] [stderr]     |         expected due to the type of this binding
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/mod.rs:41:62
[INFO] [stderr]    |
[INFO] [stderr] 41 |         let total = modulus.saturating_mul(&U1024::from_word(self.max_moduluses as u64));
[INFO] [stderr]    |                                             ---------------- ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stderr]    |                                             |
[INFO] [stderr]    |                                             arguments to this function are incorrect
[INFO] [stderr]    |
[INFO] [stderr] note: associated function defined here
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/crypto-bigint-0.5.5/src/uint/from.rs:85:18
[INFO] [stderr]    |
[INFO] [stderr] 85 |     pub const fn from_word(n: Word) -> Self {
[INFO] [stderr]    |                  ^^^^^^^^^
[INFO] [stderr] help: you can convert a `u64` to a `u32` and panic if the converted value doesn't fit
[INFO] [stderr]    |
[INFO] [stderr] 41 |         let total = modulus.saturating_mul(&U1024::from_word((self.max_moduluses as u64).try_into().unwrap()));
[INFO] [stderr]    |                                                              +                         +++++++++++++++++++++
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/mod.rs:52:35
[INFO] [stderr]    |
[INFO] [stderr] 52 |         other.as_words_mut()[0] = self.max_moduluses as u64;
[INFO] [stderr]    |         -----------------------   ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stderr]    |         |
[INFO] [stderr]    |         expected due to the type of this binding
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/mod.rs:59:35
[INFO] [stderr]    |
[INFO] [stderr] 59 |         other.as_words_mut()[0] = self.max_moduluses as u64;
[INFO] [stderr]    |         -----------------------   ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stderr]    |         |
[INFO] [stderr]    |         expected due to the type of this binding
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/mod.rs:110:20
[INFO] [stderr]     |
[INFO] [stderr] 110 |             *dst = *src;
[INFO] [stderr]     |             ----   ^^^^ expected `u32`, found `u64`
[INFO] [stderr]     |             |
[INFO] [stderr]     |             expected due to the type of this binding
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/mod.rs:122:43
[INFO] [stderr]     |
[INFO] [stderr] 122 |         assert!(max_mods_in_allocation <= u32::MAX as u64);
[INFO] [stderr]     |                 ----------------------    ^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 expected because this is `u32`
[INFO] [stderr]     |
[INFO] [stderr] help: you can convert `max_mods_in_allocation` from `u32` to `u64`, matching the type of `u32::MAX as u64`
[INFO] [stderr]     |
[INFO] [stderr] 122 |         assert!(u64::from(max_mods_in_allocation) <= u32::MAX as u64);
[INFO] [stderr]     |                 ++++++++++                      +
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/mod.rs:126:43
[INFO] [stderr]     |
[INFO] [stderr] 126 |         assert!(max_mods_in_allocation <= u32::MAX as u64);
[INFO] [stderr]     |                 ----------------------    ^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 expected because this is `u32`
[INFO] [stderr]     |
[INFO] [stderr] help: you can convert `max_mods_in_allocation` from `u32` to `u64`, matching the type of `u32::MAX as u64`
[INFO] [stderr]     |
[INFO] [stderr] 126 |         assert!(u64::from(max_mods_in_allocation) <= u32::MAX as u64);
[INFO] [stderr]     |                 ++++++++++                      +
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/boojum-0.30.1/src/gadgets/non_native_field/implementations/mod.rs:137:36
[INFO] [stderr]     |
[INFO] [stderr] 137 |         assert!(max_mods_to_fit <= u32::MAX as u64);
[INFO] [stderr]     |                 ---------------    ^^^^^^^^^^^^^^^ expected `u32`, found `u64`
[INFO] [stderr]     |                 |
[INFO] [stderr]     |                 expected because this is `u32`
[INFO] [stderr]     |
[INFO] [stderr] help: you can convert `max_mods_to_fit` from `u32` to `u64`, matching the type of `u32::MAX as u64`
[INFO] [stderr]     |
[INFO] [stderr] 137 |         assert!(u64::from(max_mods_to_fit) <= u32::MAX as u64);
[INFO] [stderr]     |                 ++++++++++               +
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `boojum` (lib) due to 17 previous errors
[INFO] running `Command { std: "docker" "inspect" "e18b5ef61107a08f99d9d0461d7c7c5a02a362de36a321123fd60b0ae9f21d5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e18b5ef61107a08f99d9d0461d7c7c5a02a362de36a321123fd60b0ae9f21d5a", kill_on_drop: false }`
[INFO] [stdout] e18b5ef61107a08f99d9d0461d7c7c5a02a362de36a321123fd60b0ae9f21d5a