[INFO] fetching crate givre 0.2.0... [INFO] testing givre-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate givre 0.2.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate givre 0.2.0 [INFO] finished tweaking crates.io crate givre 0.2.0 [INFO] tweaked toml for crates.io crate givre 0.2.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate givre 0.2.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 99 packages to latest compatible versions [INFO] [stderr] Adding rand_core v0.6.4 (available: v0.9.3) [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] Downloading crates ... [INFO] [stderr] Downloaded udigest v0.2.3 [INFO] [stderr] Downloaded rand_hash v0.1.1 [INFO] [stderr] Downloaded phantom-type v0.3.1 [INFO] [stderr] Downloaded generic-ec-core v0.2.3 [INFO] [stderr] Downloaded hd-wallet v0.6.1 [INFO] [stderr] Downloaded round-based-derive v0.2.2 [INFO] [stderr] Downloaded key-share v0.6.1 [INFO] [stderr] Downloaded cggmp21-keygen v0.5.0 [INFO] [stderr] Downloaded generic-ec-curves v0.2.4 [INFO] [stderr] Downloaded udigest-derive v0.3.1 [INFO] [stderr] Downloaded generic-ec-zkp v0.4.4 [INFO] [stderr] Downloaded phantom-type v0.4.2 [INFO] [stderr] Downloaded generic-ec v0.4.5 [INFO] [stderr] Downloaded round-based v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 46fb6c938689e4c09e542781501cf7cff813003af847e1fc3bd97f04d6f92906 [INFO] running `Command { std: "docker" "start" "-a" "46fb6c938689e4c09e542781501cf7cff813003af847e1fc3bd97f04d6f92906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46fb6c938689e4c09e542781501cf7cff813003af847e1fc3bd97f04d6f92906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46fb6c938689e4c09e542781501cf7cff813003af847e1fc3bd97f04d6f92906", kill_on_drop: false }` [INFO] [stdout] 46fb6c938689e4c09e542781501cf7cff813003af847e1fc3bd97f04d6f92906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5b8a8f19628a0b2b41987fbb8b9d0a156e3f73062166855c56c5030aa4431660 [INFO] running `Command { std: "docker" "start" "-a" "5b8a8f19628a0b2b41987fbb8b9d0a156e3f73062166855c56c5030aa4431660", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling generic-ec-core v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling phantom-type v0.4.2 [INFO] [stderr] Compiling generic-ec v0.4.5 [INFO] [stderr] Compiling generic-ec-zkp v0.4.4 [INFO] [stderr] Compiling key-share v0.6.1 [INFO] [stderr] Compiling givre v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.29s [INFO] running `Command { std: "docker" "inspect" "5b8a8f19628a0b2b41987fbb8b9d0a156e3f73062166855c56c5030aa4431660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b8a8f19628a0b2b41987fbb8b9d0a156e3f73062166855c56c5030aa4431660", kill_on_drop: false }` [INFO] [stdout] 5b8a8f19628a0b2b41987fbb8b9d0a156e3f73062166855c56c5030aa4431660 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a170fdc0dcb08c0c50f862b48281304c661b3e9ab75dbf19d1145eda19c2d732 [INFO] running `Command { std: "docker" "start" "-a" "a170fdc0dcb08c0c50f862b48281304c661b3e9ab75dbf19d1145eda19c2d732", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling generic-ec-core v0.2.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling generic-ec v0.4.5 [INFO] [stderr] Compiling generic-ec-zkp v0.4.4 [INFO] [stderr] Compiling key-share v0.6.1 [INFO] [stderr] Compiling givre v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.59s [INFO] running `Command { std: "docker" "inspect" "a170fdc0dcb08c0c50f862b48281304c661b3e9ab75dbf19d1145eda19c2d732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a170fdc0dcb08c0c50f862b48281304c661b3e9ab75dbf19d1145eda19c2d732", kill_on_drop: false }` [INFO] [stdout] a170fdc0dcb08c0c50f862b48281304c661b3e9ab75dbf19d1145eda19c2d732 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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", kill_on_drop: false }` [INFO] [stdout] 68269c8e1e8f1b884f6ab2a90ae6d506d3277da84b85595b82b7dda0735cf7cf [INFO] running `Command { std: "docker" "start" "-a" "68269c8e1e8f1b884f6ab2a90ae6d506d3277da84b85595b82b7dda0735cf7cf", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/givre-b2efd0806c05eb45) [INFO] [stderr] Doc-tests givre [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 40) ... ignored [INFO] [stdout] test src/lib.rs - (line 61) ... FAILED [INFO] [stdout] test src/lib.rs - (line 118) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 72) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 61) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `keygen` in `givre` [INFO] [stdout] --> src/lib.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 5 | type Msg = givre::keygen::msg::threshold::Msg /opt/rustwide/workdir/src/lib.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 235 | pub mod keygen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 241 | #[doc(inline)] [INFO] [stdout] 242 | pub use cggmp21_keygen::keygen; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `keygen` in `givre` [INFO] [stdout] --> src/lib.rs:63:92 [INFO] [stdout] | [INFO] [stdout] 5 | type Msg = givre::keygen::msg::threshold::Msg /opt/rustwide/workdir/src/lib.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 235 | pub mod keygen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 241 | #[doc(inline)] [INFO] [stdout] 242 | pub use cggmp21_keygen::keygen; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round_based` [INFO] [stdout] --> src/lib.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 9 | let party = round_based::MpcParty::connected(delivery); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `round_based` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `round_based`, use `cargo add round_based` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Secp256k1` in module `givre::generic_ec::curves` [INFO] [stdout] --> src/lib.rs:63:74 [INFO] [stdout] | [INFO] [stdout] 5 | type Msg = givre::keygen::msg::threshold::Msg /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/generic-ec-0.4.5/src/lib.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 247 | #[cfg(feature = "curve-secp256k1")] [INFO] [stdout] | --------------------------- the item is gated behind the `curve-secp256k1` feature [INFO] [stdout] 248 | #[cfg_attr(docsrs, doc(cfg(feature = "curve-secp256k1")))] [INFO] [stdout] 249 | pub use generic_ec_curves::Secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sha2` [INFO] [stdout] --> src/lib.rs:63:134 [INFO] [stdout] | [INFO] [stdout] 5 | ...ygen::security_level::SecurityLevel128, sha2::Sha256>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sha2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sha2`, use `cargo add sha2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round_based` [INFO] [stdout] --> src/lib.rs:64:50 [INFO] [stdout] | [INFO] [stdout] 6 | let incoming = futures::stream::pending::, std::convert::Infallible>>(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `round_based` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `round_based`, use `cargo add round_based` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round_based` [INFO] [stdout] --> src/lib.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 7 | let outgoing = futures::sink::drain::>(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `round_based` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `round_based`, use `cargo add round_based` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 118) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `givre::ciphersuite::Secp256k1` [INFO] [stdout] --> src/lib.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 5 | use givre::ciphersuite::Secp256k1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Secp256k1` in `ciphersuite` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/ciphersuite.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "ciphersuite-secp256k1")] [INFO] [stdout] | --------------------------------- the item is gated behind the `ciphersuite-secp256k1` feature [INFO] [stdout] 28 | pub use secp256k1::Secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `full_signing` in `signing` [INFO] [stdout] --> src/lib.rs:122:46 [INFO] [stdout] | [INFO] [stdout] 7 | async fn doc() -> Result<(), givre::signing::full_signing::FullSigningError> { [INFO] [stdout] | ^^^^^^^^^^^^ could not find `full_signing` in `signing` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/signing.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "full-signing")] [INFO] [stdout] | ------------------------ the item is gated behind the `full-signing` feature [INFO] [stdout] 33 | pub mod full_signing; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `full_signing` in `signing` [INFO] [stdout] --> src/lib.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 8 | type Msg = givre::signing::full_signing::Msg<::Curve>; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `full_signing` in `signing` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/signing.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | #[cfg(feature = "full-signing")] [INFO] [stdout] | ------------------------ the item is gated behind the `full-signing` feature [INFO] [stdout] 33 | pub mod full_signing; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round_based` [INFO] [stdout] --> src/lib.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 12 | let party = round_based::MpcParty::connected(delivery); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `round_based` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `round_based`, use `cargo add round_based` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found module `givre::signing` [INFO] [stdout] --> src/lib.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 28 | let signature = givre::signing::(i, &key_share, &parties_indexes_at_keygen, data_to_sign) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round_based` [INFO] [stdout] --> src/lib.rs:124:50 [INFO] [stdout] | [INFO] [stdout] 9 | let incoming = futures::stream::pending::, std::convert::Infallible>>(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `round_based` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `round_based`, use `cargo add round_based` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round_based` [INFO] [stdout] --> src/lib.rs:125:39 [INFO] [stdout] | [INFO] [stdout] 10 | let outgoing = futures::sink::drain::>(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `round_based` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `round_based`, use `cargo add round_based` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 72) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `givre::ciphersuite::Secp256k1` [INFO] [stdout] --> src/lib.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 5 | use givre::ciphersuite::{Ciphersuite, Secp256k1}; [INFO] [stdout] | ^^^^^^^^^ no `Secp256k1` in `ciphersuite` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/ciphersuite.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = "ciphersuite-secp256k1")] [INFO] [stdout] | --------------------------------- the item is gated behind the `ciphersuite-secp256k1` feature [INFO] [stdout] 28 | pub use secp256k1::Secp256k1; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `keygen` in `givre` [INFO] [stdout] --> src/lib.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 7 | async fn doc() -> Result<(), givre::keygen::KeygenError> { [INFO] [stdout] | ^^^^^^ could not find `keygen` in `givre` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 235 | pub mod keygen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 241 | #[doc(inline)] [INFO] [stdout] 242 | pub use cggmp21_keygen::keygen; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `keygen` in `givre` [INFO] [stdout] --> src/lib.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 8 | type Msg = givre::keygen::msg::threshold::Msg<::Curve, givre::keygen::security_level::SecurityLevel128, sha2::S... [INFO] [stdout] | ^^^^^^ could not find `keygen` in `givre` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 235 | pub mod keygen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 241 | #[doc(inline)] [INFO] [stdout] 242 | pub use cggmp21_keygen::keygen; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `keygen` in `givre` [INFO] [stdout] --> src/lib.rs:77:89 [INFO] [stdout] | [INFO] [stdout] 8 | type Msg = givre::keygen::msg::threshold::Msg<::Curve, givre::keygen::security_level::SecurityLevel128, sha2::S... [INFO] [stdout] | ^^^^^^ could not find `keygen` in `givre` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 235 | pub mod keygen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 241 | #[doc(inline)] [INFO] [stdout] 242 | pub use cggmp21_keygen::keygen; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round_based` [INFO] [stdout] --> src/lib.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 12 | let party = round_based::MpcParty::connected(delivery); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `round_based` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `round_based`, use `cargo add round_based` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `keygen` in `givre` [INFO] [stdout] --> src/lib.rs:85:18 [INFO] [stdout] | [INFO] [stdout] 16 | let eid = givre::keygen::ExecutionId::new(b"execution id, unique per protocol execution"); [INFO] [stdout] | ^^^^^^ could not find `keygen` in `givre` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 235 | pub mod keygen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 241 | #[doc(inline)] [INFO] [stdout] 242 | pub use cggmp21_keygen::keygen; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `keygen` in crate `givre` [INFO] [stdout] --> src/lib.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 24 | let key_share = givre::keygen::<::Curve>(eid, i, n) [INFO] [stdout] | ^^^^^^ not found in `givre` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 234 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 235 | pub mod keygen { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:242:25 [INFO] [stdout] | [INFO] [stdout] 240 | #[cfg(feature = "cggmp21-keygen")] [INFO] [stdout] | -------------------------- the item is gated behind the `cggmp21-keygen` feature [INFO] [stdout] 241 | #[doc(inline)] [INFO] [stdout] 242 | pub use cggmp21_keygen::keygen; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `sha2` [INFO] [stdout] --> src/lib.rs:77:131 [INFO] [stdout] | [INFO] [stdout] 8 | ...ygen::security_level::SecurityLevel128, sha2::Sha256>; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sha2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sha2`, use `cargo add sha2` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round_based` [INFO] [stdout] --> src/lib.rs:78:50 [INFO] [stdout] | [INFO] [stdout] 9 | let incoming = futures::stream::pending::, std::convert::Infallible>>(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `round_based` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `round_based`, use `cargo add round_based` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `round_based` [INFO] [stdout] --> src/lib.rs:79:39 [INFO] [stdout] | [INFO] [stdout] 10 | let outgoing = futures::sink::drain::>(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `round_based` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `round_based`, use `cargo add round_based` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 118) [INFO] [stdout] src/lib.rs - (line 61) [INFO] [stdout] src/lib.rs - (line 72) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "68269c8e1e8f1b884f6ab2a90ae6d506d3277da84b85595b82b7dda0735cf7cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68269c8e1e8f1b884f6ab2a90ae6d506d3277da84b85595b82b7dda0735cf7cf", kill_on_drop: false }` [INFO] [stdout] 68269c8e1e8f1b884f6ab2a90ae6d506d3277da84b85595b82b7dda0735cf7cf