[INFO] cloning repository https://github.com/dhylands/usb-ser-mon-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dhylands/usb-ser-mon-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhylands%2Fusb-ser-mon-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhylands%2Fusb-ser-mon-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7797564858662864cd68476c07a2839fb114e28f [INFO] checking dhylands/usb-ser-mon-rs/7797564858662864cd68476c07a2839fb114e28f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhylands%2Fusb-ser-mon-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dhylands/usb-ser-mon-rs on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dhylands/usb-ser-mon-rs [INFO] finished tweaking git repo https://github.com/dhylands/usb-ser-mon-rs [INFO] tweaked toml for git repo https://github.com/dhylands/usb-ser-mon-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dhylands/usb-ser-mon-rs 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-serial v4.3.3 [INFO] [stderr] Downloaded wildmatch v1.0.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1dc5a0b0965dab69599d5cfc33be06abe4f39939e71a806336cce8570a2891a [INFO] running `Command { std: "docker" "start" "-a" "e1dc5a0b0965dab69599d5cfc33be06abe4f39939e71a806336cce8570a2891a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1dc5a0b0965dab69599d5cfc33be06abe4f39939e71a806336cce8570a2891a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1dc5a0b0965dab69599d5cfc33be06abe4f39939e71a806336cce8570a2891a", kill_on_drop: false }` [INFO] [stdout] e1dc5a0b0965dab69599d5cfc33be06abe4f39939e71a806336cce8570a2891a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f55fc84ffee110cc4dfc3a4ac85febb60a6baaa67c98e84afdcef49bb2918f50 [INFO] running `Command { std: "docker" "start" "-a" "f55fc84ffee110cc4dfc3a4ac85febb60a6baaa67c98e84afdcef49bb2918f50", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking wildmatch v1.0.12 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.18.2 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking mio-serial v3.3.1 [INFO] [stderr] Checking tokio-serial v4.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling strum_macros v0.19.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking strum v0.19.5 [INFO] [stderr] Checking pin-project v1.0.3 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking serial-monitor v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `tokio_serial::Serial: tokio::io::AsyncRead` is not satisfied [INFO] [stdout] --> src/main.rs:502:47 [INFO] [stdout] | [INFO] [stdout] 502 | let (rx_port, tx_port) = tokio::io::split(port); [INFO] [stdout] | ---------------- ^^^^ the trait `tokio::io::AsyncRead` is not implemented for `tokio_serial::Serial`, which is required by `&mut tokio_serial::Serial: tokio::io::AsyncRead` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `tokio::io::AsyncRead`: [INFO] [stdout] &[u8] [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] BufStream [INFO] [stdout] DuplexStream [INFO] [stdout] Pin

[INFO] [stdout] std::io::Cursor [INFO] [stdout] tokio::fs::File [INFO] [stdout] and 16 others [INFO] [stdout] = note: required for `&mut tokio_serial::Serial` to implement `tokio::io::AsyncRead` [INFO] [stdout] note: required by a bound in `tokio::io::split` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.16.1/src/io/split.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn split(stream: T) -> (ReadHalf, WriteHalf) [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 35 | where [INFO] [stdout] 36 | T: AsyncRead + AsyncWrite, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `split` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio_serial::Serial: tokio::io::AsyncRead` is not satisfied [INFO] [stdout] --> src/main.rs:502:47 [INFO] [stdout] | [INFO] [stdout] 502 | let (rx_port, tx_port) = tokio::io::split(port); [INFO] [stdout] | ---------------- ^^^^ the trait `tokio::io::AsyncRead` is not implemented for `tokio_serial::Serial`, which is required by `&mut tokio_serial::Serial: tokio::io::AsyncRead` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `tokio::io::AsyncRead`: [INFO] [stdout] &[u8] [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] BufStream [INFO] [stdout] DuplexStream [INFO] [stdout] Pin

[INFO] [stdout] std::io::Cursor [INFO] [stdout] tokio::fs::File [INFO] [stdout] and 16 others [INFO] [stdout] = note: required for `&mut tokio_serial::Serial` to implement `tokio::io::AsyncRead` [INFO] [stdout] note: required by a bound in `tokio::io::split` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.16.1/src/io/split.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn split(stream: T) -> (ReadHalf, WriteHalf) [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 35 | where [INFO] [stdout] 36 | T: AsyncRead + AsyncWrite, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `split` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio_serial::Serial: tokio::io::AsyncWrite` is not satisfied [INFO] [stdout] --> src/main.rs:502:47 [INFO] [stdout] | [INFO] [stdout] 502 | let (rx_port, tx_port) = tokio::io::split(port); [INFO] [stdout] | ---------------- ^^^^ the trait `tokio::io::AsyncWrite` is not implemented for `tokio_serial::Serial`, which is required by `&mut tokio_serial::Serial: tokio::io::AsyncWrite` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `tokio::io::AsyncWrite`: [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] BufStream [INFO] [stdout] DuplexStream [INFO] [stdout] Pin

[INFO] [stdout] Vec [INFO] [stdout] std::io::Cursor<&mut Vec> [INFO] [stdout] std::io::Cursor<&mut [u8]> [INFO] [stdout] and 16 others [INFO] [stdout] = note: required for `&mut tokio_serial::Serial` to implement `tokio::io::AsyncWrite` [INFO] [stdout] note: required by a bound in `tokio::io::split` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.16.1/src/io/split.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn split(stream: T) -> (ReadHalf, WriteHalf) [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 35 | where [INFO] [stdout] 36 | T: AsyncRead + AsyncWrite, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `split` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::io::ReadHalf<&mut tokio_serial::Serial>: tokio::io::async_read::AsyncRead` is not satisfied [INFO] [stdout] --> src/main.rs:504:64 [INFO] [stdout] | [INFO] [stdout] 504 | let mut serial_reader = tokio_util::codec::FramedRead::new(rx_port, StringDecoder::new()); [INFO] [stdout] | ---------------------------------- ^^^^^^^ the trait `tokio::io::async_read::AsyncRead` is not implemented for `tokio::io::ReadHalf<&mut tokio_serial::Serial>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio_serial::{DataBits, FlowControl, Parity, StopBits}; [INFO] [stdout] | ^^^^^^^^^^^^ one version of crate `tokio` is used here, as a dependency of crate `tokio_serial` [INFO] [stdout] ... [INFO] [stdout] 564 | #[tokio::main] [INFO] [stdout] | ^^^^^ one version of crate `tokio` is used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `FramedRead::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-util-0.3.1/src/codec/framed_read.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | T: AsyncRead, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `FramedRead::::new` [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn new(inner: T, decoder: D) -> FramedRead { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio_serial::Serial: tokio::io::AsyncWrite` is not satisfied [INFO] [stdout] --> src/main.rs:502:47 [INFO] [stdout] | [INFO] [stdout] 502 | let (rx_port, tx_port) = tokio::io::split(port); [INFO] [stdout] | ---------------- ^^^^ the trait `tokio::io::AsyncWrite` is not implemented for `tokio_serial::Serial`, which is required by `&mut tokio_serial::Serial: tokio::io::AsyncWrite` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `tokio::io::AsyncWrite`: [INFO] [stdout] &mut T [INFO] [stdout] Box [INFO] [stdout] BufStream [INFO] [stdout] DuplexStream [INFO] [stdout] Pin

[INFO] [stdout] Vec [INFO] [stdout] std::io::Cursor<&mut Vec> [INFO] [stdout] std::io::Cursor<&mut [u8]> [INFO] [stdout] and 16 others [INFO] [stdout] = note: required for `&mut tokio_serial::Serial` to implement `tokio::io::AsyncWrite` [INFO] [stdout] note: required by a bound in `tokio::io::split` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.16.1/src/io/split.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn split(stream: T) -> (ReadHalf, WriteHalf) [INFO] [stdout] | ----- required by a bound in this function [INFO] [stdout] 35 | where [INFO] [stdout] 36 | T: AsyncRead + AsyncWrite, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `split` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::io::ReadHalf<&mut tokio_serial::Serial>: tokio::io::async_read::AsyncRead` is not satisfied [INFO] [stdout] --> src/main.rs:504:64 [INFO] [stdout] | [INFO] [stdout] 504 | let mut serial_reader = tokio_util::codec::FramedRead::new(rx_port, StringDecoder::new()); [INFO] [stdout] | ---------------------------------- ^^^^^^^ the trait `tokio::io::async_read::AsyncRead` is not implemented for `tokio::io::ReadHalf<&mut tokio_serial::Serial>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio_serial::{DataBits, FlowControl, Parity, StopBits}; [INFO] [stdout] | ^^^^^^^^^^^^ one version of crate `tokio` is used here, as a dependency of crate `tokio_serial` [INFO] [stdout] ... [INFO] [stdout] 564 | #[tokio::main] [INFO] [stdout] | ^^^^^ one version of crate `tokio` is used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `FramedRead::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-util-0.3.1/src/codec/framed_read.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | T: AsyncRead, [INFO] [stdout] | ^^^^^^^^^ required by this bound in `FramedRead::::new` [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn new(inner: T, decoder: D) -> FramedRead { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::io::WriteHalf<&mut tokio_serial::Serial>: tokio::io::async_write::AsyncWrite` is not satisfied [INFO] [stdout] --> src/main.rs:505:59 [INFO] [stdout] | [INFO] [stdout] 505 | let serial_sink = tokio_util::codec::FramedWrite::new(tx_port, BytesCodec::new()); [INFO] [stdout] | ----------------------------------- ^^^^^^^ the trait `tokio::io::async_write::AsyncWrite` is not implemented for `tokio::io::WriteHalf<&mut tokio_serial::Serial>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio_serial::{DataBits, FlowControl, Parity, StopBits}; [INFO] [stdout] | ^^^^^^^^^^^^ one version of crate `tokio` is used here, as a dependency of crate `tokio_serial` [INFO] [stdout] ... [INFO] [stdout] 564 | #[tokio::main] [INFO] [stdout] | ^^^^^ one version of crate `tokio` is used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `FramedWrite::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-util-0.3.1/src/codec/framed_write.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | T: AsyncWrite, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `FramedWrite::::new` [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn new(inner: T, encoder: E) -> FramedWrite { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::io::WriteHalf<&mut tokio_serial::Serial>: tokio::io::async_write::AsyncWrite` is not satisfied [INFO] [stdout] --> src/main.rs:505:59 [INFO] [stdout] | [INFO] [stdout] 505 | let serial_sink = tokio_util::codec::FramedWrite::new(tx_port, BytesCodec::new()); [INFO] [stdout] | ----------------------------------- ^^^^^^^ the trait `tokio::io::async_write::AsyncWrite` is not implemented for `tokio::io::WriteHalf<&mut tokio_serial::Serial>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio_serial::{DataBits, FlowControl, Parity, StopBits}; [INFO] [stdout] | ^^^^^^^^^^^^ one version of crate `tokio` is used here, as a dependency of crate `tokio_serial` [INFO] [stdout] ... [INFO] [stdout] 564 | #[tokio::main] [INFO] [stdout] | ^^^^^ one version of crate `tokio` is used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `FramedWrite::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-util-0.3.1/src/codec/framed_write.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | T: AsyncWrite, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `FramedWrite::::new` [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn new(inner: T, encoder: E) -> FramedWrite { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::io::WriteHalf<&mut tokio_serial::Serial>: tokio::io::async_write::AsyncWrite` is not satisfied [INFO] [stdout] --> src/main.rs:510:57 [INFO] [stdout] | [INFO] [stdout] 510 | let mut poll_send = serial_consumer.map(Ok).forward(serial_sink); [INFO] [stdout] | ------- ^^^^^^^^^^^ the trait `tokio::io::async_write::AsyncWrite` is not implemented for `tokio::io::WriteHalf<&mut tokio_serial::Serial>`, which is required by `FramedWrite, BytesCodec>: futures::Sink` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio_serial::{DataBits, FlowControl, Parity, StopBits}; [INFO] [stdout] | ^^^^^^^^^^^^ one version of crate `tokio` is used here, as a dependency of crate `tokio_serial` [INFO] [stdout] ... [INFO] [stdout] 564 | #[tokio::main] [INFO] [stdout] | ^^^^^ one version of crate `tokio` is used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `FramedWrite, BytesCodec>` to implement `futures::Sink` [INFO] [stdout] note: required by a bound in `futures::StreamExt::forward` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.8/src/stream/stream/mod.rs:1292:12 [INFO] [stdout] | [INFO] [stdout] 1290 | fn forward(self, sink: S) -> Forward [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] 1291 | where [INFO] [stdout] 1292 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StreamExt::forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `tokio::io::WriteHalf<&mut tokio_serial::Serial>: tokio::io::async_write::AsyncWrite` is not satisfied [INFO] [stdout] --> src/main.rs:510:57 [INFO] [stdout] | [INFO] [stdout] 510 | let mut poll_send = serial_consumer.map(Ok).forward(serial_sink); [INFO] [stdout] | ------- ^^^^^^^^^^^ the trait `tokio::io::async_write::AsyncWrite` is not implemented for `tokio::io::WriteHalf<&mut tokio_serial::Serial>`, which is required by `FramedWrite, BytesCodec>: futures::Sink` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: there are multiple different versions of crate `tokio` in the dependency graph [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio_serial::{DataBits, FlowControl, Parity, StopBits}; [INFO] [stdout] | ^^^^^^^^^^^^ one version of crate `tokio` is used here, as a dependency of crate `tokio_serial` [INFO] [stdout] ... [INFO] [stdout] 564 | #[tokio::main] [INFO] [stdout] | ^^^^^ one version of crate `tokio` is used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: required for `FramedWrite, BytesCodec>` to implement `futures::Sink` [INFO] [stdout] note: required by a bound in `futures::StreamExt::forward` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.8/src/stream/stream/mod.rs:1292:12 [INFO] [stdout] | [INFO] [stdout] 1290 | fn forward(self, sink: S) -> Forward [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] 1291 | where [INFO] [stdout] 1292 | S: Sink, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `StreamExt::forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next` exists for struct `FramedRead, StringDecoder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:513:46 [INFO] [stdout] | [INFO] [stdout] 513 | let mut serial_event = serial_reader.next().fuse(); [INFO] [stdout] | ^^^^ method cannot be called on `FramedRead, StringDecoder>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-util-0.3.1/src/codec/framed_read.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pin_project! { [INFO] [stdout] 15 | | /// A [`Stream`] of messages decoded from an [`AsyncRead`]. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// [`Stream`]: tokio::stream::Stream [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- doesn't satisfy `_: StreamExt` or `_: Stream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FramedRead, StringDecoder>: Stream` [INFO] [stdout] which is required by `FramedRead, StringDecoder>: StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `next` exists for struct `FramedRead, StringDecoder>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:513:46 [INFO] [stdout] | [INFO] [stdout] 513 | let mut serial_event = serial_reader.next().fuse(); [INFO] [stdout] | ^^^^ method cannot be called on `FramedRead, StringDecoder>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-util-0.3.1/src/codec/framed_read.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / pin_project! { [INFO] [stdout] 15 | | /// A [`Stream`] of messages decoded from an [`AsyncRead`]. [INFO] [stdout] 16 | | /// [INFO] [stdout] 17 | | /// [`Stream`]: tokio::stream::Stream [INFO] [stdout] ... | [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_- doesn't satisfy `_: StreamExt` or `_: Stream` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `FramedRead, StringDecoder>: Stream` [INFO] [stdout] which is required by `FramedRead, StringDecoder>: StreamExt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serial-monitor` (bin "serial-monitor") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serial-monitor` (bin "serial-monitor" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "f55fc84ffee110cc4dfc3a4ac85febb60a6baaa67c98e84afdcef49bb2918f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f55fc84ffee110cc4dfc3a4ac85febb60a6baaa67c98e84afdcef49bb2918f50", kill_on_drop: false }` [INFO] [stdout] f55fc84ffee110cc4dfc3a4ac85febb60a6baaa67c98e84afdcef49bb2918f50