[INFO] fetching crate moteconnection 0.3.1...
[INFO] building moteconnection-0.3.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate moteconnection 0.3.1 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate moteconnection 0.3.1
[INFO] finished tweaking crates.io crate moteconnection 0.3.1
[INFO] tweaked toml for crates.io crate moteconnection 0.3.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate moteconnection 0.3.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate moteconnection 0.3.1 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getrandom v0.1.15
[INFO] [stderr]   Downloaded time v0.1.44
[INFO] [stderr]   Downloaded rand_core v0.5.1
[INFO] [stderr]   Downloaded wasi v0.9.0+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded rand_hc v0.2.0
[INFO] [stderr]   Downloaded CoreFoundation-sys v0.1.4
[INFO] [stderr]   Downloaded vec_map v0.8.2
[INFO] [stderr]   Downloaded libc v0.2.79
[INFO] [stderr]   Downloaded textwrap v0.11.0
[INFO] [stderr]   Downloaded ansi_term v0.11.0
[INFO] [stderr]   Downloaded bitflags v1.2.1
[INFO] [stderr]   Downloaded serialport v3.3.0
[INFO] [stderr]   Downloaded cc v1.0.61
[INFO] [stderr]   Downloaded num-integer v0.1.43
[INFO] [stderr]   Downloaded regex-syntax v0.6.20
[INFO] [stderr]   Downloaded void v1.0.2
[INFO] [stderr]   Downloaded rand v0.7.3
[INFO] [stderr]   Downloaded thread_local v0.3.4
[INFO] [stderr]   Downloaded regex v1.4.1
[INFO] [stderr]   Downloaded strsim v0.8.0
[INFO] [stderr]   Downloaded unicode-width v0.1.8
[INFO] [stderr]   Downloaded nix v0.14.1
[INFO] [stderr]   Downloaded IOKit-sys v0.1.5
[INFO] [stderr]   Downloaded libudev-sys v0.1.4
[INFO] [stderr]   Downloaded libudev v0.2.0
[INFO] [stderr]   Downloaded mach v0.2.3
[INFO] [stderr]   Downloaded aho-corasick v0.7.14
[INFO] [stderr]   Downloaded memchr v2.3.3
[INFO] [stderr]   Downloaded lazy_static v1.4.0
[INFO] [stderr]   Downloaded clap v2.33.3
[INFO] [stderr]   Downloaded numtoa v0.1.0
[INFO] [stderr]   Downloaded autocfg v1.0.1
[INFO] [stderr]   Downloaded num-traits v0.2.12
[INFO] [stderr]   Downloaded wasi v0.10.0+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded chrono v0.4.19
[INFO] [stderr]   Downloaded log v0.4.11
[INFO] [stderr]   Downloaded stderrlog v0.4.3
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.9
[INFO] [stderr]   Downloaded rand_chacha v0.2.2
[INFO] [stderr]   Downloaded cfg-if v0.1.10
[INFO] [stderr]   Downloaded uuid v0.8.1
[INFO] [stderr]   Downloaded redox_syscall v0.1.57
[INFO] [stderr]   Downloaded termion v1.5.5
[INFO] [stderr]   Downloaded atty v0.2.11
[INFO] [stderr]   Downloaded lazy_static v0.2.11
[INFO] [stderr]   Downloaded unreachable v1.0.0
[INFO] [stderr]   Downloaded mach v0.1.2
[INFO] [stderr]   Downloaded pkg-config v0.3.19
[INFO] [stderr]   Downloaded thread_local v1.0.1
[INFO] [stderr]   Downloaded redox_termios v0.1.1
[INFO] [stderr]   Downloaded termcolor v1.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7f5c0f80e4bae63e62bfad0e20058ca5b428caadbc359bfb2e2cb297ed0db8f5
[INFO] running `Command { std: "docker" "start" "-a" "7f5c0f80e4bae63e62bfad0e20058ca5b428caadbc359bfb2e2cb297ed0db8f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f5c0f80e4bae63e62bfad0e20058ca5b428caadbc359bfb2e2cb297ed0db8f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f5c0f80e4bae63e62bfad0e20058ca5b428caadbc359bfb2e2cb297ed0db8f5", kill_on_drop: false }`
[INFO] [stdout] 7f5c0f80e4bae63e62bfad0e20058ca5b428caadbc359bfb2e2cb297ed0db8f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3f475da914fee78b582e4b16fbd1d04f4a2b7666b92203092754c0781030152c
[INFO] running `Command { std: "docker" "start" "-a" "3f475da914fee78b582e4b16fbd1d04f4a2b7666b92203092754c0781030152c", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.6.20
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling aho-corasick v0.7.14
[INFO] [stderr]    Compiling libudev v0.2.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling uuid v0.8.1
[INFO] [stderr]    Compiling regex v1.4.1
[INFO] [stderr]    Compiling serialport v3.3.0
[INFO] [stderr]    Compiling moteconnection v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `internal_tx` and `internal_rx` are never read
[INFO] [stdout]   --> src/tests.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub struct TestTransport {
[INFO] [stdout]    |                ------------- fields in this struct
[INFO] [stdout] 14 |         pub handle: Rc<RefCell<Option<TransportHandle>>>,
[INFO] [stdout] 15 |         pub internal_tx: Rc<Sender<Event<Bytes>>>,
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 16 |         pub internal_rx: Rc<Receiver<Event<Bytes>>>,
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TestTransport` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/connection.rs:357:24
[INFO] [stdout]     |
[INFO] [stdout] 357 |                 panic!(format!("Unknown event {:?}!", e));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 357 -                 panic!(format!("Unknown event {:?}!", e));
[INFO] [stdout] 357 +                 panic!("Unknown event {:?}!", e);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/dispatcher/am/dispatcher.rs:247:29
[INFO] [stdout]     |
[INFO] [stdout] 247 |                 e => panic!(format!("Unexpected event {:?}", e)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 247 -                 e => panic!(format!("Unexpected event {:?}", e)),
[INFO] [stdout] 247 +                 e => panic!("Unexpected event {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/transport/serial/mod.rs:325:10
[INFO] [stdout]     |
[INFO] [stdout] 322 |         rx: &'a Receiver<Event<Bytes>>,
[INFO] [stdout]     |              -- the lifetime is named here
[INFO] [stdout] ...
[INFO] [stdout] 325 |     ) -> ConnectionWorker {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 325 |     ) -> ConnectionWorker<'a> {
[INFO] [stdout]     |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.82s
[INFO] running `Command { std: "docker" "inspect" "3f475da914fee78b582e4b16fbd1d04f4a2b7666b92203092754c0781030152c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3f475da914fee78b582e4b16fbd1d04f4a2b7666b92203092754c0781030152c", kill_on_drop: false }`
[INFO] [stdout] 3f475da914fee78b582e4b16fbd1d04f4a2b7666b92203092754c0781030152c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b8985741ca9259aa6d86a47421e6e604bb2dff9f36eb798e597e131a67812fa3
[INFO] running `Command { std: "docker" "start" "-a" "b8985741ca9259aa6d86a47421e6e604bb2dff9f36eb798e597e131a67812fa3", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling atty v0.2.11
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling unreachable v1.0.0
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling thread_local v0.3.4
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stdout] warning: fields `internal_tx` and `internal_rx` are never read
[INFO] [stdout]   --> src/tests.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub struct TestTransport {
[INFO] [stdout]    |                ------------- fields in this struct
[INFO] [stdout] 14 |         pub handle: Rc<RefCell<Option<TransportHandle>>>,
[INFO] [stdout] 15 |         pub internal_tx: Rc<Sender<Event<Bytes>>>,
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 16 |         pub internal_rx: Rc<Receiver<Event<Bytes>>>,
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TestTransport` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/connection.rs:357:24
[INFO] [stdout]     |
[INFO] [stdout] 357 |                 panic!(format!("Unknown event {:?}!", e));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 357 -                 panic!(format!("Unknown event {:?}!", e));
[INFO] [stdout] 357 +                 panic!("Unknown event {:?}!", e);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/dispatcher/am/dispatcher.rs:247:29
[INFO] [stdout]     |
[INFO] [stdout] 247 |                 e => panic!(format!("Unexpected event {:?}", e)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 247 -                 e => panic!(format!("Unexpected event {:?}", e)),
[INFO] [stdout] 247 +                 e => panic!("Unexpected event {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/transport/serial/mod.rs:325:10
[INFO] [stdout]     |
[INFO] [stdout] 322 |         rx: &'a Receiver<Event<Bytes>>,
[INFO] [stdout]     |              -- the lifetime is named here
[INFO] [stdout] ...
[INFO] [stdout] 325 |     ) -> ConnectionWorker {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 325 |     ) -> ConnectionWorker<'a> {
[INFO] [stdout]     |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling stderrlog v0.4.3
[INFO] [stderr]    Compiling moteconnection v0.3.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:122:21
[INFO] [stdout]     |
[INFO] [stdout] 122 |         e => panic!(format!("Expected Event::Data, received {:?}", e)),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 122 -         e => panic!(format!("Expected Event::Data, received {:?}", e)),
[INFO] [stdout] 122 +         e => panic!("Expected Event::Data, received {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:135:21
[INFO] [stdout]     |
[INFO] [stdout] 135 |         e => panic!(format!("Expected Event::Data, received {:?}", e)),
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 135 -         e => panic!(format!("Expected Event::Data, received {:?}", e)),
[INFO] [stdout] 135 +         e => panic!("Expected Event::Data, received {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:160:25
[INFO] [stdout]     |
[INFO] [stdout] 160 |             e => panic!(format!("Expected Event::Data, received {:?}", e)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 160 -             e => panic!(format!("Expected Event::Data, received {:?}", e)),
[INFO] [stdout] 160 +             e => panic!("Expected Event::Data, received {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:164:20
[INFO] [stdout]     |
[INFO] [stdout] 164 |             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 164 -             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout] 164 +             panic!("Unexpected error on recv: {:?}", e);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:207:24
[INFO] [stdout]     |
[INFO] [stdout] 207 |                 panic!(format!("Unexpected Event on recv: {:?}", o));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 207 -                 panic!(format!("Unexpected Event on recv: {:?}", o));
[INFO] [stdout] 207 +                 panic!("Unexpected Event on recv: {:?}", o);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:212:20
[INFO] [stdout]     |
[INFO] [stdout] 212 |             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 212 -             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout] 212 +             panic!("Unexpected error on recv: {:?}", e);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:254:24
[INFO] [stdout]     |
[INFO] [stdout] 254 |                 panic!(format!("Unexpected Event on recv: {:?}", o));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 254 -                 panic!(format!("Unexpected Event on recv: {:?}", o));
[INFO] [stdout] 254 +                 panic!("Unexpected Event on recv: {:?}", o);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:259:20
[INFO] [stdout]     |
[INFO] [stdout] 259 |             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 259 -             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout] 259 +             panic!("Unexpected error on recv: {:?}", e);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:301:24
[INFO] [stdout]     |
[INFO] [stdout] 301 |                 panic!(format!("Unexpected Event on recv: {:?}", o));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 301 -                 panic!(format!("Unexpected Event on recv: {:?}", o));
[INFO] [stdout] 301 +                 panic!("Unexpected Event on recv: {:?}", o);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:306:20
[INFO] [stdout]     |
[INFO] [stdout] 306 |             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 306 -             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout] 306 +             panic!("Unexpected error on recv: {:?}", e);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:348:24
[INFO] [stdout]     |
[INFO] [stdout] 348 |                 panic!(format!("Unexpected Event on recv: {:?}", o));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 348 -                 panic!(format!("Unexpected Event on recv: {:?}", o));
[INFO] [stdout] 348 +                 panic!("Unexpected Event on recv: {:?}", o);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:353:20
[INFO] [stdout]     |
[INFO] [stdout] 353 |             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 353 -             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout] 353 +             panic!("Unexpected error on recv: {:?}", e);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:404:24
[INFO] [stdout]     |
[INFO] [stdout] 404 |                 panic!(format!("Unexpected message type: {:?}", e));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 404 -                 panic!(format!("Unexpected message type: {:?}", e));
[INFO] [stdout] 404 +                 panic!("Unexpected message type: {:?}", e);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> tests/connection_tests.rs:409:20
[INFO] [stdout]     |
[INFO] [stdout] 409 |             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 409 -             panic!(format!("Unexpected error on recv: {:?}", e));
[INFO] [stdout] 409 +             panic!("Unexpected error on recv: {:?}", e);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `internal_tx` and `internal_rx` are never read
[INFO] [stdout]   --> src/tests.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub struct TestTransport {
[INFO] [stdout]    |                ------------- fields in this struct
[INFO] [stdout] 14 |         pub handle: Rc<RefCell<Option<TransportHandle>>>,
[INFO] [stdout] 15 |         pub internal_tx: Rc<Sender<Event<Bytes>>>,
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 16 |         pub internal_rx: Rc<Receiver<Event<Bytes>>>,
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TestTransport` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/connection.rs:357:24
[INFO] [stdout]     |
[INFO] [stdout] 357 |                 panic!(format!("Unknown event {:?}!", e));
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 357 -                 panic!(format!("Unknown event {:?}!", e));
[INFO] [stdout] 357 +                 panic!("Unknown event {:?}!", e);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/connection.rs:481:25
[INFO] [stdout]     |
[INFO] [stdout] 481 |             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 481 -             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout] 481 +             e => panic!("Unexpected output: {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/connection.rs:503:25
[INFO] [stdout]     |
[INFO] [stdout] 503 |             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 503 -             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout] 503 +             e => panic!("Unexpected output: {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/connection.rs:525:25
[INFO] [stdout]     |
[INFO] [stdout] 525 |             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 525 -             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout] 525 +             e => panic!("Unexpected output: {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/connection.rs:547:25
[INFO] [stdout]     |
[INFO] [stdout] 547 |             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 547 -             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout] 547 +             e => panic!("Unexpected output: {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/connection.rs:569:25
[INFO] [stdout]     |
[INFO] [stdout] 569 |             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 569 -             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout] 569 +             e => panic!("Unexpected output: {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/connection.rs:611:25
[INFO] [stdout]     |
[INFO] [stdout] 611 |             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 611 -             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout] 611 +             e => panic!("Unexpected output: {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/connection.rs:634:25
[INFO] [stdout]     |
[INFO] [stdout] 634 |             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 634 -             e => panic!(format!("Unexpected output: {:?}", e)),
[INFO] [stdout] 634 +             e => panic!("Unexpected output: {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/dispatcher/am/dispatcher.rs:247:29
[INFO] [stdout]     |
[INFO] [stdout] 247 |                 e => panic!(format!("Unexpected event {:?}", e)),
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 247 -                 e => panic!(format!("Unexpected event {:?}", e)),
[INFO] [stdout] 247 +                 e => panic!("Unexpected event {:?}", e),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> src/transport/serial/mod.rs:325:10
[INFO] [stdout]     |
[INFO] [stdout] 322 |         rx: &'a Receiver<Event<Bytes>>,
[INFO] [stdout]     |              -- the lifetime is named here
[INFO] [stdout] ...
[INFO] [stdout] 325 |     ) -> ConnectionWorker {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 325 |     ) -> ConnectionWorker<'a> {
[INFO] [stdout]     |                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/transport/serialforwarder.rs:397:25
[INFO] [stdout]     |
[INFO] [stdout] 397 |             v => panic!(format!("Expected a closed stream, got {:?}", v)),
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 397 -             v => panic!(format!("Expected a closed stream, got {:?}", v)),
[INFO] [stdout] 397 +             v => panic!("Expected a closed stream, got {:?}", v),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 12.86s
[INFO] running `Command { std: "docker" "inspect" "b8985741ca9259aa6d86a47421e6e604bb2dff9f36eb798e597e131a67812fa3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8985741ca9259aa6d86a47421e6e604bb2dff9f36eb798e597e131a67812fa3", kill_on_drop: false }`
[INFO] [stdout] b8985741ca9259aa6d86a47421e6e604bb2dff9f36eb798e597e131a67812fa3
