[INFO] cloning repository https://github.com/ZiCog/tokio_serial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZiCog/tokio_serial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZiCog%2Ftokio_serial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZiCog%2Ftokio_serial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b335ec0833977d9c3756250c81ab54304a9d34c6 [INFO] checking ZiCog/tokio_serial against master#1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZiCog%2Ftokio_serial" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZiCog/tokio_serial on toolchain 1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZiCog/tokio_serial [INFO] finished tweaking git repo https://github.com/ZiCog/tokio_serial [INFO] tweaked toml for git repo https://github.com/ZiCog/tokio_serial written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ZiCog/tokio_serial already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ca8b71cff69b0c48e40ceb66d01b9f8d30b2492" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking ZiCog/tokio_serial against try#a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZiCog%2Ftokio_serial" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZiCog/tokio_serial on toolchain a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZiCog/tokio_serial [INFO] finished tweaking git repo https://github.com/ZiCog/tokio_serial [INFO] tweaked toml for git repo https://github.com/ZiCog/tokio_serial written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZiCog/tokio_serial already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking ZiCog/tokio_serial against try#a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 for pr-118553-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZiCog%2Ftokio_serial" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZiCog/tokio_serial on toolchain a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ZiCog/tokio_serial [INFO] finished tweaking git repo https://github.com/ZiCog/tokio_serial [INFO] tweaked toml for git repo https://github.com/ZiCog/tokio_serial written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZiCog/tokio_serial already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-serial v5.4.4 [INFO] [stderr] Downloaded mio-serial v5.0.5 [INFO] [stderr] Downloaded protoc v2.28.0 [INFO] [stderr] Downloaded protoc-rust v2.28.0 [INFO] [stderr] Downloaded serialport v4.2.1 [INFO] [stderr] Downloaded bitintr v0.3.0 [INFO] [stderr] Downloaded protobuf-json-mapping v3.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51784e8ffb18e0223ce1b2a6d3d8eb0df8cc3187aefe8f806ef6248e0fb8ee1a [INFO] running `Command { std: "docker" "start" "-a" "51784e8ffb18e0223ce1b2a6d3d8eb0df8cc3187aefe8f806ef6248e0fb8ee1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51784e8ffb18e0223ce1b2a6d3d8eb0df8cc3187aefe8f806ef6248e0fb8ee1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51784e8ffb18e0223ce1b2a6d3d8eb0df8cc3187aefe8f806ef6248e0fb8ee1a", kill_on_drop: false }` [INFO] [stdout] 51784e8ffb18e0223ce1b2a6d3d8eb0df8cc3187aefe8f806ef6248e0fb8ee1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a1ab9307c2d2e67595eb3bb22fd707ccd1f71e33" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8184a4a8c94eee124e6ec86fb8dfc5c73c9229a61bf8f91941c65fb11939c3d9 [INFO] running `Command { std: "docker" "start" "-a" "8184a4a8c94eee124e6ec86fb8dfc5c73c9229a61bf8f91941c65fb11939c3d9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling rustix v0.37.23 [INFO] [stderr] Compiling protobuf v3.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking bitflags v2.0.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling bitintr v0.3.0 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling protoc v2.28.0 [INFO] [stderr] Checking regex-automata v0.3.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling protobuf-codegen v2.28.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking serialport v4.2.1 [INFO] [stderr] Checking mio-serial v5.0.5 [INFO] [stderr] Compiling protoc-rust v2.28.0 [INFO] [stderr] Checking protobuf-support v3.2.0 [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking protobuf-json-mapping v3.2.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-serial v5.4.4 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Compiling protobuf-parse v3.2.0 [INFO] [stderr] Compiling protobuf-codegen v3.2.0 [INFO] [stderr] Compiling tokio_serial v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: tokio_serial@0.1.0: src/hdlc.c: In function 'hdlc_encode': [INFO] [stderr] warning: tokio_serial@0.1.0: src/hdlc.c:144:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tokio_serial@0.1.0: 144 | for (i = 0; i < pktsize; i++) [INFO] [stderr] warning: tokio_serial@0.1.0: | ^ [INFO] [stderr] warning: tokio_serial@0.1.0: src/hdlc.c:148:21: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] [INFO] [stderr] warning: tokio_serial@0.1.0: 148 | if (frmsize < written + 2) [INFO] [stderr] warning: tokio_serial@0.1.0: | ^ [INFO] [stderr] warning: tokio_serial@0.1.0: src/hdlc.c:161:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'ssize_t' {aka 'long int'} [-Wsign-compare] [INFO] [stderr] warning: tokio_serial@0.1.0: 161 | if (frmsize < written + 3) [INFO] [stderr] warning: tokio_serial@0.1.0: | ^ [INFO] [stderr] warning: tokio_serial@0.1.0: src/hdlc.c: In function 'hdlc_find_frame': [INFO] [stderr] warning: tokio_serial@0.1.0: src/hdlc.c:210:24: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tokio_serial@0.1.0: 210 | for (i = *start; i < bufsize; i++) [INFO] [stderr] warning: tokio_serial@0.1.0: | ^ [INFO] [stderr] warning: tokio_serial@0.1.0: src/hdlc.c:222:14: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tokio_serial@0.1.0: 222 | while (s < bufsize && buffer[s] == 0x7e) // consecutive Flag Sequences [INFO] [stderr] warning: tokio_serial@0.1.0: | ^ [INFO] [stderr] warning: tokio_serial@0.1.0: src/hdlc.c:226:19: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tokio_serial@0.1.0: 226 | for (i = s; i < bufsize; i++) [INFO] [stderr] warning: tokio_serial@0.1.0: | ^ [INFO] [stderr] warning: tokio_serial@0.1.0: src/hdlc.c: In function 'hdlc_decode': [INFO] [stderr] warning: tokio_serial@0.1.0: src/hdlc.c:274:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tokio_serial@0.1.0: 274 | for (i = start; i < frmsize; i++) [INFO] [stderr] warning: tokio_serial@0.1.0: | ^ [INFO] [stderr] warning: tokio_serial@0.1.0: src/hdlc.c:294:21: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: tokio_serial@0.1.0: 294 | if (written >= pktsize) [INFO] [stderr] warning: tokio_serial@0.1.0: | ^~ [INFO] [stdout] warning: unused import: `crate::hdlc::*` [INFO] [stdout] --> src/serial_port_test.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::hdlc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod serial_port_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::size_t` [INFO] [stdout] --> src/serial_port_test.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | use libc::size_t; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | mod serial_port_test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_char` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use std::os::raw::c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::hdlc::*` [INFO] [stdout] --> src/serial_port_test.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::hdlc::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc::size_t` [INFO] [stdout] --> src/serial_port_test.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | use libc::size_t; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_char` [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use std::os::raw::c_char; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_protobuf` is never used [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn test_protobuf() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_gray_code` is never used [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_gray_code() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_hdlc` is never used [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn test_hdlc() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `protobuf_experiment` is never used [INFO] [stdout] --> src/protobuf_experiment.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn protobuf_experiment() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Line` is never constructed [INFO] [stdout] --> src/serial_port_test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum Msg { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 21 | Line(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Msg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_reader` is never used [INFO] [stdout] --> src/serial_port_test.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | async fn line_reader(reader: ReadHalf, tx: Sender) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRC_TAB` is never used [INFO] [stdout] --> src/crc.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CRC_TAB: &[u16] = &[ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crc` is never used [INFO] [stdout] --> src/crc.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn crc(mut sum: u16, seq: &[u8]) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADDRESS_CONTROL_CHECKSUM` is never used [INFO] [stdout] --> src/crc.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const ADDRESS_CONTROL_CHECKSUM: u16 = 0x3de3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_track_gray_code` is never used [INFO] [stdout] --> src/gray_code.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn single_track_gray_code() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `in_sending_accm` is never used [INFO] [stdout] --> src/hdlc.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn in_sending_accm(byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `in_receiving_accm` is never used [INFO] [stdout] --> src/hdlc.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn in_receiving_accm(byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_protobuf` is never used [INFO] [stdout] --> src/main.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn test_protobuf() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_gray_code` is never used [INFO] [stdout] --> src/main.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn test_gray_code() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_hdlc` is never used [INFO] [stdout] --> src/main.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn test_hdlc() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `protobuf_experiment` is never used [INFO] [stdout] --> src/protobuf_experiment.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn protobuf_experiment() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Line` is never constructed [INFO] [stdout] --> src/serial_port_test.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | enum Msg { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 21 | Line(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Msg` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `epoch_seconds` is never used [INFO] [stdout] --> src/serial_port_test.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn epoch_seconds() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_reader` is never used [INFO] [stdout] --> src/serial_port_test.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | async fn line_reader(reader: ReadHalf, tx: Sender) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CRC_TAB` is never used [INFO] [stdout] --> src/crc.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const CRC_TAB: &[u16] = &[ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crc` is never used [INFO] [stdout] --> src/crc.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn crc(mut sum: u16, seq: &[u8]) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ADDRESS_CONTROL_CHECKSUM` is never used [INFO] [stdout] --> src/crc.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const ADDRESS_CONTROL_CHECKSUM: u16 = 0x3de3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `single_track_gray_code` is never used [INFO] [stdout] --> src/gray_code.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn single_track_gray_code() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `in_sending_accm` is never used [INFO] [stdout] --> src/hdlc.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn in_sending_accm(byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `in_receiving_accm` is never used [INFO] [stdout] --> src/hdlc.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn in_receiving_accm(byte: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_hdlc_ffi` is never used [INFO] [stdout] --> src/hdlc_ffi.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn init_hdlc_ffi() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hdlc_encode_ffi` is never used [INFO] [stdout] --> src/hdlc_ffi.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn hdlc_encode_ffi(packet: &[u8]) -> Result, isize> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hdlc_find_frame_ffi` is never used [INFO] [stdout] --> src/hdlc_ffi.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn hdlc_find_frame_ffi(buffer: &[u8]) -> Result<&[u8], isize> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hdlc_decode_ffi` is never used [INFO] [stdout] --> src/hdlc_ffi.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn hdlc_decode_ffi(frame: &[u8], packet: &mut [u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_hdlc` is never used [INFO] [stdout] --> src/hdlc_ffi.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn init_hdlc(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hdlc_encode` is never used [INFO] [stdout] --> src/hdlc_ffi.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | fn hdlc_encode(frame: *mut u8, frmsize: size_t, packet: *const u8, pktsize: size_t) -> ssize_t; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hdlc_find_frame` is never used [INFO] [stdout] --> src/hdlc_ffi.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn hdlc_find_frame(buffer: *const u8, bufsize: size_t, start: *mut off_t) -> ssize_t; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hdlc_decode` is never used [INFO] [stdout] --> src/hdlc_ffi.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn hdlc_decode(frame: *const u8, frmsize: size_t, packet: *mut u8, pktsize: size_t) -> ssize_t; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.76s [INFO] running `Command { std: "docker" "inspect" "8184a4a8c94eee124e6ec86fb8dfc5c73c9229a61bf8f91941c65fb11939c3d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8184a4a8c94eee124e6ec86fb8dfc5c73c9229a61bf8f91941c65fb11939c3d9", kill_on_drop: false }` [INFO] [stdout] 8184a4a8c94eee124e6ec86fb8dfc5c73c9229a61bf8f91941c65fb11939c3d9