[INFO] fetching crate fedimint-hbbft 0.1.0... [INFO] testing fedimint-hbbft-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate fedimint-hbbft 0.1.0 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fedimint-hbbft 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82b994a7d64f4893a0dd96bc66f711b1fdf4298d8386edaebcff5ffcf4a5736b [INFO] running `Command { std: "docker" "start" "-a" "82b994a7d64f4893a0dd96bc66f711b1fdf4298d8386edaebcff5ffcf4a5736b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82b994a7d64f4893a0dd96bc66f711b1fdf4298d8386edaebcff5ffcf4a5736b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82b994a7d64f4893a0dd96bc66f711b1fdf4298d8386edaebcff5ffcf4a5736b", kill_on_drop: false }` [INFO] [stdout] 82b994a7d64f4893a0dd96bc66f711b1fdf4298d8386edaebcff5ffcf4a5736b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 744c716cdc9004f5707646501d3cf9f6ac659d22d6271b0899eaf390880157d4 [INFO] running `Command { std: "docker" "start" "-a" "744c716cdc9004f5707646501d3cf9f6ac659d22d6271b0899eaf390880157d4", 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 memchr v2.6.3 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling aho-corasick v1.1.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling syn v2.0.37 [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 tiny-keccak v2.0.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling reed-solomon-erasure v5.0.3 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling ff v0.12.1 [INFO] [stderr] Compiling group v0.12.1 [INFO] [stderr] Compiling pairing v0.22.0 [INFO] [stderr] Compiling bls12_381 v0.7.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling rand_derive v0.5.0 [INFO] [stderr] Compiling init_with v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling derivative v2.2.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 42.03s [INFO] running `Command { std: "docker" "inspect" "744c716cdc9004f5707646501d3cf9f6ac659d22d6271b0899eaf390880157d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "744c716cdc9004f5707646501d3cf9f6ac659d22d6271b0899eaf390880157d4", kill_on_drop: false }` [INFO] [stdout] 744c716cdc9004f5707646501d3cf9f6ac659d22d6271b0899eaf390880157d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8d56afd81af821f13ce2074d08ef28faca6784ac22c60758b010790044b511b [INFO] running `Command { std: "docker" "start" "-a" "b8d56afd81af821f13ce2074d08ef28faca6784ac22c60758b010790044b511b", 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 rand_xorshift v0.3.0 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling colored v2.0.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling number_prefix v0.4.0 [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/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_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] 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] 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 `fedimint-hbbft` (test "broadcast") due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/honey_badger.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hbbft::honey_badger::{Batch, EncryptionSchedule, HoneyBadger, MessageContent}; [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/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] [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] [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hbbft` [INFO] [stdout] --> tests/queueing_honey_badger.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hbbft::dynamic_honey_badger::{DynamicHoneyBadger, JoinPlan}; [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/queueing_honey_badger.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hbbft::queueing_honey_badger::{Change, ChangeState, Input, 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] --> tests/queueing_honey_badger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hbbft::sender_queue::{Message, SenderQueue, Step}; [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/honey_badger.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hbbft::sender_queue::{self, SenderQueue, Step}; [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/honey_badger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use hbbft::transaction_queue::TransactionQueue; [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] --> tests/honey_badger.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hbbft::sender_queue::{self, SenderQueue, Step}; [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/honey_badger.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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/honey_badger.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | 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/honey_badger.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use hbbft::{threshold_decrypt, util, CpStep, NetworkInfo, 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[E0432]: unresolved import `hbbft_testing` [INFO] [stdout] --> tests/honey_badger.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use hbbft_testing::{CrankError, NetBuilder, NetMessage, NewNodeInfo, Node, 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] --> 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] warning: unused import: `SeedableRng` [INFO] [stdout] --> tests/honey_badger.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | use rand::{seq::SliceRandom, 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_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/queueing_honey_badger.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | 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/queueing_honey_badger.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/queueing_honey_badger.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | 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[E0432]: unresolved import `hbbft_testing` [INFO] [stdout] --> tests/queueing_honey_badger.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use hbbft_testing::{NetBuilder, NewNodeInfo, Node, 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/queueing_honey_badger.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | 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_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] 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[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] [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] 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 `fedimint-hbbft` (test "queueing_honey_badger") due to 7 previous errors; 1 warning emitted [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` [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] 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] 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] 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] 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[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 "subset") due to 5 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `fedimint-hbbft` (test "honey_badger") due to 8 previous errors; 1 warning emitted [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] 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] 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: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [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 "binary_agreement_mitm") due to 7 previous errors; 1 warning emitted [INFO] [stderr] error: could not compile `fedimint-hbbft` (test "sync_key_gen") due to 10 previous errors [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] [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" "b8d56afd81af821f13ce2074d08ef28faca6784ac22c60758b010790044b511b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8d56afd81af821f13ce2074d08ef28faca6784ac22c60758b010790044b511b", kill_on_drop: false }` [INFO] [stdout] b8d56afd81af821f13ce2074d08ef28faca6784ac22c60758b010790044b511b