[INFO] fetching crate aleph-bft-rmc 0.16.0... [INFO] testing aleph-bft-rmc-0.16.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate aleph-bft-rmc 0.16.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate aleph-bft-rmc 0.16.0 [INFO] finished tweaking crates.io crate aleph-bft-rmc 0.16.0 [INFO] tweaked toml for crates.io crate aleph-bft-rmc 0.16.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate aleph-bft-rmc 0.16.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 aleph-bft-rmc 0.16.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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aleph-bft-crypto v0.11.0 [INFO] [stderr] Downloaded aleph-bft-types v0.16.0 [INFO] [stderr] Downloaded cc v1.1.10 [INFO] [stderr] Downloaded object v0.36.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 958cf25824c53082a9b8f8a93421f4ca1a5d96075f2c808f2f7334a42c77465d [INFO] running `Command { std: "docker" "start" "-a" "958cf25824c53082a9b8f8a93421f4ca1a5d96075f2c808f2f7334a42c77465d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "958cf25824c53082a9b8f8a93421f4ca1a5d96075f2c808f2f7334a42c77465d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "958cf25824c53082a9b8f8a93421f4ca1a5d96075f2c808f2f7334a42c77465d", kill_on_drop: false }` [INFO] [stdout] 958cf25824c53082a9b8f8a93421f4ca1a5d96075f2c808f2f7334a42c77465d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 83b38f7950217daa30e19f27c0f9e517af42ef2b121fa5935d5a9aa0a1a90f6c [INFO] running `Command { std: "docker" "start" "-a" "83b38f7950217daa30e19f27c0f9e517af42ef2b121fa5935d5a9aa0a1a90f6c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parity-scale-codec v3.6.12 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling aleph-bft-crypto v0.11.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling aleph-bft-types v0.16.0 [INFO] [stderr] Compiling aleph-bft-rmc v0.16.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.25s [INFO] running `Command { std: "docker" "inspect" "83b38f7950217daa30e19f27c0f9e517af42ef2b121fa5935d5a9aa0a1a90f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83b38f7950217daa30e19f27c0f9e517af42ef2b121fa5935d5a9aa0a1a90f6c", kill_on_drop: false }` [INFO] [stdout] 83b38f7950217daa30e19f27c0f9e517af42ef2b121fa5935d5a9aa0a1a90f6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 64f6b32abf2d42656c0664b83f5e18dc17f6c098194aade8948ecbdb79de57c8 [INFO] running `Command { std: "docker" "start" "-a" "64f6b32abf2d42656c0664b83f5e18dc17f6c098194aade8948ecbdb79de57c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aleph-bft-rmc v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `aleph_bft_mock` [INFO] [stdout] --> src/handler.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | use aleph_bft_mock::{BadSigning, Keychain, Signable}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aleph_bft_mock` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aleph_bft_mock`, use `cargo add aleph_bft_mock` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aleph_bft_mock` [INFO] [stdout] --> src/service.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | use aleph_bft_mock::{BadSigning, Keychain, PartialMultisignature, Signable, Signature}; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aleph_bft_mock` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `aleph_bft_mock`, use `cargo add aleph_bft_mock` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | .map(|serv| Box::pin(serv.next_message())); [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 210 | .map(|serv: /* Type */| Box::pin(serv.next_message())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service.rs:216:49 [INFO] [stdout] | [INFO] [stdout] 216 | let (message, node_index) = maybe_message.expect("our channel should be open"); [INFO] [stdout] | ^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service.rs:220:46 [INFO] [stdout] | [INFO] [stdout] 220 | let (hash, node_index) = maybe_start_rmc.expect("our channel should be open"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Option<_>` [INFO] [stdout] --> src/handler.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let mut multisigned = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | Some(ms) => Some(ms.add_signature(signed_hash, &keychain_i)), [INFO] [stdout] | -- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `multisigned` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 163 | let mut multisigned: Option = None; [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service.rs:195:62 [INFO] [stdout] | [INFO] [stdout] 195 | || (use_filter && !(self.message_filter)(j.into(), message.clone())) [INFO] [stdout] | ^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service.rs:199:44 [INFO] [stdout] | [INFO] [stdout] 199 | if let Some(multisigned) = service.process_message(message.clone()) { [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service.rs:264:13 [INFO] [stdout] | [INFO] [stdout] 264 | let hashes = environment.collect_multisigned_hashes(node_count.0).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 265 | assert_eq!(hashes.len(), node_count.0); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `hashes` an explicit type [INFO] [stdout] | [INFO] [stdout] 264 | let hashes: /* Type */ = environment.collect_multisigned_hashes(node_count.0).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | let hashes = environment.collect_multisigned_hashes(node_count.0).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 285 | assert_eq!(hashes.len(), node_count.0); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `hashes` an explicit type [INFO] [stdout] | [INFO] [stdout] 284 | let hashes: /* Type */ = environment.collect_multisigned_hashes(node_count.0).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | let hashes = environment.collect_multisigned_hashes(node_count.0).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 308 | assert_eq!(hashes.len(), node_count.0); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `hashes` an explicit type [INFO] [stdout] | [INFO] [stdout] 307 | let hashes: /* Type */ = environment.collect_multisigned_hashes(node_count.0).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/service.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | let hashes = environment.collect_multisigned_hashes(node_count.0).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 341 | assert_eq!(hashes.len(), node_count.0); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `hashes` an explicit type [INFO] [stdout] | [INFO] [stdout] 340 | let hashes: /* Type */ = environment.collect_multisigned_hashes(node_count.0).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aleph-bft-rmc` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "64f6b32abf2d42656c0664b83f5e18dc17f6c098194aade8948ecbdb79de57c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64f6b32abf2d42656c0664b83f5e18dc17f6c098194aade8948ecbdb79de57c8", kill_on_drop: false }` [INFO] [stdout] 64f6b32abf2d42656c0664b83f5e18dc17f6c098194aade8948ecbdb79de57c8