[INFO] fetching crate modular-frost 0.11.0... [INFO] testing modular-frost-0.11.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate modular-frost 0.11.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate modular-frost 0.11.0 [INFO] finished tweaking crates.io crate modular-frost 0.11.0 [INFO] tweaked toml for crates.io crate modular-frost 0.11.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate modular-frost 0.11.0 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 modular-frost 0.11.0 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 std-shims v0.1.4 [INFO] [stderr] Downloaded minimal-ed448 v0.4.2 [INFO] [stderr] Downloaded multiexp v0.4.2 [INFO] [stderr] Downloaded ciphersuite v0.4.2 [INFO] [stderr] Downloaded flexible-transcript v0.3.4 [INFO] [stderr] Downloaded dkg-recovery v0.6.0 [INFO] [stderr] Downloaded dalek-ff-group v0.5.0 [INFO] [stderr] Downloaded dkg-dealer v0.6.0 [INFO] [stderr] Downloaded dalek-ff-group v0.4.6 [INFO] [stderr] Downloaded indexmap v2.11.0 [INFO] [stderr] Downloaded generic-array v1.2.0 [INFO] [stderr] Downloaded dkg v0.6.1 [INFO] [stderr] Downloaded schnorr-signatures v0.5.2 [INFO] [stderr] Downloaded spin v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b9ff4b63f8a487810921040cea3eacfd7123b98943fd4a3206b793b9396d7924 [INFO] running `Command { std: "docker" "start" "-a" "b9ff4b63f8a487810921040cea3eacfd7123b98943fd4a3206b793b9396d7924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9ff4b63f8a487810921040cea3eacfd7123b98943fd4a3206b793b9396d7924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ff4b63f8a487810921040cea3eacfd7123b98943fd4a3206b793b9396d7924", kill_on_drop: false }` [INFO] [stdout] b9ff4b63f8a487810921040cea3eacfd7123b98943fd4a3206b793b9396d7924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] e79d1ff8ca05c9fdf147d634c050e59bb84fcbce342afd0db27365d43103bd62 [INFO] running `Command { std: "docker" "start" "-a" "e79d1ff8ca05c9fdf147d634c050e59bb84fcbce342afd0db27365d43103bd62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling std-shims v0.1.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling flexible-transcript v0.3.4 [INFO] [stderr] Compiling multiexp v0.4.2 [INFO] [stderr] Compiling ciphersuite v0.4.2 [INFO] [stderr] Compiling schnorr-signatures v0.5.2 [INFO] [stderr] Compiling dkg v0.6.1 [INFO] [stderr] Compiling modular-frost v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/sign.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | ff::{Field, PrimeField}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/algorithm.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `algorithm` is never read [INFO] [stdout] --> src/sign.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | algorithm: A, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `preprocess` is never read [INFO] [stdout] --> src/sign.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | pub(crate) preprocess: Preprocess, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.37s [INFO] running `Command { std: "docker" "inspect" "e79d1ff8ca05c9fdf147d634c050e59bb84fcbce342afd0db27365d43103bd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e79d1ff8ca05c9fdf147d634c050e59bb84fcbce342afd0db27365d43103bd62", kill_on_drop: false }` [INFO] [stdout] e79d1ff8ca05c9fdf147d634c050e59bb84fcbce342afd0db27365d43103bd62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 90646d52148c4e28bd827469075e308f19c3e9b450f95cb20b0bcccb684bbf1a [INFO] running `Command { std: "docker" "start" "-a" "90646d52148c4e28bd827469075e308f19c3e9b450f95cb20b0bcccb684bbf1a", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Field` [INFO] [stdout] --> src/sign.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | ff::{Field, PrimeField}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/algorithm.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `algorithm` is never read [INFO] [stdout] --> src/sign.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | algorithm: A, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling modular-frost v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `preprocess` is never read [INFO] [stdout] --> src/sign.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | pub(crate) preprocess: Preprocess, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dkg_recovery` [INFO] [stdout] --> src/tests/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use dkg_recovery::recover_key; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `dkg_recovery` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dkg_recovery`, use `cargo add dkg_recovery` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/algorithm.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/tests/nonces.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/vectors.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | .map(|i| Participant::new(u16::try_from(i.as_u64().unwrap()).unwrap()).unwrap()) [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] 69 | .map(|i: /* Type */| Participant::new(u16::try_from(i.as_u64().unwrap()).unwrap()).unwrap()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hex` [INFO] [stdout] --> src/tests/vectors.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | .map(|secret| C::read_F::<&[u8]>(&mut hex::decode(secret).unwrap().as_ref()).unwrap()) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(hex::encode(these_keys.group_key().to_bytes().as_ref()), vectors.group_key); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:155:42 [INFO] [stdout] | [INFO] [stdout] 155 | ::read_G::<&[u8]>(&mut hex::decode(&vectors.group_key).unwrap().as_ref()) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:158:31 [INFO] [stdout] | [INFO] [stdout] 158 | C::read_F::<&[u8]>(&mut hex::decode(&vectors.group_secret).unwrap().as_ref()).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:174:37 [INFO] [stdout] | [INFO] [stdout] 174 | C::read_F::<&[u8]>(&mut hex::decode(&vectors.nonces[c][i]).unwrap().as_ref()).unwrap(), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 183 | hex::decode(&vectors.commitments[c][0]).unwrap() [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | hex::decode(&vectors.commitments[c][1]).unwrap() [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:202:11 [INFO] [stdout] | [INFO] [stdout] 202 | hex::decode(vectors.commitments[c][0].clone() + &vectors.commitments[c][1]).unwrap() [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:230:50 [INFO] [stdout] | [INFO] [stdout] 230 | .sign(clone_without(&commitments, i), &hex::decode(&vectors.msg).unwrap()) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:238:27 [INFO] [stdout] | [INFO] [stdout] 238 | assert_eq!(share, hex::decode(&vectors.sig_shares[c]).unwrap()); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | assert_eq!(hex::encode(serialized), vectors.sig); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:283:31 [INFO] [stdout] | [INFO] [stdout] 283 | C::read_F::<&[u8]>(&mut hex::decode(&vectors.shares[l - 1]).unwrap().as_ref()).unwrap(), [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:288:25 [INFO] [stdout] | [INFO] [stdout] 288 | .map(|randomness| hex::decode(randomness).unwrap().try_into().unwrap()) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:294:48 [INFO] [stdout] | [INFO] [stdout] 294 | Zeroizing::new(C::read_F::<&[u8]>(&mut hex::decode(nonce).unwrap().as_ref()).unwrap()) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `hex` [INFO] [stdout] --> src/tests/vectors.rs:314:7 [INFO] [stdout] | [INFO] [stdout] 314 | hex::decode(vectors.commitments[i][0].clone() + &vectors.commitments[i][1]).unwrap() [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `hex` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hex`, use `cargo add hex` 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 `dkg_dealer` [INFO] [stdout] --> src/tests/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let res = dkg_dealer::key_gen::(rng, THRESHOLD, PARTICIPANTS).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `dkg_dealer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dkg_dealer`, use `cargo add dkg_dealer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `algorithm` is never read [INFO] [stdout] --> src/sign.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | algorithm: A, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `preprocess` is never read [INFO] [stdout] --> src/sign.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | pub(crate) preprocess: Preprocess, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/tests/vectors.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | impl From for Vectors { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` 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 `serde_json` [INFO] [stdout] --> src/tests/vectors.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | fn from(value: serde_json::Value) -> Vectors { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` 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 `serde_json` [INFO] [stdout] --> src/tests/vectors.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | let to_str = |value: &serde_json::Value| value.as_str().unwrap().to_string(); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [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 `modular-frost` (lib test) due to 21 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "90646d52148c4e28bd827469075e308f19c3e9b450f95cb20b0bcccb684bbf1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90646d52148c4e28bd827469075e308f19c3e9b450f95cb20b0bcccb684bbf1a", kill_on_drop: false }` [INFO] [stdout] 90646d52148c4e28bd827469075e308f19c3e9b450f95cb20b0bcccb684bbf1a