[INFO] fetching crate rusty_raft 0.1.0... [INFO] checking rusty_raft-0.1.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rusty_raft 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate rusty_raft 0.1.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rusty_raft 0.1.0 [INFO] finished tweaking crates.io crate rusty_raft 0.1.0 [INFO] tweaked toml for crates.io crate rusty_raft 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 96 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding apache-avro v0.14.0 (latest: v0.17.0) [INFO] [stderr] Adding apache-avro-derive v0.14.0 (latest: v0.17.0) [INFO] [stderr] Adding darling v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_core v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding darling_macro v0.14.4 (latest: v0.20.10) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding libflate v1.4.0 (latest: v2.1.0) [INFO] [stderr] Adding libflate_lz77 v1.2.0 (latest: v2.1.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding strum v0.24.1 (latest: v0.26.3) [INFO] [stderr] Adding strum_macros v0.24.3 (latest: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding typed-builder v0.10.0 (latest: v0.20.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding zerocopy v0.6.6 (latest: v0.7.35) [INFO] [stderr] Adding zerocopy-derive v0.6.6 (latest: v0.7.35) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded apache-avro-derive v0.14.0 [INFO] [stderr] Downloaded apache-avro v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe93ed573a933cf475cf59b7c5663a9d821e48df04040888b50d28068380fb12 [INFO] running `Command { std: "docker" "start" "-a" "fe93ed573a933cf475cf59b7c5663a9d821e48df04040888b50d28068380fb12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe93ed573a933cf475cf59b7c5663a9d821e48df04040888b50d28068380fb12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe93ed573a933cf475cf59b7c5663a9d821e48df04040888b50d28068380fb12", kill_on_drop: false }` [INFO] [stdout] fe93ed573a933cf475cf59b7c5663a9d821e48df04040888b50d28068380fb12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c86dc9071986a7ffd7953c16a89d7a67407bac0a99d234bcf84d6938620d9871 [INFO] running `Command { std: "docker" "start" "-a" "c86dc9071986a7ffd7953c16a89d7a67407bac0a99d234bcf84d6938620d9871", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking libflate_lz77 v1.2.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking libflate v1.4.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerocopy v0.6.6 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling apache-avro-derive v0.14.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking apache-avro v0.14.0 [INFO] [stderr] Checking rusty_raft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::net::TcpStream` [INFO] [stdout] --> src/protocol.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpStream` [INFO] [stdout] --> src/protocol.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/protocol.rs:243:32 [INFO] [stdout] | [INFO] [stdout] 243 | if let Err(e) = message_queue.send(message).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/protocol.rs:243:32 [INFO] [stdout] | [INFO] [stdout] 243 | if let Err(e) = message_queue.send(message).await { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/protocol.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AEReq`, `AERes`, `RVReq`, `RVRes`, and `ServerId` are never constructed [INFO] [stdout] --> src/protocol.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum Message [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 62 | AEReq(AppendEntriesRequest), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | AERes(AppendEntriesResult), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 64 | RVReq(RequestVoteRequest), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 65 | RVRes(RequestVoteResult), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 66 | ServerId(String) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Message` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_frame_header` is never used [INFO] [stdout] --> src/protocol.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 69 | / impl Message [INFO] [stdout] 70 | | where [INFO] [stdout] 71 | | C: AvroSchemaComponent + Sync + Send, [INFO] [stdout] | |_________________________________________- method in this implementation [INFO] [stdout] 72 | { [INFO] [stdout] 73 | fn get_frame_header(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_marker_from_kind` is never used [INFO] [stdout] --> src/protocol.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn message_marker_from_kind(message_kind: &MessageKind) -> u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `message_marker_to_kind` is never used [INFO] [stdout] --> src/protocol.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn message_marker_to_kind(marker: u8) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageWriter` is never constructed [INFO] [stdout] --> src/protocol.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct MessageWriter [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/protocol.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 112 | / impl MessageWriter [INFO] [stdout] 113 | | where [INFO] [stdout] 114 | | C: AvroSchemaComponent + Serialize + DeserializeOwned + Sync + Send, [INFO] [stdout] | |________________________________________________________________________- associated items in this implementation [INFO] [stdout] 115 | { [INFO] [stdout] 116 | pub fn new() -> MessageWriter { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub async fn write( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageReader` is never constructed [INFO] [stdout] --> src/protocol.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct MessageReader [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `read` are never used [INFO] [stdout] --> src/protocol.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 171 | / impl MessageReader [INFO] [stdout] 172 | | where [INFO] [stdout] 173 | | C: AvroSchemaComponent + Serialize + DeserializeOwned + Sync + Send, [INFO] [stdout] | |________________________________________________________________________- associated items in this implementation [INFO] [stdout] 174 | { [INFO] [stdout] 175 | pub fn new() -> MessageReader { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub async fn read(&mut self, buf: &mut Cursor<&[u8]>) -> Result, ProtocolError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connection_reader` is never used [INFO] [stdout] --> src/protocol.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | pub async fn connection_reader<'a, C>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connection_writer` is never used [INFO] [stdout] --> src/protocol.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | pub async fn connection_writer<'a, C>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | Serialization(apache_avro::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 284 | Serialization(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 285 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `IncompleteFrame` and `FrameDeSynced` are never constructed [INFO] [stdout] --> src/protocol.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 283 | pub enum ProtocolError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 286 | IncompleteFrame, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 287 | FrameDeSynced, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_msg_eq` is never used [INFO] [stdout] --> src/protocol.rs:385:8 [INFO] [stdout] | [INFO] [stdout] 385 | fn assert_msg_eq( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connection_reader` is never used [INFO] [stdout] --> src/protocol.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 210 | pub async fn connection_reader<'a, C>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `connection_writer` is never used [INFO] [stdout] --> src/protocol.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | pub async fn connection_writer<'a, C>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | Serialization(apache_avro::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 284 | Serialization(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/protocol.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 285 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.12s [INFO] running `Command { std: "docker" "inspect" "c86dc9071986a7ffd7953c16a89d7a67407bac0a99d234bcf84d6938620d9871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c86dc9071986a7ffd7953c16a89d7a67407bac0a99d234bcf84d6938620d9871", kill_on_drop: false }` [INFO] [stdout] c86dc9071986a7ffd7953c16a89d7a67407bac0a99d234bcf84d6938620d9871