[INFO] fetching crate moteconnection 0.3.1... [INFO] testing moteconnection-0.3.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate moteconnection 0.3.1 into /workspace/builds/worker-47/source [INFO] validating manifest of crates.io crate moteconnection 0.3.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-47/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76dbc75398755f374442459fff7dd39eb68949cfa76d86856a1cae0d39d1a0e9 [INFO] running `Command { std: "docker" "start" "-a" "76dbc75398755f374442459fff7dd39eb68949cfa76d86856a1cae0d39d1a0e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76dbc75398755f374442459fff7dd39eb68949cfa76d86856a1cae0d39d1a0e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76dbc75398755f374442459fff7dd39eb68949cfa76d86856a1cae0d39d1a0e9", kill_on_drop: false }` [INFO] [stdout] 76dbc75398755f374442459fff7dd39eb68949cfa76d86856a1cae0d39d1a0e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55f50d8afb408c327620bb71c8a21245642c869147aab05736aefcf6945cd4b9 [INFO] running `Command { std: "docker" "start" "-a" "55f50d8afb408c327620bb71c8a21245642c869147aab05736aefcf6945cd4b9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [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 ppv-lite86 v0.2.9 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.20 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling aho-corasick v0.7.14 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling serialport v3.3.0 [INFO] [stderr] Compiling moteconnection v0.3.1 (/opt/rustwide/workdir) [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: `#[warn(non_fmt_panics)]` on by default [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] 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.10s [INFO] running `Command { std: "docker" "inspect" "55f50d8afb408c327620bb71c8a21245642c869147aab05736aefcf6945cd4b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55f50d8afb408c327620bb71c8a21245642c869147aab05736aefcf6945cd4b9", kill_on_drop: false }` [INFO] [stdout] 55f50d8afb408c327620bb71c8a21245642c869147aab05736aefcf6945cd4b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df7c484bb2e316372365525972e9566d81f4f1fc69c656def3a83576dd11a1f7 [INFO] running `Command { std: "docker" "start" "-a" "df7c484bb2e316372365525972e9566d81f4f1fc69c656def3a83576dd11a1f7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.44 [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: `#[warn(non_fmt_panics)]` on by default [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] 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.3 [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: `#[warn(non_fmt_panics)]` on by default [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] 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: 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: `#[warn(non_fmt_panics)]` on by default [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] 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.51s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/moteconnection-c7afc8c6a562a680) [INFO] [stderr] Executable tests/connection_tests.rs (/opt/rustwide/target/debug/deps/connection_tests-ecef17c577649b12) [INFO] running `Command { std: "docker" "inspect" "df7c484bb2e316372365525972e9566d81f4f1fc69c656def3a83576dd11a1f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df7c484bb2e316372365525972e9566d81f4f1fc69c656def3a83576dd11a1f7", kill_on_drop: false }` [INFO] [stdout] df7c484bb2e316372365525972e9566d81f4f1fc69c656def3a83576dd11a1f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 710cf6be510fa6ab52ed7e4665bedbf9d10509811c16c1a38aaa0524b15e3d1a [INFO] running `Command { std: "docker" "start" "-a" "710cf6be510fa6ab52ed7e4665bedbf9d10509811c16c1a38aaa0524b15e3d1a", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/connection.rs:357:24 [INFO] [stderr] | [INFO] [stderr] 357 | panic!(format!("Unknown event {:?}!", e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 357 - panic!(format!("Unknown event {:?}!", e)); [INFO] [stderr] 357 + panic!("Unknown event {:?}!", e); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/dispatcher/am/dispatcher.rs:247:29 [INFO] [stderr] | [INFO] [stderr] 247 | e => panic!(format!("Unexpected event {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 247 - e => panic!(format!("Unexpected event {:?}", e)), [INFO] [stderr] 247 + e => panic!("Unexpected event {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/connection.rs:481:25 [INFO] [stderr] | [INFO] [stderr] 481 | e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 481 - e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] 481 + e => panic!("Unexpected output: {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/connection.rs:503:25 [INFO] [stderr] | [INFO] [stderr] 503 | e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 503 - e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] 503 + e => panic!("Unexpected output: {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/connection.rs:525:25 [INFO] [stderr] | [INFO] [stderr] 525 | e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 525 - e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] 525 + e => panic!("Unexpected output: {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/connection.rs:547:25 [INFO] [stderr] | [INFO] [stderr] 547 | e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 547 - e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] 547 + e => panic!("Unexpected output: {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/connection.rs:569:25 [INFO] [stderr] | [INFO] [stderr] 569 | e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 569 - e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] 569 + e => panic!("Unexpected output: {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/connection.rs:611:25 [INFO] [stderr] | [INFO] [stderr] 611 | e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 611 - e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] 611 + e => panic!("Unexpected output: {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/connection.rs:634:25 [INFO] [stderr] | [INFO] [stderr] 634 | e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 634 - e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stderr] 634 + e => panic!("Unexpected output: {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/transport/serialforwarder.rs:397:25 [INFO] [stderr] | [INFO] [stderr] 397 | v => panic!(format!("Expected a closed stream, got {:?}", v)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 397 - v => panic!(format!("Expected a closed stream, got {:?}", v)), [INFO] [stderr] 397 + v => panic!("Expected a closed stream, got {:?}", v), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `moteconnection` (lib) generated 2 warnings [INFO] [stderr] warning: `moteconnection` (lib test) generated 10 warnings (2 duplicates) [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:122:21 [INFO] [stderr] | [INFO] [stderr] 122 | e => panic!(format!("Expected Event::Data, received {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 122 - e => panic!(format!("Expected Event::Data, received {:?}", e)), [INFO] [stderr] 122 + e => panic!("Expected Event::Data, received {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:135:21 [INFO] [stderr] | [INFO] [stderr] 135 | e => panic!(format!("Expected Event::Data, received {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 135 - e => panic!(format!("Expected Event::Data, received {:?}", e)), [INFO] [stderr] 135 + e => panic!("Expected Event::Data, received {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:160:25 [INFO] [stderr] | [INFO] [stderr] 160 | e => panic!(format!("Expected Event::Data, received {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 160 - e => panic!(format!("Expected Event::Data, received {:?}", e)), [INFO] [stderr] 160 + e => panic!("Expected Event::Data, received {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:164:20 [INFO] [stderr] | [INFO] [stderr] 164 | panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 164 - panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] 164 + panic!("Unexpected error on recv: {:?}", e); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:207:24 [INFO] [stderr] | [INFO] [stderr] 207 | panic!(format!("Unexpected Event on recv: {:?}", o)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 207 - panic!(format!("Unexpected Event on recv: {:?}", o)); [INFO] [stderr] 207 + panic!("Unexpected Event on recv: {:?}", o); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:212:20 [INFO] [stderr] | [INFO] [stderr] 212 | panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 212 - panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] 212 + panic!("Unexpected error on recv: {:?}", e); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:254:24 [INFO] [stderr] | [INFO] [stderr] 254 | panic!(format!("Unexpected Event on recv: {:?}", o)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 254 - panic!(format!("Unexpected Event on recv: {:?}", o)); [INFO] [stderr] 254 + panic!("Unexpected Event on recv: {:?}", o); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:259:20 [INFO] [stderr] | [INFO] [stderr] 259 | panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 259 - panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] 259 + panic!("Unexpected error on recv: {:?}", e); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:301:24 [INFO] [stderr] | [INFO] [stderr] 301 | panic!(format!("Unexpected Event on recv: {:?}", o)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 301 - panic!(format!("Unexpected Event on recv: {:?}", o)); [INFO] [stderr] 301 + panic!("Unexpected Event on recv: {:?}", o); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:306:20 [INFO] [stderr] | [INFO] [stderr] 306 | panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 306 - panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] 306 + panic!("Unexpected error on recv: {:?}", e); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:348:24 [INFO] [stderr] | [INFO] [stderr] 348 | panic!(format!("Unexpected Event on recv: {:?}", o)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 348 - panic!(format!("Unexpected Event on recv: {:?}", o)); [INFO] [stderr] 348 + panic!("Unexpected Event on recv: {:?}", o); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:353:20 [INFO] [stderr] | [INFO] [stderr] 353 | panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 353 - panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] 353 + panic!("Unexpected error on recv: {:?}", e); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:404:24 [INFO] [stderr] | [INFO] [stderr] 404 | panic!(format!("Unexpected message type: {:?}", e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 404 - panic!(format!("Unexpected message type: {:?}", e)); [INFO] [stderr] 404 + panic!("Unexpected message type: {:?}", e); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> tests/connection_tests.rs:409:20 [INFO] [stderr] | [INFO] [stderr] 409 | panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 409 - panic!(format!("Unexpected error on recv: {:?}", e)); [INFO] [stderr] 409 + panic!("Unexpected error on recv: {:?}", e); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `moteconnection` (test "connection_tests") generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/moteconnection-c7afc8c6a562a680) [INFO] [stdout] [INFO] [stdout] running 72 tests [INFO] [stdout] test connection::tests::test_dispatcher_worker_data_event ... ok [INFO] [stdout] test connection::tests::test_connection_reconnect_timeout ... ok [INFO] [stdout] test connection::tests::test_dispatcher_worker_stop ... ok [INFO] [stdout] test connection::tests::test_dispatcher_worker_send ... ok [INFO] [stdout] test connection::tests::test_transport_worker_connected_event ... ok [INFO] [stdout] test connection::tests::test_transport_worker_disconnected_event ... ok [INFO] [stdout] test connection::tests::test_transport_worker_send_does_not_exist ... ok [INFO] [stdout] test connection::tests::test_transport_worker_send_exists ... ok [INFO] [stdout] test connection::tests::test_transport_worker_data_event ... ok [INFO] [stdout] test connection::tests::test_transport_worker_stop ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_insert_multi_use_receiver ... ok [INFO] [stdout] test connection::tests::test_from_invalid_string ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_select_receiver_invalid_addr_default_snooper ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_select_receiver_valid_addr_exact_receiver ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_select_receiver_invalid_addr_no_snooper ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_select_receiver_valid_addr_default_receiver ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_select_receiver_valid_addr_no_receiver ... ok [INFO] [stdout] test dispatcher::am::test::test_message_empty_payload_metadata ... ok [INFO] [stdout] test dispatcher::am::test::test_message_existing_payload_metadata ... ok [INFO] [stdout] test dispatcher::am::test::test_message_existing_payload_no_metadata ... ok [INFO] [stdout] test dispatcher::am::test::test_message_empty_payload_no_metadata ... ok [INFO] [stdout] test dispatcher::am::test::test_message_into_bytes ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_select_receiver_invalid_addr_exact_snooper ... ok [INFO] [stdout] test dispatcher::am::test::test_message_too_large_data ... ok [INFO] [stdout] test connection::tests::test_from_sf_string_no_port ... ok [INFO] [stdout] test dispatcher::am::test::test_message_too_large_payload ... ok [INFO] [stdout] test dispatcher::am::test::test_message_too_small_payload ... ok [INFO] [stdout] test dispatcher::tests::test_bytes_to_dispatchpacket_no_data ... ok [INFO] [stdout] test dispatcher::tests::test_bytes_to_dispatchpacket_zero_length ... ok [INFO] [stdout] test dispatcher::am::test::test_message_too_small_data ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_chunked ... ok [INFO] [stdout] test connection::tests::test_from_sf_string_explicit_port ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_escape_byte_encode ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_framing_byte_decode ... ok [INFO] [stdout] test dispatcher::tests::test_bytes_to_dispatchpacket_normal ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_escape_byte_decode ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_framing_byte_encode ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_invalid_escape ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_many_frames ... ok [INFO] [stdout] test dispatcher::tests::test_dispatchpacket_into_bytes ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_multiple_framing_bytes ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_no_frame_at_start ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_simple_decode ... ok [INFO] [stdout] test transport::serial::packets::tests::test_ack_from_ackpacket ... ok [INFO] [stdout] test transport::serial::packets::tests::test_ack_into_bytes ... ok [INFO] [stdout] test transport::serial::packets::tests::test_ack_new ... ok [INFO] [stdout] test transport::serial::packets::tests::test_ackpacket_into_bytes ... ok [INFO] [stdout] test transport::serial::packets::tests::test_ackpacket_from_bytes ... ok [INFO] [stdout] test transport::serial::packets::tests::test_ackpacket_new ... ok [INFO] [stdout] test transport::serial::packets::tests::test_ack_from_bytes ... ok [INFO] [stdout] test transport::serial::packets::tests::test_noackpacket_from_bytes ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_simple_encode ... ok [INFO] [stdout] test transport::serial::packets::tests::test_noackpacket_new ... ok [INFO] [stdout] test transport::serial::packets::tests::test_noackpacket_into_bytes ... ok [INFO] [stdout] test transport::serial::tests::test_ack_handling ... ok [INFO] [stdout] test transport::serial::tests::test_ack_count_deincrement ... ok [INFO] [stdout] test transport::serial::tests::test_ackpacket_decode ... ok [INFO] [stdout] test transport::serial::tests::test_ackpacket_handling ... ok [INFO] [stdout] test transport::serial::tests::test_seq_num_cache_insert_fail ... ok [INFO] [stdout] test transport::serial::tests::test_seq_num_expiration ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_default_port ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_handshake ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_explicit_port ... ok [INFO] [stdout] test transport::serial::tests::test_outgoing_packet ... ok [INFO] [stdout] test transport::serial::tests::test_seq_num_cache_insert_success ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_stream_read_success ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_stream_write ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_stop ... ok [INFO] [stdout] test transport::serial::tests::test_pre_connection_stop ... ok [INFO] [stdout] test transport::serial::tests::test_no_ack_resend ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_pre_connection_stop ... ok [INFO] [stdout] test transport::serial::tests::test_ackpacket_receive ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Running tests/connection_tests.rs (/opt/rustwide/target/debug/deps/connection_tests-ecef17c577649b12) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_am_connection_send ... ok [INFO] [stdout] test test_raw_packet_connection ... ok [INFO] [stdout] test test_am_default_snooper_connection ... ok [INFO] [stdout] test test_am_snooper_connection ... ok [INFO] [stdout] test test_am_receiver_connection ... ok [INFO] [stdout] test test_am_default_receiver_connection ... ok [INFO] [stdout] test test_tcp_connection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Doc-tests moteconnection [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/dispatcher/am/mod.rs - dispatcher::am::Message (line 54) ... ok [INFO] [stdout] test src/transport/serial/hdlc.rs - transport::serial::hdlc::HdlcCodec::encode (line 77) ... ok [INFO] [stdout] test src/connection.rs - connection::Connection::new (line 70) ... ok [INFO] [stdout] test src/connection.rs - connection::ConnectionBuilder::register_dispatcher (line 210) ... ok [INFO] [stdout] test src/connection.rs - connection::Connection::stop (line 156) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "710cf6be510fa6ab52ed7e4665bedbf9d10509811c16c1a38aaa0524b15e3d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "710cf6be510fa6ab52ed7e4665bedbf9d10509811c16c1a38aaa0524b15e3d1a", kill_on_drop: false }` [INFO] [stdout] 710cf6be510fa6ab52ed7e4665bedbf9d10509811c16c1a38aaa0524b15e3d1a