[INFO] cloning repository https://github.com/htrefil/multichat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/htrefil/multichat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhtrefil%2Fmultichat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhtrefil%2Fmultichat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c83517fec22d7bbce9c5712b7b452ed7a3cc6b56 [INFO] testing htrefil/multichat against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhtrefil%2Fmultichat" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/htrefil/multichat on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/htrefil/multichat [INFO] finished tweaking git repo https://github.com/htrefil/multichat [INFO] tweaked toml for git repo https://github.com/htrefil/multichat written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/htrefil/multichat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82424e3cd650f250ced4fc83e20153542ca47046aa11b329a37a2433f2006555 [INFO] running `Command { std: "docker" "start" "-a" "82424e3cd650f250ced4fc83e20153542ca47046aa11b329a37a2433f2006555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82424e3cd650f250ced4fc83e20153542ca47046aa11b329a37a2433f2006555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82424e3cd650f250ced4fc83e20153542ca47046aa11b329a37a2433f2006555", kill_on_drop: false }` [INFO] [stdout] 82424e3cd650f250ced4fc83e20153542ca47046aa11b329a37a2433f2006555 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e3fabc684b5c8d7ca578e5c73f8c7b2fc55366359891079283ea015ca6e724f [INFO] running `Command { std: "docker" "start" "-a" "4e3fabc684b5c8d7ca578e5c73f8c7b2fc55366359891079283ea015ca6e724f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling tokio v1.8.1 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling crossterm v0.20.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling structopt v0.3.22 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling rmp-serde v0.15.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling multichat-proto v0.1.0 (/opt/rustwide/workdir/multichat-proto) [INFO] [stderr] Compiling multichat-client v0.1.0 (/opt/rustwide/workdir/multichat-client) [INFO] [stderr] Compiling multichat-server v0.1.0 (/opt/rustwide/workdir/multichat-server) [INFO] [stderr] Compiling multichat-tui v0.1.0 (/opt/rustwide/workdir/multichat-tui) [INFO] [stdout] warning: unused import: `crossterm::cursor::MoveTo` [INFO] [stdout] --> multichat-tui/src/screen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crossterm::cursor::MoveTo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEvent`, `self` [INFO] [stdout] --> multichat-tui/src/screen.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use crossterm::event::{self, Event as TermEvent, EventStream, KeyCode, KeyEvent, KeyModifiers}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `PrintStyledContent`, `Print`, `ResetColor`, `SetForegroundColor`, `Stylize` [INFO] [stdout] --> multichat-tui/src/screen.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use crossterm::style::{Color, Print, PrintStyledContent, ResetColor, SetForegroundColor, Stylize}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClearType`, `Clear` [INFO] [stdout] --> multichat-tui/src/screen.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | self, Clear, ClearType, DisableLineWrap, EnterAlternateScreen, LeaveAlternateScreen, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> multichat-tui/src/screen.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> multichat-tui/src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Command` [INFO] [stdout] --> multichat-tui/src/command.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Command<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `args` [INFO] [stdout] --> multichat-tui/src/command/args.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn args(data: &str) -> impl Iterator, Error>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Warn` [INFO] [stdout] --> multichat-tui/src/screen/log.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Warn, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Level` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> multichat-tui/src/screen/log.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> multichat-tui/src/screen/log.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Level` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> multichat-tui/src/screen/log.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.06s [INFO] running `Command { std: "docker" "inspect" "4e3fabc684b5c8d7ca578e5c73f8c7b2fc55366359891079283ea015ca6e724f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e3fabc684b5c8d7ca578e5c73f8c7b2fc55366359891079283ea015ca6e724f", kill_on_drop: false }` [INFO] [stdout] 4e3fabc684b5c8d7ca578e5c73f8c7b2fc55366359891079283ea015ca6e724f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8d53b05ee4c13732ba9396e73d82ba4a64d7064b1f08deb2387e730b99bf948 [INFO] running `Command { std: "docker" "start" "-a" "d8d53b05ee4c13732ba9396e73d82ba4a64d7064b1f08deb2387e730b99bf948", kill_on_drop: false }` [INFO] [stderr] Compiling multichat-proto v0.1.0 (/opt/rustwide/workdir/multichat-proto) [INFO] [stderr] Compiling multichat-client v0.1.0 (/opt/rustwide/workdir/multichat-client) [INFO] [stderr] Compiling multichat-server v0.1.0 (/opt/rustwide/workdir/multichat-server) [INFO] [stderr] Compiling multichat-tui v0.1.0 (/opt/rustwide/workdir/multichat-tui) [INFO] [stdout] warning: unused import: `crossterm::cursor::MoveTo` [INFO] [stdout] --> multichat-tui/src/screen.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crossterm::cursor::MoveTo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEvent`, `self` [INFO] [stdout] --> multichat-tui/src/screen.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use crossterm::event::{self, Event as TermEvent, EventStream, KeyCode, KeyEvent, KeyModifiers}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color`, `PrintStyledContent`, `Print`, `ResetColor`, `SetForegroundColor`, `Stylize` [INFO] [stdout] --> multichat-tui/src/screen.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use crossterm::style::{Color, Print, PrintStyledContent, ResetColor, SetForegroundColor, Stylize}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClearType`, `Clear` [INFO] [stdout] --> multichat-tui/src/screen.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | self, Clear, ClearType, DisableLineWrap, EnterAlternateScreen, LeaveAlternateScreen, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> multichat-tui/src/screen.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> multichat-tui/src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{self, Error}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Command` [INFO] [stdout] --> multichat-tui/src/command.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Command<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Warn` [INFO] [stdout] --> multichat-tui/src/screen/log.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | Warn, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Level` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> multichat-tui/src/screen/log.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Error` [INFO] [stdout] --> multichat-tui/src/screen/log.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Level` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> multichat-tui/src/screen/log.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cow<'_, Message<'_>>: From>` is not satisfied [INFO] [stdout] --> multichat-proto/src/wire.rs:158:46 [INFO] [stdout] | [INFO] [stdout] 158 | message: Message::plain("hello").into(), [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `Cow<'_, Message<'_>>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a CStr>> [INFO] [stdout] as From<&'a CString>> [INFO] [stdout] as From> [INFO] [stdout] as From<&'a OsStr>> [INFO] [stdout] and 11 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into>>` for `Message<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cow<'_, [Chunk<'_>]>: From<&str>` is not satisfied [INFO] [stdout] --> multichat-proto/src/wire.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | message: Message::new("hello").into(), [INFO] [stdout] | ------------ ^^^^^^^ the trait `From<&str>` is not implemented for `Cow<'_, [Chunk<'_>]>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a CStr>> [INFO] [stdout] as From<&'a CString>> [INFO] [stdout] as From> [INFO] [stdout] as From<&'a OsStr>> [INFO] [stdout] and 11 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into]>>` for `&str` [INFO] [stdout] note: required by a bound in `Message::<'a>::new` [INFO] [stdout] --> multichat-proto/src/text.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(chunks: impl Into]>>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Message::<'a>::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Cow<'_, Message<'_>>: From>` is not satisfied [INFO] [stdout] --> multichat-proto/src/wire.rs:165:44 [INFO] [stdout] | [INFO] [stdout] 165 | message: Message::new("hello").into(), [INFO] [stdout] | ^^^^ the trait `From>` is not implemented for `Cow<'_, Message<'_>>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as From<&'a CStr>> [INFO] [stdout] as From<&'a CString>> [INFO] [stdout] as From> [INFO] [stdout] as From<&'a OsStr>> [INFO] [stdout] and 11 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into>>` for `Message<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> multichat-proto/src/wire.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | message: Message::plain("0123456789"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Cow`, found struct `Message` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, Message<'_>, >` [INFO] [stdout] found struct `Message<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> multichat-proto/src/wire.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | message: Message::plain("0123456789"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `Cow`, found struct `Message` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Cow<'_, Message<'_>, >` [INFO] [stdout] found struct `Message<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multichat-proto` due to 6 previous errors [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d8d53b05ee4c13732ba9396e73d82ba4a64d7064b1f08deb2387e730b99bf948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d53b05ee4c13732ba9396e73d82ba4a64d7064b1f08deb2387e730b99bf948", kill_on_drop: false }` [INFO] [stdout] d8d53b05ee4c13732ba9396e73d82ba4a64d7064b1f08deb2387e730b99bf948