[INFO] fetching crate modular-frost 0.11.0... [INFO] building modular-frost-0.11.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate modular-frost 0.11.0 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate modular-frost 0.11.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a2cf83ad9161c3f802b009cd1a7306b3fd091c067ff9c3ef6521b357863dd56 [INFO] running `Command { std: "docker" "start" "-a" "9a2cf83ad9161c3f802b009cd1a7306b3fd091c067ff9c3ef6521b357863dd56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a2cf83ad9161c3f802b009cd1a7306b3fd091c067ff9c3ef6521b357863dd56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a2cf83ad9161c3f802b009cd1a7306b3fd091c067ff9c3ef6521b357863dd56", kill_on_drop: false }` [INFO] [stdout] 9a2cf83ad9161c3f802b009cd1a7306b3fd091c067ff9c3ef6521b357863dd56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6529b8441735310883a06fa3b65d6c8a54770cdf00557f8e785999b2de711baa [INFO] running `Command { std: "docker" "start" "-a" "6529b8441735310883a06fa3b65d6c8a54770cdf00557f8e785999b2de711baa", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling radium v0.7.0 [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 proc-macro2 v1.0.101 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling blake2 v0.10.6 [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 ahash v0.8.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling std-shims v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [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 10.98s [INFO] running `Command { std: "docker" "inspect" "6529b8441735310883a06fa3b65d6c8a54770cdf00557f8e785999b2de711baa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6529b8441735310883a06fa3b65d6c8a54770cdf00557f8e785999b2de711baa", kill_on_drop: false }` [INFO] [stdout] 6529b8441735310883a06fa3b65d6c8a54770cdf00557f8e785999b2de711baa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56dd76bc8e7debe574e27ebd443810fa8742fd6a981519f4065d47fd79f122d3 [INFO] running `Command { std: "docker" "start" "-a" "56dd76bc8e7debe574e27ebd443810fa8742fd6a981519f4065d47fd79f122d3", kill_on_drop: false }` [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] [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[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[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 `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] 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 `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; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "56dd76bc8e7debe574e27ebd443810fa8742fd6a981519f4065d47fd79f122d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56dd76bc8e7debe574e27ebd443810fa8742fd6a981519f4065d47fd79f122d3", kill_on_drop: false }` [INFO] [stdout] 56dd76bc8e7debe574e27ebd443810fa8742fd6a981519f4065d47fd79f122d3