[INFO] fetching crate rusty_raft 0.1.0... [INFO] checking rusty_raft-0.1.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate rusty_raft 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate rusty_raft 0.1.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 102 packages [INFO] [stderr] Adding apache-avro v0.14.0 (latest: v0.16.0) [INFO] [stderr] Adding apache-avro-derive v0.14.0 (latest: v0.16.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding darling v0.14.4 (latest: v0.20.8) [INFO] [stderr] Adding darling_core v0.14.4 (latest: v0.20.8) [INFO] [stderr] Adding darling_macro v0.14.4 (latest: v0.20.8) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding libflate v1.4.0 (latest: v2.0.0) [INFO] [stderr] Adding libflate_lz77 v1.2.0 (latest: v2.0.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.34.0) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding strum v0.24.1 (latest: v0.26.2) [INFO] [stderr] Adding strum_macros v0.24.3 (latest: v0.26.2) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding typed-builder v0.10.0 (latest: v0.18.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.4) [INFO] [stderr] Adding zerocopy v0.6.6 (latest: v0.7.32) [INFO] [stderr] Adding zerocopy-derive v0.6.6 (latest: v0.7.32) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zerocopy v0.6.6 [INFO] [stderr] Downloaded libflate_lz77 v1.2.0 [INFO] [stderr] Downloaded rle-decode-fast v1.0.3 [INFO] [stderr] Downloaded quad-rand v0.2.1 [INFO] [stderr] Downloaded apache-avro v0.14.0 [INFO] [stderr] Downloaded apache-avro-derive v0.14.0 [INFO] [stderr] Downloaded libflate v1.4.0 [INFO] [stderr] Downloaded zerocopy-derive v0.6.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c45b0a5d148646859741d6c513e728c5dadc3c219bafa996673e6e26c2903557 [INFO] running `Command { std: "docker" "start" "-a" "c45b0a5d148646859741d6c513e728c5dadc3c219bafa996673e6e26c2903557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c45b0a5d148646859741d6c513e728c5dadc3c219bafa996673e6e26c2903557", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c45b0a5d148646859741d6c513e728c5dadc3c219bafa996673e6e26c2903557", kill_on_drop: false }` [INFO] [stdout] c45b0a5d148646859741d6c513e728c5dadc3c219bafa996673e6e26c2903557 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b702231ab3e16a01eaf31356086fb6f50ad0ef225d2c7eb0c417bd97790f266 [INFO] running `Command { std: "docker" "start" "-a" "6b702231ab3e16a01eaf31356086fb6f50ad0ef225d2c7eb0c417bd97790f266", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking libflate_lz77 v1.2.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking libflate v1.4.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zerocopy v0.6.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling apache-avro-derive v0.14.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] 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] 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] 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] 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 37.23s [INFO] running `Command { std: "docker" "inspect" "6b702231ab3e16a01eaf31356086fb6f50ad0ef225d2c7eb0c417bd97790f266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b702231ab3e16a01eaf31356086fb6f50ad0ef225d2c7eb0c417bd97790f266", kill_on_drop: false }` [INFO] [stdout] 6b702231ab3e16a01eaf31356086fb6f50ad0ef225d2c7eb0c417bd97790f266 [INFO] checking rusty_raft-0.1.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate rusty_raft 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate rusty_raft 0.1.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4dde87db7365cc576023cc00045b328574090828aeb0fc4d66858e852fc6f14 [INFO] running `Command { std: "docker" "start" "-a" "f4dde87db7365cc576023cc00045b328574090828aeb0fc4d66858e852fc6f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4dde87db7365cc576023cc00045b328574090828aeb0fc4d66858e852fc6f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4dde87db7365cc576023cc00045b328574090828aeb0fc4d66858e852fc6f14", kill_on_drop: false }` [INFO] [stdout] f4dde87db7365cc576023cc00045b328574090828aeb0fc4d66858e852fc6f14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d9c5d5c70a401fc261769fbaf54129e538974ad6f6129598af97f8f6c078ebd [INFO] running `Command { std: "docker" "start" "-a" "2d9c5d5c70a401fc261769fbaf54129e538974ad6f6129598af97f8f6c078ebd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking libflate_lz77 v1.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling zerocopy-derive v0.6.6 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking libflate v1.4.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zerocopy v0.6.6 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling apache-avro-derive v0.14.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] 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] 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: 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] 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] 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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.92s [INFO] running `Command { std: "docker" "inspect" "2d9c5d5c70a401fc261769fbaf54129e538974ad6f6129598af97f8f6c078ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d9c5d5c70a401fc261769fbaf54129e538974ad6f6129598af97f8f6c078ebd", kill_on_drop: false }` [INFO] [stdout] 2d9c5d5c70a401fc261769fbaf54129e538974ad6f6129598af97f8f6c078ebd