[INFO] fetching crate crypto-bigint-syncless 0.7.0-rc.6... [INFO] testing crypto-bigint-syncless-0.7.0-rc.6 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate crypto-bigint-syncless 0.7.0-rc.6 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate crypto-bigint-syncless 0.7.0-rc.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate crypto-bigint-syncless 0.7.0-rc.6 [INFO] tweaked toml for crates.io crate crypto-bigint-syncless 0.7.0-rc.6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate crypto-bigint-syncless 0.7.0-rc.6 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate crypto-bigint-syncless 0.7.0-rc.6 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unarray v0.1.4 [INFO] [stderr] Downloaded serdect v0.4.1 [INFO] [stderr] Downloaded wit-bindgen v0.45.0 [INFO] [stderr] Downloaded rlp v0.6.1 [INFO] [stderr] Downloaded rustc-hex v2.1.0 [INFO] [stderr] Downloaded base16ct v0.3.0 [INFO] [stderr] Downloaded rusty-fork v0.3.0 [INFO] [stderr] Downloaded tempfile v3.21.0 [INFO] [stderr] Downloaded criterion-plot v0.6.0 [INFO] [stderr] Downloaded winapi-util v0.1.10 [INFO] [stderr] Downloaded clap v4.5.47 [INFO] [stderr] Downloaded hybrid-array v0.4.1 [INFO] [stderr] Downloaded num-modular v0.6.1 [INFO] [stderr] Downloaded proptest v1.7.0 [INFO] [stderr] Downloaded criterion v0.7.0 [INFO] [stderr] Downloaded der v0.8.0-rc.8 [INFO] [stderr] Downloaded wasi v0.14.3+wasi-0.2.4 [INFO] [stderr] Downloaded clap_builder v4.5.47 [INFO] [stderr] Downloaded hex-literal v1.0.0 [INFO] [stderr] Downloaded rand_xorshift v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 852da78dec5f13ce32a06681d62531e49dc50d37e7f7daa47ac6f9a772520c66 [INFO] running `Command { std: "docker" "start" "-a" "852da78dec5f13ce32a06681d62531e49dc50d37e7f7daa47ac6f9a772520c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "852da78dec5f13ce32a06681d62531e49dc50d37e7f7daa47ac6f9a772520c66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "852da78dec5f13ce32a06681d62531e49dc50d37e7f7daa47ac6f9a772520c66", kill_on_drop: false }` [INFO] [stdout] 852da78dec5f13ce32a06681d62531e49dc50d37e7f7daa47ac6f9a772520c66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86e153f36f7c257559d5921bc69e9f190ba6cd6f68708bbccdc0505f1c793b02 [INFO] running `Command { std: "docker" "start" "-a" "86e153f36f7c257559d5921bc69e9f190ba6cd6f68708bbccdc0505f1c793b02", kill_on_drop: false }` [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crypto-bigint-syncless v0.7.0-rc.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mem::ManuallyDrop` [INFO] [stdout] --> src/arky.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mem::ManuallyDrop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 31.83s [INFO] running `Command { std: "docker" "inspect" "86e153f36f7c257559d5921bc69e9f190ba6cd6f68708bbccdc0505f1c793b02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e153f36f7c257559d5921bc69e9f190ba6cd6f68708bbccdc0505f1c793b02", kill_on_drop: false }` [INFO] [stdout] 86e153f36f7c257559d5921bc69e9f190ba6cd6f68708bbccdc0505f1c793b02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a639e45e5dca9c9d8d7ce79a405fe3b5d40db8060c8fdc70fd4891fd63743b2c [INFO] running `Command { std: "docker" "start" "-a" "a639e45e5dca9c9d8d7ce79a405fe3b5d40db8060c8fdc70fd4891fd63743b2c", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling unty v0.0.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling num-modular v0.6.1 [INFO] [stderr] Compiling hex-literal v1.0.0 [INFO] [stderr] Compiling crypto-bigint-syncless v0.7.0-rc.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mem::ManuallyDrop` [INFO] [stdout] --> src/arky.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mem::ManuallyDrop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling bincode v2.0.1 [INFO] [stdout] warning: unused import: `mem::ManuallyDrop` [INFO] [stdout] --> src/arky.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | mem::ManuallyDrop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/impl_modulus.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crypto_bigint::{U64, const_monty_params}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-bigint-syncless` (test "impl_modulus") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/common/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{Encoding, Limb}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/int.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{I256, Odd, U256}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/common/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{Encoding, Limb}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/safegcd.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{Odd, U256}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/safegcd.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crypto_bigint::{BoxedUint, Resize}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/int.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let g_bi = to_bigint(&g); [INFO] [stdout] | ^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_bigint` [INFO] [stdout] ... [INFO] [stdout] 48 | let actual = g.jacobi_symbol(&f) as i8; [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 45 | let g_bi = to_bigint::(&g); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-bigint-syncless` (test "int") due to 5 previous errors [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/common/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{Encoding, Limb}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] --> tests/const_monty_form.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{U256, const_monty_params, modular::ConstMontyParams}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/const_monty_form.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{U256, const_monty_params, modular::ConstMontyParams}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/common/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{Encoding, Limb}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] --> tests/boxed_monty_form.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crypto_bigint::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/boxed_monty_form.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crypto_bigint::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/safegcd.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | let x_bi = to_biguint(&x); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 48 | let actual = x.invert_odd_mod(&m); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 44 | let x_bi = to_biguint::(&x); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/common/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{Encoding, Limb}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] --> tests/uint.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/uint.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/common/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crypto_bigint::{Encoding, Limb}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crypto_bigint` [INFO] [stdout] --> tests/boxed_uint.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crypto_bigint::{BitOps, BoxedUint, CheckedAdd, Gcd, Integer, Limb, NonZero, Odd, Resize}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | if n.is_even().into() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | reduce(&a, n.clone()) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | (reduce(&a, n.clone()), reduce(&b, n.clone())) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] --> tests/const_monty_form.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | type ConstMontyForm = crypto_bigint::modular::ConstMontyForm; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `crypto_bigint` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `crypto_bigint`, use `cargo add crypto_bigint` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 5 + use crypto_bigint_syncless::modular; [INFO] [stdout] | [INFO] [stdout] help: if you import `modular`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 17 - type ConstMontyForm = crypto_bigint::modular::ConstMontyForm; [INFO] [stdout] 17 + type ConstMontyForm = modular::ConstMontyForm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Modulus` in this scope [INFO] [stdout] --> tests/const_monty_form.rs:17:62 [INFO] [stdout] | [INFO] [stdout] 17 | type ConstMontyForm = crypto_bigint::modular::ConstMontyForm; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | type ConstMontyForm = crypto_bigint::modular::ConstMontyForm; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/safegcd.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let x = x.rem_vartime(p.as_nz_ref()).resize(p.bits_precision()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | let bits_precision = core::cmp::max(a.bits_precision(), b.bits_precision()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:40:65 [INFO] [stdout] | [INFO] [stdout] 40 | let bits_precision = core::cmp::max(a.bits_precision(), b.bits_precision()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | if n.is_even().into() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | a.wrapping_rem_vartime(&p) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | if n.is_even().into() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | let x = reduce(&x, n.clone()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | let expected = to_biguint(&a).bits() as u32; [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] 64 | prop_assert_eq!(expected, a.bits()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 63 | let expected = to_biguint::(&a).bits() as u32; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/common/mod.rs:31:34 [INFO] [stdout] | [INFO] [stdout] 31 | bytes.extend_from_slice(&limb.to_le_bytes()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-bigint-syncless` (test "safegcd") due to 7 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:75:70 [INFO] [stdout] | [INFO] [stdout] 75 | let actual = Option::::from(x.invert()).map(|a| a.retrieve()); [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 75 | let actual = Option::::from(x.invert()).map(|a: /* Type */| a.retrieve()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 85 | if exp.is_some() && x.is_zero().into() { [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | let expected = to_biguint(&a).bits() as u32; [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] 84 | prop_assert_eq!(expected, a.bits()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 83 | let expected = to_biguint::(&a).bits() as u32; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let p = a.params().modulus(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let p = a.params().modulus(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 74 | match Option::::from(a.checked_add(&b)) { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 70 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 96 | let actual = a.overflowing_shl_vartime(shift); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 90 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Modulus` [INFO] [stdout] --> tests/const_monty_form.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | let n_bi = to_biguint(&Modulus::PARAMS.modulus()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Modulus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | let p = a.params().modulus(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:85:22 [INFO] [stdout] | [INFO] [stdout] 85 | let actual = a.checked_div(&b); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | if b.is_zero().into() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let p = a.params().modulus(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 114 | let actual = a.overflowing_shl(shift); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 108 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | if b.is_zero().into() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:103:20 [INFO] [stdout] | [INFO] [stdout] 103 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 108 | let (actual_quotient, actual_remainder) = a.div_rem(&NonZero::new(b).unwrap()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 103 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | let p = a.params().modulus(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | if b.is_zero().into() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 132 | let actual = a.overflowing_shr_vartime(shift); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 126 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:119:20 [INFO] [stdout] | [INFO] [stdout] 119 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 124 | let (actual_quotient, actual_remainder) = a.div_rem_vartime(&NonZero::new(b).unwrap()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 119 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | let f_bi = to_biguint(&f); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 135 | let actual = f.gcd(&g); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 131 | let f_bi = to_biguint::(&f); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 150 | let actual = a.overflowing_shr(shift); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 144 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | a.set_bit(0, Choice::from(1)); // make odd [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:162:20 [INFO] [stdout] | [INFO] [stdout] 162 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 166 | let actual = a.wrapping_add(&b); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 162 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | let a = reduce(&a, n.clone()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:176:20 [INFO] [stdout] | [INFO] [stdout] 176 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 181 | let actual = a.add_mod(&b, P.as_nz_ref()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 176 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_monty_form.rs:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | let actual = a.div_by_2(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | if a.is_zero().into() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | if b.is_even().into() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | mem::swap(&mut a, &mut b); [INFO] [stdout] | ^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `swap` [INFO] [stdout] ... [INFO] [stdout] 203 | let actual = a.sub_mod(&b, P.as_nz_ref()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 192 | mem::swap::(&mut a, &mut b); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-bigint-syncless` (test "const_monty_form") due to 8 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 221 | let actual = a.mul_mod(&b, P.as_nz_ref()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 216 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | let a = reduce(&a, n.as_nz_ref()); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | mem::swap(&mut a, &mut b); [INFO] [stdout] | ^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `swap` [INFO] [stdout] ... [INFO] [stdout] 241 | let actual = a.wrapping_sub(&b); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 234 | mem::swap::(&mut a, &mut b); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:201:20 [INFO] [stdout] | [INFO] [stdout] 201 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 205 | let actual = a.mul(&b); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 201 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | if bool::from(!b.is_zero()) { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-bigint-syncless` (test "boxed_monty_form") due to 19 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:248:20 [INFO] [stdout] | [INFO] [stdout] 248 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 252 | let actual = a.wrapping_mul(&b); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 248 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 213 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 217 | let actual = a.rem(&NonZero::new(b).unwrap()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 213 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | if bool::from(!b.is_zero()) { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 230 | let actual = a.rem_vartime(&NonZero::new(b).unwrap()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 226 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:238:20 [INFO] [stdout] | [INFO] [stdout] 238 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 241 | let shift = u32::from(shift) % (a.bits_precision() * 2); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 238 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:259:20 [INFO] [stdout] | [INFO] [stdout] 259 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 265 | let actual = a.wrapping_div(&b_nz); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 259 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:274:20 [INFO] [stdout] | [INFO] [stdout] 274 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 279 | let actual = a.wrapping_rem_vartime(&b); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 274 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 258 | let shift = u32::from(shift) % (a.bits_precision() * 2); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 255 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:273:20 [INFO] [stdout] | [INFO] [stdout] 273 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 276 | let shift = u32::from(shift) % (a.bits_precision() * 2); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 273 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:287:20 [INFO] [stdout] | [INFO] [stdout] 287 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 291 | let actual = a.concatenating_mul(&b); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 287 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:290:20 [INFO] [stdout] | [INFO] [stdout] 290 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 293 | let shift = u32::from(shift) % (a.bits_precision() * 2); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 290 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:308:20 [INFO] [stdout] | [INFO] [stdout] 308 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 311 | let actual_enc = a.to_string_radix_vartime(radix); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 308 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:299:20 [INFO] [stdout] | [INFO] [stdout] 299 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 302 | let actual = a.square(); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 299 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:309:20 [INFO] [stdout] | [INFO] [stdout] 309 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 316 | let actual = a.div_rem(&b_nz); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 309 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 322 | let a_bytes = a.to_be_bytes_trimmed_vartime(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/boxed_uint.rs:329:23 [INFO] [stdout] | [INFO] [stdout] 329 | let a_bytes = a.to_le_bytes_trimmed_vartime(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:325:21 [INFO] [stdout] | [INFO] [stdout] 325 | let ab_bi = to_biguint(&a) * to_biguint(&b); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 330 | let (lo, hi) = a.widening_mul(&b); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 325 | let ab_bi = to_biguint::(&a) * to_biguint(&b); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:341:20 [INFO] [stdout] | [INFO] [stdout] 341 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 345 | let (actual_quo, actual_rem) = a.div_rem_limb(NonZero::new(b).unwrap()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 341 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-bigint-syncless` (test "boxed_uint") due to 32 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:352:20 [INFO] [stdout] | [INFO] [stdout] 352 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 357 | let (actual_quo, actual_rem) = a.div_rem_limb(NonZero::new(b).unwrap()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 352 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:365:20 [INFO] [stdout] | [INFO] [stdout] 365 | let f_bi = to_biguint(&f); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 369 | let actual = f.gcd(&g); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 365 | let f_bi = to_biguint::(&f); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:378:20 [INFO] [stdout] | [INFO] [stdout] 378 | let f_bi = to_biguint(&f); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 382 | let actual = f.gcd(&g); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 378 | let f_bi = to_biguint::(&f); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:391:20 [INFO] [stdout] | [INFO] [stdout] 391 | let g_bi = to_biguint(&g); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 394 | let actual = g.jacobi_symbol(&f) as i8; [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 391 | let g_bi = to_biguint::(&g); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | if b.is_zero() { [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:426:20 [INFO] [stdout] | [INFO] [stdout] 426 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 430 | let actual = a.invert_mod(&b.to_nz().unwrap()); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 426 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:445:20 [INFO] [stdout] | [INFO] [stdout] 445 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] 446 | let expected = to_uint(a_bi.sqrt()); [INFO] [stdout] 447 | let actual_ct = a.wrapping_sqrt(); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 445 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:456:20 [INFO] [stdout] | [INFO] [stdout] 456 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 460 | let actual = a.wrapping_or(&b); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 456 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:466:20 [INFO] [stdout] | [INFO] [stdout] 466 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 470 | let actual = a.wrapping_and(&b); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 466 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:476:20 [INFO] [stdout] | [INFO] [stdout] 476 | let a_bi = to_biguint(&a); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 480 | let actual = a.wrapping_xor(&b); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 476 | let a_bi = to_biguint::(&a); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:486:20 [INFO] [stdout] | [INFO] [stdout] 486 | let n_bi = to_biguint(&n); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 494 | let actual_ct = n.wrapping_shl(shift); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 486 | let n_bi = to_biguint::(&n); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:503:20 [INFO] [stdout] | [INFO] [stdout] 503 | let n_bi = to_biguint(&n); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the function `to_biguint` [INFO] [stdout] ... [INFO] [stdout] 506 | let actual_ct = n.wrapping_shr(shift); [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 503 | let n_bi = to_biguint::(&n); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:515:48 [INFO] [stdout] | [INFO] [stdout] 515 | prop_assert_eq!(a, U256::from_be_bytes(a.to_be_bytes())); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:521:25 [INFO] [stdout] | [INFO] [stdout] 521 | let mut bytes = a.to_be_bytes(); [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/uint.rs:556:46 [INFO] [stdout] | [INFO] [stdout] 556 | let actual = a_m.pow_bounded_exp(&b, exponent_bits.into()).retrieve(); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto-bigint-syncless` (test "uint") due to 39 previous errors [INFO] running `Command { std: "docker" "inspect" "a639e45e5dca9c9d8d7ce79a405fe3b5d40db8060c8fdc70fd4891fd63743b2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a639e45e5dca9c9d8d7ce79a405fe3b5d40db8060c8fdc70fd4891fd63743b2c", kill_on_drop: false }` [INFO] [stdout] a639e45e5dca9c9d8d7ce79a405fe3b5d40db8060c8fdc70fd4891fd63743b2c