[INFO] fetching crate modular-frost 0.11.0... [INFO] building modular-frost-0.11.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate modular-frost 0.11.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate modular-frost 0.11.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minimal-ed448 v0.4.2 [INFO] [stderr] Downloaded multiexp v0.4.2 [INFO] [stderr] Downloaded schnorr-signatures v0.5.2 [INFO] [stderr] Downloaded std-shims v0.1.4 [INFO] [stderr] Downloaded dalek-ff-group v0.5.0 [INFO] [stderr] Downloaded dkg-recovery v0.6.0 [INFO] [stderr] Downloaded dkg v0.6.1 [INFO] [stderr] Downloaded dalek-ff-group v0.4.6 [INFO] [stderr] Downloaded spin v0.10.0 [INFO] [stderr] Downloaded dkg-dealer v0.6.0 [INFO] [stderr] Downloaded ciphersuite v0.4.2 [INFO] [stderr] Downloaded flexible-transcript v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e37c60bf61b8c92671ad721ed4dbc55f502f5b23df5aadb76c62ce30fbac94e8 [INFO] running `Command { std: "docker" "start" "-a" "e37c60bf61b8c92671ad721ed4dbc55f502f5b23df5aadb76c62ce30fbac94e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e37c60bf61b8c92671ad721ed4dbc55f502f5b23df5aadb76c62ce30fbac94e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e37c60bf61b8c92671ad721ed4dbc55f502f5b23df5aadb76c62ce30fbac94e8", kill_on_drop: false }` [INFO] [stdout] e37c60bf61b8c92671ad721ed4dbc55f502f5b23df5aadb76c62ce30fbac94e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7d680173f1ad5e87237fef88142f1c32e366eb294ff2951f00be98a0ea39db4 [INFO] running `Command { std: "docker" "start" "-a" "e7d680173f1ad5e87237fef88142f1c32e366eb294ff2951f00be98a0ea39db4", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling std-shims v0.1.4 [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.09s [INFO] running `Command { std: "docker" "inspect" "e7d680173f1ad5e87237fef88142f1c32e366eb294ff2951f00be98a0ea39db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7d680173f1ad5e87237fef88142f1c32e366eb294ff2951f00be98a0ea39db4", kill_on_drop: false }` [INFO] [stdout] e7d680173f1ad5e87237fef88142f1c32e366eb294ff2951f00be98a0ea39db4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b5bedcfbe7abb0883e6e7de4069048850b36226b9f2dc09099579ed249cd9b4 [INFO] running `Command { std: "docker" "start" "-a" "0b5bedcfbe7abb0883e6e7de4069048850b36226b9f2dc09099579ed249cd9b4", 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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling modular-frost v0.11.0 (/opt/rustwide/workdir) [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [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] [stderr] error: could not compile `modular-frost` (lib test) due to 21 previous errors; 2 warnings emitted [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] running `Command { std: "docker" "inspect" "0b5bedcfbe7abb0883e6e7de4069048850b36226b9f2dc09099579ed249cd9b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5bedcfbe7abb0883e6e7de4069048850b36226b9f2dc09099579ed249cd9b4", kill_on_drop: false }` [INFO] [stdout] 0b5bedcfbe7abb0883e6e7de4069048850b36226b9f2dc09099579ed249cd9b4