[INFO] fetching crate modular-frost 0.11.0... [INFO] testing modular-frost-0.11.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [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 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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 dkg-recovery v0.6.0 [INFO] [stderr] Downloaded flexible-transcript v0.3.4 [INFO] [stderr] Downloaded dkg v0.6.1 [INFO] [stderr] Downloaded ciphersuite v0.4.2 [INFO] [stderr] Downloaded dkg-dealer v0.6.0 [INFO] [stderr] Downloaded dalek-ff-group v0.4.6 [INFO] [stderr] Downloaded schnorr-signatures v0.5.2 [INFO] [stderr] Downloaded multiexp v0.4.2 [INFO] [stderr] Downloaded dalek-ff-group v0.5.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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aefef7b37647ce74f89c54356e0618c868f202a2a696a6afc49ce98a08d721f3 [INFO] running `Command { std: "docker" "start" "-a" "aefef7b37647ce74f89c54356e0618c868f202a2a696a6afc49ce98a08d721f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aefef7b37647ce74f89c54356e0618c868f202a2a696a6afc49ce98a08d721f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aefef7b37647ce74f89c54356e0618c868f202a2a696a6afc49ce98a08d721f3", kill_on_drop: false }` [INFO] [stdout] aefef7b37647ce74f89c54356e0618c868f202a2a696a6afc49ce98a08d721f3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0532c93fbb25317618c1219179808b23774153c25b4a8c3a8ae81378f698f6e9 [INFO] running `Command { std: "docker" "start" "-a" "0532c93fbb25317618c1219179808b23774153c25b4a8c3a8ae81378f698f6e9", 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 subtle v2.6.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling spin v0.10.0 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling digest v0.10.7 [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 rand_chacha v0.3.1 [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 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 dkg v0.6.1 [INFO] [stderr] Compiling schnorr-signatures v0.5.2 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/algorithm.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.02s [INFO] running `Command { std: "docker" "inspect" "0532c93fbb25317618c1219179808b23774153c25b4a8c3a8ae81378f698f6e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0532c93fbb25317618c1219179808b23774153c25b4a8c3a8ae81378f698f6e9", kill_on_drop: false }` [INFO] [stdout] 0532c93fbb25317618c1219179808b23774153c25b4a8c3a8ae81378f698f6e9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6624f66dc4bf08e0ad639292c547a38ff9e80b74c18f632a4e21ee2e2668a4c2 [INFO] running `Command { std: "docker" "start" "-a" "6624f66dc4bf08e0ad639292c547a38ff9e80b74c18f632a4e21ee2e2668a4c2", 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/algorithm.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` 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]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/algorithm.rs:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a provided trait method [INFO] [stdout] --> src/tests/nonces.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | #[must_use] [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] 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: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `modular-frost` (lib test) due to 20 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6624f66dc4bf08e0ad639292c547a38ff9e80b74c18f632a4e21ee2e2668a4c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6624f66dc4bf08e0ad639292c547a38ff9e80b74c18f632a4e21ee2e2668a4c2", kill_on_drop: false }` [INFO] [stdout] 6624f66dc4bf08e0ad639292c547a38ff9e80b74c18f632a4e21ee2e2668a4c2