[INFO] fetching crate fedimint-hbbft 0.1.0... [INFO] testing fedimint-hbbft-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate fedimint-hbbft 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate fedimint-hbbft 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate fedimint-hbbft 0.1.0 [INFO] tweaked toml for crates.io crate fedimint-hbbft 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fedimint-hbbft 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fedimint-hbbft 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.48 [INFO] [stderr] Downloaded rand_derive v0.5.0 [INFO] [stderr] Downloaded reed-solomon-erasure v5.0.3 [INFO] [stderr] Downloaded syn v0.11.11 [INFO] [stderr] Downloaded init_with v1.1.0 [INFO] [stderr] Downloaded errno v0.3.3 [INFO] [stderr] Downloaded ff v0.12.1 [INFO] [stderr] Downloaded crossbeam-queue v0.3.8 [INFO] [stderr] Downloaded pairing v0.22.0 [INFO] [stderr] Downloaded crossbeam v0.8.2 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded fedimint-threshold-crypto v0.1.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.67 [INFO] [stderr] Downloaded env_logger v0.10.0 [INFO] [stderr] Downloaded tempfile v3.8.0 [INFO] [stderr] Downloaded thiserror v1.0.48 [INFO] [stderr] Downloaded group v0.12.1 [INFO] [stderr] Downloaded aho-corasick v1.1.0 [INFO] [stderr] Downloaded proptest v1.2.0 [INFO] [stderr] Downloaded synom v0.11.3 [INFO] [stderr] Downloaded unicode-xid v0.0.4 [INFO] [stderr] Downloaded regex v1.9.5 [INFO] [stderr] Downloaded syn v2.0.37 [INFO] [stderr] Downloaded rustix v0.38.13 [INFO] [stderr] Downloaded regex-syntax v0.7.5 [INFO] [stderr] Downloaded bls12_381 v0.7.1 [INFO] [stderr] Downloaded regex-automata v0.3.8 [INFO] [stderr] Downloaded linux-raw-sys v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53365317cda72b64a7ddf33bd0e3483b8ef35a0d6377f2e6b129992ee06d5ecc [INFO] running `Command { std: "docker" "start" "-a" "53365317cda72b64a7ddf33bd0e3483b8ef35a0d6377f2e6b129992ee06d5ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53365317cda72b64a7ddf33bd0e3483b8ef35a0d6377f2e6b129992ee06d5ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53365317cda72b64a7ddf33bd0e3483b8ef35a0d6377f2e6b129992ee06d5ecc", kill_on_drop: false }` [INFO] [stdout] 53365317cda72b64a7ddf33bd0e3483b8ef35a0d6377f2e6b129992ee06d5ecc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ef7d36d993c63e3f557265cfc88403606a033b57afed88596d2d5202a1cb7da [INFO] running `Command { std: "docker" "start" "-a" "0ef7d36d993c63e3f557265cfc88403606a033b57afed88596d2d5202a1cb7da", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling aho-corasick v1.1.0 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling reed-solomon-erasure v5.0.3 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling bls12_381 v0.7.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling rand_derive v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling init_with v1.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling fedimint-threshold-crypto v0.1.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling fedimint-hbbft v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.26s [INFO] running `Command { std: "docker" "inspect" "0ef7d36d993c63e3f557265cfc88403606a033b57afed88596d2d5202a1cb7da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef7d36d993c63e3f557265cfc88403606a033b57afed88596d2d5202a1cb7da", kill_on_drop: false }` [INFO] [stdout] 0ef7d36d993c63e3f557265cfc88403606a033b57afed88596d2d5202a1cb7da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc9f41a3c8012337a670fe69f7dc8caa30d1bfa336f0a457a12bb43893ccb29f [INFO] running `Command { std: "docker" "start" "-a" "bc9f41a3c8012337a670fe69f7dc8caa30d1bfa336f0a457a12bb43893ccb29f", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling crossbeam v0.8.2 [INFO] [stderr] Compiling proptest v1.2.0 [INFO] [stderr] Compiling fedimint-hbbft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] --> tests/sync_key_gen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hbbft::crypto::SecretKey; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` 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 `hbbft` [INFO] [stdout] --> tests/sync_key_gen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hbbft::sync_key_gen::{to_pub_keys, PartOutcome, SyncKeyGen}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` 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 `hbbft` [INFO] [stdout] --> tests/threshold_sign.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hbbft::{threshold_sign::ThresholdSign, util, ConsensusProtocol}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` 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 `hbbft_testing` [INFO] [stdout] --> tests/threshold_sign.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hbbft_testing::adversary::{Adversary, NodeOrderAdversary, ReorderingAdversary}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft` [INFO] [stdout] --> tests/sync_key_gen.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hbbft::util; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` 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 `hbbft_testing` [INFO] [stdout] --> tests/threshold_sign.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hbbft_testing::proptest::{gen_seed, TestRng, TestRngSeed}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft` [INFO] [stdout] --> tests/threshold_sign.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hbbft::{threshold_sign::ThresholdSign, util, ConsensusProtocol}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft_testing` [INFO] [stdout] --> tests/threshold_sign.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hbbft_testing::{NetBuilder, NewNodeInfo, VirtualNet}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeedableRng` [INFO] [stdout] --> tests/threshold_sign.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] --> tests/broadcast.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hbbft::{broadcast::Broadcast, util, ConsensusProtocol, CpStep}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` 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 `hbbft` [INFO] [stdout] --> tests/subset.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hbbft::subset::{Subset, SubsetOutput}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` 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] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] --> tests/binary_agreement_mitm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hbbft::binary_agreement::{BinaryAgreement, MessageContent, SbvMessage}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-hbbft` (test "threshold_sign") due to 5 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] --> tests/binary_agreement_mitm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hbbft::threshold_sign::ThresholdSign; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_key_gen.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let proposal = proposal.clone().expect("proposal"); [INFO] [stdout] | ^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-hbbft` (test "broadcast") due to 5 previous errors; 1 warning emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] --> tests/binary_agreement_mitm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hbbft_testing::adversary::{NetMutHandle, QueuePosition}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` 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 `hbbft_testing` [INFO] [stdout] --> tests/binary_agreement_mitm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use hbbft_testing::err::CrankError; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` 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 `hbbft_testing` [INFO] [stdout] --> tests/binary_agreement_mitm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use hbbft_testing::proptest::{gen_seed, TestRng, TestRngSeed}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft` [INFO] [stdout] --> tests/binary_agreement_mitm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hbbft::{ConsensusProtocol, CpStep, NetworkInfo}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft_testing` [INFO] [stdout] --> tests/binary_agreement_mitm.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hbbft_testing::{Adversary, NetBuilder, NetMessage}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` 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 `hbbft_testing` [INFO] [stdout] --> tests/subset.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hbbft_testing::adversary::{Adversary, NodeOrderAdversary, ReorderingAdversary}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` 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 `hbbft_testing` [INFO] [stdout] --> tests/subset.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hbbft_testing::proptest::{gen_seed, TestRng, TestRngSeed}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-hbbft` (test "subset") due to 5 previous errors; 1 warning emitted [INFO] [stdout] error[E0432]: unresolved import `hbbft` [INFO] [stdout] --> tests/subset.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hbbft::ConsensusProtocol; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft_testing` [INFO] [stdout] --> tests/subset.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use hbbft_testing::{NetBuilder, NewNodeInfo, VirtualNet}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft` [INFO] [stdout] --> examples/network/commst.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hbbft::SourcedMessage; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` 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 `hbbft_testing` [INFO] [stdout] --> tests/broadcast.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hbbft_testing::adversary::{ [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` 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 `hbbft_testing` [INFO] [stdout] --> tests/broadcast.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hbbft_testing::proptest::{gen_seed, TestRng, TestRngSeed}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft` [INFO] [stdout] --> tests/broadcast.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hbbft::{broadcast::Broadcast, util, ConsensusProtocol, CpStep}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft_testing` [INFO] [stdout] --> tests/broadcast.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hbbft_testing::{CrankError, NetBuilder, NetMessage, NewNodeInfo, VirtualNet}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hbbft_testing` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft_testing`, use `cargo add hbbft_testing` 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 `hbbft` [INFO] [stdout] --> examples/simulation.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hbbft::crypto::SecretKey; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` 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 `hbbft` [INFO] [stdout] --> examples/simulation.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use hbbft::dynamic_honey_badger::DynamicHoneyBadger; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` 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 `hbbft` [INFO] [stdout] --> examples/simulation.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use hbbft::queueing_honey_badger::{Batch, QueueingHoneyBadger}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` 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 `hbbft` [INFO] [stdout] --> examples/simulation.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hbbft::sender_queue::{Message, SenderQueue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeedableRng` [INFO] [stdout] --> tests/broadcast.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::SeedableRng` [INFO] [stdout] --> tests/subset.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::SeedableRng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] --> examples/network/node.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use hbbft::broadcast::{Broadcast, Message}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft` [INFO] [stdout] --> examples/network/messaging.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hbbft::{SourcedMessage, Target, TargetedMessage}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft` [INFO] [stdout] --> examples/network/node.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use hbbft::{ConsensusProtocol, SourcedMessage}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Vec<_>` [INFO] [stdout] --> tests/sync_key_gen.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut nodes = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | let ack = match node [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `nodes` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 16 | let mut nodes: Vec = Vec::new(); [INFO] [stdout] | ++++++++ [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] [stdout] warning: unused import: `SeedableRng` [INFO] [stdout] --> tests/binary_agreement_mitm.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_key_gen.rs:54:22 [INFO] [stdout] | [INFO] [stdout] 54 | assert!(!node.is_ready()); // Not enough `Ack`s yet. [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_key_gen.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let ack = match node [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | node.handle_ack(&sender_id, ack.clone()) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `ack` an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | let ack: /* Type */ = match node [INFO] [stdout] | ++++++++++++ [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] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/network/node.rs:70:40 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn run(&self) -> Result> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 70 - pub fn run(&self) -> Result> { [INFO] [stdout] 70 + pub fn run(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hbbft` [INFO] [stdout] --> examples/simulation.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use hbbft::{to_pub_keys, ConsensusProtocol, CpStep, NetworkInfo, PubKeyMap, Step, Target}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hbbft`, use `cargo add hbbft` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> tests/sync_key_gen.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | .map(|(idx, node)| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 70 | assert!(node.is_ready()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 69 | .map(|(idx, node): (_, _)| { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_key_gen.rs:77:22 [INFO] [stdout] | [INFO] [stdout] 77 | let sk = opt_sk.expect("new secret key"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/sync_key_gen.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | assert!(pks.public_key_share(idx).verify(&sig, msg)); [INFO] [stdout] | ^^^ cannot infer type [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 `fedimint-hbbft` (test "sync_key_gen") due to 10 previous errors [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] [stdout] error[E0220]: associated type `NodeId` not found for `D` [INFO] [stdout] --> examples/simulation.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | sender_id: D::NodeId, [INFO] [stdout] | ^^^^^^ there is an associated type `NodeId` in the trait `fedimint_hbbft::ConsensusProtocol` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `D` with trait `ConsensusProtocol` [INFO] [stdout] | [INFO] [stdout] 64 | struct TimestampedMessage { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `NodeId` not found for `D` [INFO] [stdout] --> examples/simulation.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | id: D::NodeId, [INFO] [stdout] | ^^^^^^ there is an associated type `NodeId` in the trait `fedimint_hbbft::ConsensusProtocol` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting type parameter `D` with trait `ConsensusProtocol` [INFO] [stdout] | [INFO] [stdout] 99 | pub struct TestNode { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-hbbft` (test "binary_agreement_mitm") due to 7 previous errors; 1 warning emitted [INFO] [stdout] Some errors have detailed explanations: E0220, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Result<_, crossbeam_channel::RecvError>` [INFO] [stdout] --> examples/network/messaging.rs:125:44 [INFO] [stdout] | [INFO] [stdout] 125 | recv(rx_from_comms) -> message => { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | result = tx_to_algo.send(message.clone()).map_err(Error::from) [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `message` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 125 | recv(rx_from_comms) -> message: Result<_, _> => { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fedimint-hbbft` (example "simulation") due to 7 previous errors [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 `fedimint-hbbft` (example "consensus-node") due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "bc9f41a3c8012337a670fe69f7dc8caa30d1bfa336f0a457a12bb43893ccb29f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc9f41a3c8012337a670fe69f7dc8caa30d1bfa336f0a457a12bb43893ccb29f", kill_on_drop: false }` [INFO] [stdout] bc9f41a3c8012337a670fe69f7dc8caa30d1bfa336f0a457a12bb43893ccb29f