[INFO] fetching crate finality-grandpa 0.16.2... [INFO] checking finality-grandpa-0.16.2 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate finality-grandpa 0.16.2 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate finality-grandpa 0.16.2 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate finality-grandpa 0.16.2 [INFO] finished tweaking crates.io crate finality-grandpa 0.16.2 [INFO] tweaked toml for crates.io crate finality-grandpa 0.16.2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-timer v3.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61695d7d04bddc2e3a36b87cfc90607c0284e1960d41c7379addf8386d41652e [INFO] running `Command { std: "docker" "start" "-a" "61695d7d04bddc2e3a36b87cfc90607c0284e1960d41c7379addf8386d41652e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61695d7d04bddc2e3a36b87cfc90607c0284e1960d41c7379addf8386d41652e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61695d7d04bddc2e3a36b87cfc90607c0284e1960d41c7379addf8386d41652e", kill_on_drop: false }` [INFO] [stdout] 61695d7d04bddc2e3a36b87cfc90607c0284e1960d41c7379addf8386d41652e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e48d33d46a92fe700c3adeb46904210aa73e5a4358835720868e81bc4f67afd [INFO] running `Command { std: "docker" "start" "-a" "6e48d33d46a92fe700c3adeb46904210aa73e5a4358835720868e81bc4f67afd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling scale-info-derive v2.11.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking parity-scale-codec v3.6.9 [INFO] [stderr] Checking scale-info v2.11.1 [INFO] [stderr] Checking finality-grandpa v0.16.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/round.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate std; [INFO] [stdout] | ----------------- the item `std` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/round.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/vote_graph.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `stream` is imported redundantly [INFO] [stdout] --> src/voter/past_rounds.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 28 | prelude::*, [INFO] [stdout] | ---------- the item `stream` is already imported here [INFO] [stdout] 29 | stream::{self, futures_unordered::FuturesUnordered}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/voter_set.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/bitfield.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::std::{cmp::Ordering, iter, ops::BitOr, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | use crate::{std::vec::Vec, voter_set::VoterSet}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/round/context.rs:159:6 [INFO] [stdout] | [INFO] [stdout] 159 | use crate::std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/round.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate std; [INFO] [stdout] | ----------------- the item `std` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/round.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/vote_graph.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `stream` is imported redundantly [INFO] [stdout] --> src/voter/past_rounds.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 28 | prelude::*, [INFO] [stdout] | ---------- the item `stream` is already imported here [INFO] [stdout] 29 | stream::{self, futures_unordered::FuturesUnordered}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VoteWeight` is imported redundantly [INFO] [stdout] --> src/voter/mod.rs:1087:13 [INFO] [stdout] | [INFO] [stdout] 1080 | use super::*; [INFO] [stdout] | -------- the item `VoteWeight` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1087 | weights::{VoteWeight, VoterWeight}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `iter` is imported redundantly [INFO] [stdout] --> src/bitfield.rs:207:6 [INFO] [stdout] | [INFO] [stdout] 206 | use super::*; [INFO] [stdout] | -------- the item `iter` is already imported here [INFO] [stdout] 207 | use crate::std::iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/testing.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | std::{collections::BTreeMap, vec::Vec}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/35936c4839dd272646394779d151e060d0f6b3ac/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.43s [INFO] running `Command { std: "docker" "inspect" "6e48d33d46a92fe700c3adeb46904210aa73e5a4358835720868e81bc4f67afd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e48d33d46a92fe700c3adeb46904210aa73e5a4358835720868e81bc4f67afd", kill_on_drop: false }` [INFO] [stdout] 6e48d33d46a92fe700c3adeb46904210aa73e5a4358835720868e81bc4f67afd [INFO] checking finality-grandpa-0.16.2 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate finality-grandpa 0.16.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate finality-grandpa 0.16.2 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate finality-grandpa 0.16.2 [INFO] finished tweaking crates.io crate finality-grandpa 0.16.2 [INFO] tweaked toml for crates.io crate finality-grandpa 0.16.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70ca77dad4aa1141d23a2648f340452136e2ffad7a22db95c83b6bb08ff55d9c [INFO] running `Command { std: "docker" "start" "-a" "70ca77dad4aa1141d23a2648f340452136e2ffad7a22db95c83b6bb08ff55d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70ca77dad4aa1141d23a2648f340452136e2ffad7a22db95c83b6bb08ff55d9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ca77dad4aa1141d23a2648f340452136e2ffad7a22db95c83b6bb08ff55d9c", kill_on_drop: false }` [INFO] [stdout] 70ca77dad4aa1141d23a2648f340452136e2ffad7a22db95c83b6bb08ff55d9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f05e452bd6f94ea1b6d1d53de4d894fcb094d422d9c81466e170404cef207d1c [INFO] running `Command { std: "docker" "start" "-a" "f05e452bd6f94ea1b6d1d53de4d894fcb094d422d9c81466e170404cef207d1c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling scale-info-derive v2.11.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking parity-scale-codec v3.6.9 [INFO] [stderr] Checking scale-info v2.11.1 [INFO] [stderr] Checking finality-grandpa v0.16.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/round/context.rs:159:6 [INFO] [stdout] | [INFO] [stdout] 159 | use crate::std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/round.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate std; [INFO] [stdout] | ----------------- the item `std` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/round.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/vote_graph.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `stream` is imported redundantly [INFO] [stdout] --> src/voter/past_rounds.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 28 | prelude::*, [INFO] [stdout] | ---------- the item `stream` is already imported here [INFO] [stdout] 29 | stream::{self, futures_unordered::FuturesUnordered}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VoteWeight` is imported redundantly [INFO] [stdout] --> src/voter/mod.rs:1087:13 [INFO] [stdout] | [INFO] [stdout] 1080 | use super::*; [INFO] [stdout] | -------- the item `VoteWeight` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1087 | weights::{VoteWeight, VoterWeight}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `iter` is imported redundantly [INFO] [stdout] --> src/bitfield.rs:207:6 [INFO] [stdout] | [INFO] [stdout] 206 | use super::*; [INFO] [stdout] | -------- the item `iter` is already imported here [INFO] [stdout] 207 | use crate::std::iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/testing.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | std::{collections::BTreeMap, vec::Vec}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/round.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate std; [INFO] [stdout] | ----------------- the item `std` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/round.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/vote_graph.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.31s [INFO] [stdout] warning: the item `stream` is imported redundantly [INFO] [stdout] --> src/voter/past_rounds.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 28 | prelude::*, [INFO] [stdout] | ---------- the item `stream` is already imported here [INFO] [stdout] 29 | stream::{self, futures_unordered::FuturesUnordered}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/voter_set.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/bitfield.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::std::{cmp::Ordering, iter, ops::BitOr, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | use crate::{std::vec::Vec, voter_set::VoterSet}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking finality-grandpa v0.16.2 (/tmp/fixit) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/round.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate std; [INFO] [stdout] | ----------------- the item `std` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/round.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/vote_graph.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `stream` is imported redundantly [INFO] [stdout] --> src/voter/past_rounds.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 28 | prelude::*, [INFO] [stdout] | ---------- the item `stream` is already imported here [INFO] [stdout] 29 | stream::{self, futures_unordered::FuturesUnordered}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/voter_set.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/bitfield.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::std::{cmp::Ordering, iter, ops::BitOr, vec::Vec}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/lib.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | use crate::{std::vec::Vec, voter_set::VoterSet}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/round/context.rs:159:6 [INFO] [stdout] | [INFO] [stdout] 159 | use crate::std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/round.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | extern crate std; [INFO] [stdout] | ----------------- the item `std` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/round.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/vote_graph.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | vec::Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `stream` is imported redundantly [INFO] [stdout] --> src/voter/past_rounds.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 28 | prelude::*, [INFO] [stdout] | ---------- the item `stream` is already imported here [INFO] [stdout] 29 | stream::{self, futures_unordered::FuturesUnordered}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `VoteWeight` is imported redundantly [INFO] [stdout] --> src/voter/mod.rs:1087:13 [INFO] [stdout] | [INFO] [stdout] 1080 | use super::*; [INFO] [stdout] | -------- the item `VoteWeight` is already imported here [INFO] [stdout] ... [INFO] [stdout] 1087 | weights::{VoteWeight, VoterWeight}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `iter` is imported redundantly [INFO] [stdout] --> src/bitfield.rs:207:6 [INFO] [stdout] | [INFO] [stdout] 206 | use super::*; [INFO] [stdout] | -------- the item `iter` is already imported here [INFO] [stdout] 207 | use crate::std::iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Vec` is imported redundantly [INFO] [stdout] --> src/testing.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | std::{collections::BTreeMap, vec::Vec}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/std/src/prelude/mod.rs:139:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `rounds` does not live long enough [INFO] [stdout] --> src/testing.rs:450:4 [INFO] [stdout] | [INFO] [stdout] 442 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 449 | let mut rounds = self.rounds.lock(); [INFO] [stdout] | ---------- binding `rounds` declared here [INFO] [stdout] 450 | rounds [INFO] [stdout] | -^^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 451 | | .entry(round_number) [INFO] [stdout] 452 | | .or_insert_with(RoundNetwork::new) [INFO] [stdout] 453 | | .add_node(move |message| SignedMessage { [INFO] [stdout] ... | [INFO] [stdout] 456 | | id: node_id, [INFO] [stdout] 457 | | }) [INFO] [stdout] | |__________________- argument requires that `rounds` is borrowed for `'1` [INFO] [stdout] 458 | } [INFO] [stdout] | - `rounds` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `global_messages` does not live long enough [INFO] [stdout] --> src/testing.rs:467:4 [INFO] [stdout] | [INFO] [stdout] 461 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 466 | let mut global_messages = self.global_messages.lock(); [INFO] [stdout] | ------------------- binding `global_messages` declared here [INFO] [stdout] 467 | global_messages.add_node(|message| match message { [INFO] [stdout] | -^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | _____________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 468 | | CommunicationOut::Commit(r, commit) => [INFO] [stdout] 469 | | CommunicationIn::Commit(r, commit.into(), Callback::Blank), [INFO] [stdout] 470 | | }) [INFO] [stdout] | |______________- argument requires that `global_messages` is borrowed for `'1` [INFO] [stdout] 471 | } [INFO] [stdout] | - `global_messages` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1101:22 [INFO] [stdout] | [INFO] [stdout] 1099 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] 1100 | [INFO] [stdout] 1101 | let global_comms = network.make_global_comms(); [INFO] [stdout] | ^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1132 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `network` because it is borrowed [INFO] [stdout] --> src/voter/mod.rs:1102:39 [INFO] [stdout] | [INFO] [stdout] 1099 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] 1100 | [INFO] [stdout] 1101 | let global_comms = network.make_global_comms(); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrow of `network` occurs here [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] 1102 | let env = Arc::new(Environment::new(network, local_id)); [INFO] [stdout] | ^^^^^^^ move out of `network` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1147:41 [INFO] [stdout] | [INFO] [stdout] 1144 | .map(|i| { [INFO] [stdout] | --- value captured here [INFO] [stdout] ... [INFO] [stdout] 1147 | let env = Arc::new(Environment::new(network.clone(), local_id)); [INFO] [stdout] | ^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 1158 | network.make_global_comms(), [INFO] [stdout] | --------------------------- argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1177 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1193:41 [INFO] [stdout] | [INFO] [stdout] 1190 | .map(|i| { [INFO] [stdout] | --- value captured here [INFO] [stdout] ... [INFO] [stdout] 1193 | let env = Arc::new(Environment::new(network.clone(), local_id)); [INFO] [stdout] | ^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 1204 | network.make_global_comms(), [INFO] [stdout] | --------------------------- argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1248 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1258:22 [INFO] [stdout] | [INFO] [stdout] 1255 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] ... [INFO] [stdout] 1258 | let global_comms = network.make_global_comms(); [INFO] [stdout] | ^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1284 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `network` because it is borrowed [INFO] [stdout] --> src/voter/mod.rs:1259:39 [INFO] [stdout] | [INFO] [stdout] 1255 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] 1256 | let (commits, _) = network.make_global_comms(); [INFO] [stdout] | ------- borrow of `network` occurs here [INFO] [stdout] ... [INFO] [stdout] 1259 | let env = Arc::new(Environment::new(network, local_id)); [INFO] [stdout] | ^^^^^^^ move out of `network` occurs here [INFO] [stdout] ... [INFO] [stdout] 1283 | pool.run_until(commits.take(1).for_each(|_| future::ready(()))) [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1294:40 [INFO] [stdout] | [INFO] [stdout] 1293 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] 1294 | let (commits_stream, commits_sink) = network.make_global_comms(); [INFO] [stdout] | ^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1393 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1295:36 [INFO] [stdout] | [INFO] [stdout] 1293 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] 1294 | let (commits_stream, commits_sink) = network.make_global_comms(); [INFO] [stdout] 1295 | let (round_stream, round_sink) = network.make_round_comms(1, test_id); [INFO] [stdout] | ^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1393 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1314:22 [INFO] [stdout] | [INFO] [stdout] 1293 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] ... [INFO] [stdout] 1314 | let global_comms = network.make_global_comms(); [INFO] [stdout] | ^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1393 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `network` because it is borrowed [INFO] [stdout] --> src/voter/mod.rs:1315:39 [INFO] [stdout] | [INFO] [stdout] 1293 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] 1294 | let (commits_stream, commits_sink) = network.make_global_comms(); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrow of `network` occurs here [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1315 | let env = Arc::new(Environment::new(network, local_id)); [INFO] [stdout] | ^^^^^^^ move out of `network` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1403:27 [INFO] [stdout] | [INFO] [stdout] 1402 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] 1403 | let (_, commits_sink) = network.make_global_comms(); [INFO] [stdout] | ^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1454 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1416:22 [INFO] [stdout] | [INFO] [stdout] 1402 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] ... [INFO] [stdout] 1416 | let global_comms = network.make_global_comms(); [INFO] [stdout] | ^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1454 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `network` because it is borrowed [INFO] [stdout] --> src/voter/mod.rs:1417:39 [INFO] [stdout] | [INFO] [stdout] 1402 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] 1403 | let (_, commits_sink) = network.make_global_comms(); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrow of `network` occurs here [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1417 | let env = Arc::new(Environment::new(network, local_id)); [INFO] [stdout] | ^^^^^^^ move out of `network` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1482:5 [INFO] [stdout] | [INFO] [stdout] 1464 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] ... [INFO] [stdout] 1482 | network.make_global_comms(), [INFO] [stdout] | ^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1563 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1572:22 [INFO] [stdout] | [INFO] [stdout] 1570 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] 1571 | [INFO] [stdout] 1572 | let global_comms = network.make_global_comms(); [INFO] [stdout] | ^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1602 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `network` because it is borrowed [INFO] [stdout] --> src/voter/mod.rs:1573:39 [INFO] [stdout] | [INFO] [stdout] 1570 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] 1571 | [INFO] [stdout] 1572 | let global_comms = network.make_global_comms(); [INFO] [stdout] | --------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrow of `network` occurs here [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] 1573 | let env = Arc::new(Environment::new(network, local_id)); [INFO] [stdout] | ^^^^^^^ move out of `network` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1611:22 [INFO] [stdout] | [INFO] [stdout] 1609 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] 1610 | [INFO] [stdout] 1611 | let global_comms = network.make_global_comms(); [INFO] [stdout] | ^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1703 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1650:26 [INFO] [stdout] | [INFO] [stdout] 1609 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] ... [INFO] [stdout] 1650 | let (_, round_sink) = network.make_round_comms(2, Id(id)); [INFO] [stdout] | ^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1703 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `network` does not live long enough [INFO] [stdout] --> src/voter/mod.rs:1658:25 [INFO] [stdout] | [INFO] [stdout] 1609 | let (network, routing_task) = testing::environment::make_network(); [INFO] [stdout] | ------- binding `network` declared here [INFO] [stdout] ... [INFO] [stdout] 1658 | let (_, round_sink) = network.make_round_comms(1, sender); [INFO] [stdout] | ^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `network` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 1703 | } [INFO] [stdout] | - `network` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/testing.rs:247:4 [INFO] [stdout] | [INFO] [stdout] 243 | fn round_data(&self, round: u64) -> RoundData { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 247 | / RoundData { [INFO] [stdout] 248 | | voter_id: Some(self.local_id), [INFO] [stdout] 249 | | prevote_timer: Box::new(Delay::new(GOSSIP_DURATION).map(Ok)), [INFO] [stdout] 250 | | precommit_timer: Box::new(Delay::new(GOSSIP_DURATION + GOSSIP_DURATION).map(Ok)), [INFO] [stdout] 251 | | incoming: Box::new(incoming), [INFO] [stdout] 252 | | outgoing: Box::pin(outgoing), [INFO] [stdout] 253 | | } [INFO] [stdout] | |_____________^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `finality-grandpa` (lib test) due to 23 previous errors; 8 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f05e452bd6f94ea1b6d1d53de4d894fcb094d422d9c81466e170404cef207d1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f05e452bd6f94ea1b6d1d53de4d894fcb094d422d9c81466e170404cef207d1c", kill_on_drop: false }` [INFO] [stdout] f05e452bd6f94ea1b6d1d53de4d894fcb094d422d9c81466e170404cef207d1c