[INFO] fetching crate moteconnection 0.3.1... [INFO] checking moteconnection-0.3.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] extracting crate moteconnection 0.3.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate moteconnection 0.3.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate 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-1-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stderrlog v0.4.3 [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded num-integer v0.1.43 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded termion v1.5.5 [INFO] [stderr] Downloaded regex-syntax v0.6.20 [INFO] [stderr] Downloaded IOKit-sys v0.1.5 [INFO] [stderr] Downloaded libc v0.2.79 [INFO] [stderr] Downloaded serialport v3.3.0 [INFO] [stderr] Downloaded mach v0.1.2 [INFO] [stderr] Downloaded CoreFoundation-sys v0.1.4 [INFO] [stderr] Downloaded cc v1.0.61 [INFO] [stderr] Downloaded aho-corasick v0.7.14 [INFO] [stderr] Downloaded regex v1.4.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef7c767d257afab5a0eab7741b3a4a9ab92a6127210f4951a629e1001a2d2db6 [INFO] running `Command { std: "docker" "start" "-a" "ef7c767d257afab5a0eab7741b3a4a9ab92a6127210f4951a629e1001a2d2db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef7c767d257afab5a0eab7741b3a4a9ab92a6127210f4951a629e1001a2d2db6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7c767d257afab5a0eab7741b3a4a9ab92a6127210f4951a629e1001a2d2db6", kill_on_drop: false }` [INFO] [stdout] ef7c767d257afab5a0eab7741b3a4a9ab92a6127210f4951a629e1001a2d2db6 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] face1cb8cf89ce81a9d35be140400806b7b71509d8398adc82aac2b65c0b3de0 [INFO] running `Command { std: "docker" "start" "-a" "face1cb8cf89ce81a9d35be140400806b7b71509d8398adc82aac2b65c0b3de0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking moteconnection v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/dispatcher/raw.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mpsc` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | use super::*; [INFO] [stdout] | -------- the item `mpsc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 451 | [INFO] [stdout] 452 | use super::*; [INFO] [stdout] | -------- the item `Duration` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:458:30 [INFO] [stdout] | [INFO] [stdout] 458 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `Duration` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SerialPort` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:462:57 [INFO] [stdout] | [INFO] [stdout] 462 | ClearBuffer, DataBits, FlowControl, Parity, SerialPort, SerialPortSettings, StopBits, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `SerialPort` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SerialPortSettings` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:462:69 [INFO] [stdout] | [INFO] [stdout] 462 | ClearBuffer, DataBits, FlowControl, Parity, SerialPort, SerialPortSettings, StopBits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `SerialPortSettings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/transport/serialforwarder.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::{From, TryFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Shutdown` is imported redundantly [INFO] [stdout] --> src/transport/serialforwarder.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 280 | use super::*; [INFO] [stdout] | -------- the item `Shutdown` is already imported here [INFO] [stdout] 281 | use std::net::{Shutdown, TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TcpStream` is imported redundantly [INFO] [stdout] --> src/transport/serialforwarder.rs:281:43 [INFO] [stdout] | [INFO] [stdout] 280 | use super::*; [INFO] [stdout] | -------- the item `TcpStream` is already imported here [INFO] [stdout] 281 | use std::net::{Shutdown, TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/dispatcher/raw.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/transport/serialforwarder.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::{From, TryFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [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>>, [INFO] [stdout] 15 | pub internal_tx: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub internal_rx: Rc>>, [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)]` 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 [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)]` 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 [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 [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)]` 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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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: 14 warnings emitted [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>>, [INFO] [stdout] 15 | pub internal_tx: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub internal_rx: Rc>>, [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)]` 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 [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)]` 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 [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 [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 [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 [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 [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 [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 [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 [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: 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 [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] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.75s [INFO] running `Command { std: "docker" "inspect" "face1cb8cf89ce81a9d35be140400806b7b71509d8398adc82aac2b65c0b3de0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "face1cb8cf89ce81a9d35be140400806b7b71509d8398adc82aac2b65c0b3de0", kill_on_drop: false }` [INFO] [stdout] face1cb8cf89ce81a9d35be140400806b7b71509d8398adc82aac2b65c0b3de0 [INFO] checking moteconnection-0.3.1 against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] extracting crate moteconnection 0.3.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate moteconnection 0.3.1 on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc2/source/Cargo.toml [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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da5d2418a18f99200f0bb26f0554676e72690ed79ff92e683ca0d414c76ee2b7 [INFO] running `Command { std: "docker" "start" "-a" "da5d2418a18f99200f0bb26f0554676e72690ed79ff92e683ca0d414c76ee2b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da5d2418a18f99200f0bb26f0554676e72690ed79ff92e683ca0d414c76ee2b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da5d2418a18f99200f0bb26f0554676e72690ed79ff92e683ca0d414c76ee2b7", kill_on_drop: false }` [INFO] [stdout] da5d2418a18f99200f0bb26f0554676e72690ed79ff92e683ca0d414c76ee2b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 677c1be2d7e4123c0097852a7ffda638de2b6d37123670a1a02d0d1695895b42 [INFO] running `Command { std: "docker" "start" "-a" "677c1be2d7e4123c0097852a7ffda638de2b6d37123670a1a02d0d1695895b42", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking thread_local v1.0.1 [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 unreachable v1.0.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking stderrlog v0.4.3 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking moteconnection v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/dispatcher/raw.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/transport/serialforwarder.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::{From, TryFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/dispatcher/raw.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::convert::From; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mpsc` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 452 | use super::*; [INFO] [stdout] | -------- the item `mpsc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:450:9 [INFO] [stdout] | [INFO] [stdout] 450 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 451 | [INFO] [stdout] 452 | use super::*; [INFO] [stdout] | -------- the item `Duration` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:458:25 [INFO] [stdout] | [INFO] [stdout] 458 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mutex` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:458:30 [INFO] [stdout] | [INFO] [stdout] 458 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `Mutex` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `Duration` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SerialPort` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:462:57 [INFO] [stdout] | [INFO] [stdout] 462 | ClearBuffer, DataBits, FlowControl, Parity, SerialPort, SerialPortSettings, StopBits, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `SerialPort` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `SerialPortSettings` is imported redundantly [INFO] [stdout] --> src/transport/serial/mod.rs:462:69 [INFO] [stdout] | [INFO] [stdout] 462 | ClearBuffer, DataBits, FlowControl, Parity, SerialPort, SerialPortSettings, StopBits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 465 | use super::*; [INFO] [stdout] | -------- the item `SerialPortSettings` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `From` is imported redundantly [INFO] [stdout] --> src/transport/serialforwarder.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use std::convert::{From, TryFrom}; [INFO] [stdout] | ^^^^ [INFO] [stdout] --> /rustc/2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `From` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Shutdown` is imported redundantly [INFO] [stdout] --> src/transport/serialforwarder.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 280 | use super::*; [INFO] [stdout] | -------- the item `Shutdown` is already imported here [INFO] [stdout] 281 | use std::net::{Shutdown, TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TcpStream` is imported redundantly [INFO] [stdout] --> src/transport/serialforwarder.rs:281:43 [INFO] [stdout] | [INFO] [stdout] 280 | use super::*; [INFO] [stdout] | -------- the item `TcpStream` is already imported here [INFO] [stdout] 281 | use std::net::{Shutdown, TcpListener, TcpStream}; [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>>, [INFO] [stdout] 15 | pub internal_tx: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub internal_rx: Rc>>, [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)]` 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 [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)]` 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 [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: 5 warnings emitted [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>>, [INFO] [stdout] 15 | pub internal_tx: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub internal_rx: Rc>>, [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)]` 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 [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)]` 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 [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 [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 [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 [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 [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 [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 [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 [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: 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 [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] [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 [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)]` 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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.34s [INFO] running `Command { std: "docker" "inspect" "677c1be2d7e4123c0097852a7ffda638de2b6d37123670a1a02d0d1695895b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "677c1be2d7e4123c0097852a7ffda638de2b6d37123670a1a02d0d1695895b42", kill_on_drop: false }` [INFO] [stdout] 677c1be2d7e4123c0097852a7ffda638de2b6d37123670a1a02d0d1695895b42