[INFO] fetching crate aleph-bft-rmc 0.16.0... [INFO] testing aleph-bft-rmc-0.16.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate aleph-bft-rmc 0.16.0 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aleph-bft-rmc 0.16.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 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] da133c7859565187f2375791a823f712000aab630295433a25c2e09bfa1f7074 [INFO] running `Command { std: "docker" "start" "-a" "da133c7859565187f2375791a823f712000aab630295433a25c2e09bfa1f7074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da133c7859565187f2375791a823f712000aab630295433a25c2e09bfa1f7074", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da133c7859565187f2375791a823f712000aab630295433a25c2e09bfa1f7074", kill_on_drop: false }` [INFO] [stdout] da133c7859565187f2375791a823f712000aab630295433a25c2e09bfa1f7074 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 4998cc946c1267fd64dfa3a85bab4b3c3399cbf52c8ad1210d2389f0549128c1 [INFO] running `Command { std: "docker" "start" "-a" "4998cc946c1267fd64dfa3a85bab4b3c3399cbf52c8ad1210d2389f0549128c1", 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 byte-slice-cast v1.2.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [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 futures-util v0.3.31 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.12 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [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.46s [INFO] running `Command { std: "docker" "inspect" "4998cc946c1267fd64dfa3a85bab4b3c3399cbf52c8ad1210d2389f0549128c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4998cc946c1267fd64dfa3a85bab4b3c3399cbf52c8ad1210d2389f0549128c1", kill_on_drop: false }` [INFO] [stdout] 4998cc946c1267fd64dfa3a85bab4b3c3399cbf52c8ad1210d2389f0549128c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 25d3fd90036d6916e17bac5b0f854573f15f303f6ab8a8e6c1e93f236f2bb5d2 [INFO] running `Command { std: "docker" "start" "-a" "25d3fd90036d6916e17bac5b0f854573f15f303f6ab8a8e6c1e93f236f2bb5d2", 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 tokio v1.42.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [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" "25d3fd90036d6916e17bac5b0f854573f15f303f6ab8a8e6c1e93f236f2bb5d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d3fd90036d6916e17bac5b0f854573f15f303f6ab8a8e6c1e93f236f2bb5d2", kill_on_drop: false }` [INFO] [stdout] 25d3fd90036d6916e17bac5b0f854573f15f303f6ab8a8e6c1e93f236f2bb5d2