[INFO] fetching crate moteconnection 0.3.1... [INFO] testing moteconnection-0.3.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate moteconnection 0.3.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate moteconnection 0.3.1 [INFO] finished tweaking crates.io crate moteconnection 0.3.1 [INFO] tweaked toml for crates.io crate moteconnection 0.3.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate moteconnection 0.3.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate moteconnection 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 928dd41240e6f8025a9cc1f268059580ae845fd63038fc360ace432098f46e55 [INFO] running `Command { std: "docker" "start" "-a" "928dd41240e6f8025a9cc1f268059580ae845fd63038fc360ace432098f46e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "928dd41240e6f8025a9cc1f268059580ae845fd63038fc360ace432098f46e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928dd41240e6f8025a9cc1f268059580ae845fd63038fc360ace432098f46e55", kill_on_drop: false }` [INFO] [stdout] 928dd41240e6f8025a9cc1f268059580ae845fd63038fc360ace432098f46e55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27ff39de6abef40ec16668632653668021e64109171de5b39fd69ce36ef3b9c6 [INFO] running `Command { std: "docker" "start" "-a" "27ff39de6abef40ec16668632653668021e64109171de5b39fd69ce36ef3b9c6", 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 nix v0.14.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling void v1.0.2 [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 libudev v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling regex v1.4.1 [INFO] [stderr] Compiling serialport v3.3.0 [INFO] [stderr] Compiling moteconnection v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `internal_tx` and `internal_rx` are never read [INFO] [stdout] --> src/tests.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TestTransport { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 14 | pub handle: Rc>>, [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/connection.rs:357:24 [INFO] [stdout] | [INFO] [stdout] 357 | panic!(format!("Unknown event {:?}!", e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 357 - panic!(format!("Unknown event {:?}!", e)); [INFO] [stdout] 357 + panic!("Unknown event {:?}!", e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dispatcher/am/dispatcher.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | e => panic!(format!("Unexpected event {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 247 - e => panic!(format!("Unexpected event {:?}", e)), [INFO] [stdout] 247 + e => panic!("Unexpected event {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/transport/serial/mod.rs:325:10 [INFO] [stdout] | [INFO] [stdout] 322 | rx: &'a Receiver>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 325 | ) -> ConnectionWorker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 325 | ) -> ConnectionWorker<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.08s [INFO] running `Command { std: "docker" "inspect" "27ff39de6abef40ec16668632653668021e64109171de5b39fd69ce36ef3b9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27ff39de6abef40ec16668632653668021e64109171de5b39fd69ce36ef3b9c6", kill_on_drop: false }` [INFO] [stdout] 27ff39de6abef40ec16668632653668021e64109171de5b39fd69ce36ef3b9c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 864beedc00b9fa7a94645c79ccc653780ec471128f7652da56dfde72bcd6ced9 [INFO] running `Command { std: "docker" "start" "-a" "864beedc00b9fa7a94645c79ccc653780ec471128f7652da56dfde72bcd6ced9", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stdout] warning: fields `internal_tx` and `internal_rx` are never read [INFO] [stdout] --> src/tests.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct TestTransport { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 14 | pub handle: Rc>>, [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/connection.rs:357:24 [INFO] [stdout] | [INFO] [stdout] 357 | panic!(format!("Unknown event {:?}!", e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 357 - panic!(format!("Unknown event {:?}!", e)); [INFO] [stdout] 357 + panic!("Unknown event {:?}!", e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/dispatcher/am/dispatcher.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | e => panic!(format!("Unexpected event {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 247 - e => panic!(format!("Unexpected event {:?}", e)), [INFO] [stdout] 247 + e => panic!("Unexpected event {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/transport/serial/mod.rs:325:10 [INFO] [stdout] | [INFO] [stdout] 322 | rx: &'a Receiver>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 325 | ) -> ConnectionWorker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 325 | ) -> ConnectionWorker<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thread_local v0.3.4 [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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 122 - e => panic!(format!("Expected Event::Data, received {:?}", e)), [INFO] [stdout] 122 + e => panic!("Expected Event::Data, received {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/connection_tests.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | e => panic!(format!("Expected Event::Data, received {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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: 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/connection.rs:357:24 [INFO] [stdout] | [INFO] [stdout] 357 | panic!(format!("Unknown event {:?}!", e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 357 - panic!(format!("Unknown event {:?}!", e)); [INFO] [stdout] 357 + panic!("Unknown event {:?}!", e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/connection.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | e => panic!(format!("Unexpected output: {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/transport/serial/mod.rs:325:10 [INFO] [stdout] | [INFO] [stdout] 322 | rx: &'a Receiver>, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 325 | ) -> ConnectionWorker { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 325 | ) -> ConnectionWorker<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/transport/serialforwarder.rs:397:25 [INFO] [stdout] | [INFO] [stdout] 397 | v => panic!(format!("Expected a closed stream, got {:?}", v)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 397 - v => panic!(format!("Expected a closed stream, got {:?}", v)), [INFO] [stdout] 397 + v => panic!("Expected a closed stream, got {:?}", v), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.20s [INFO] running `Command { std: "docker" "inspect" "864beedc00b9fa7a94645c79ccc653780ec471128f7652da56dfde72bcd6ced9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864beedc00b9fa7a94645c79ccc653780ec471128f7652da56dfde72bcd6ced9", kill_on_drop: false }` [INFO] [stdout] 864beedc00b9fa7a94645c79ccc653780ec471128f7652da56dfde72bcd6ced9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6f5be66c187a72233f4a479fb30f3421a47ae8896c208521d7380fe6fb798dce [INFO] running `Command { std: "docker" "start" "-a" "6f5be66c187a72233f4a479fb30f3421a47ae8896c208521d7380fe6fb798dce", kill_on_drop: false }` [INFO] [stderr] warning: fields `internal_tx` and `internal_rx` are never read [INFO] [stderr] --> src/tests.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct TestTransport { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 14 | pub handle: Rc>>, [INFO] [stderr] 15 | pub internal_tx: Rc>>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 16 | pub internal_rx: Rc>>, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TestTransport` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [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: 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] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [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: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/transport/serial/mod.rs:325:10 [INFO] [stderr] | [INFO] [stderr] 322 | rx: &'a Receiver>, [INFO] [stderr] | -- the lifetime is named here [INFO] [stderr] ... [INFO] [stderr] 325 | ) -> ConnectionWorker { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 325 | ) -> ConnectionWorker<'a> { [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 4 warnings (run `cargo fix --lib -p moteconnection` to apply 3 suggestions) [INFO] [stderr] warning: `moteconnection` (lib test) generated 12 warnings (4 duplicates) (run `cargo fix --lib -p moteconnection --tests` to apply 8 suggestions) [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: 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] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [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 (run `cargo fix --test "connection_tests"` to apply 14 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/moteconnection-b56884016f991861) [INFO] [stdout] [INFO] [stdout] running 72 tests [INFO] [stdout] test connection::tests::test_dispatcher_worker_data_event ... ok [INFO] [stdout] test connection::tests::test_dispatcher_worker_stop ... ok [INFO] [stdout] test connection::tests::test_connection_reconnect_timeout ... ok [INFO] [stdout] test connection::tests::test_transport_worker_connected_event ... 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_select_receiver_valid_addr_default_receiver ... ok [INFO] [stdout] test connection::tests::test_transport_worker_disconnected_event ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_insert_multi_use_receiver ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_select_receiver_valid_addr_no_receiver ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_select_receiver_invalid_addr_exact_snooper ... ok [INFO] [stdout] test connection::tests::test_from_invalid_string ... ok [INFO] [stdout] test dispatcher::am::test::test_message_empty_payload_metadata ... ok [INFO] [stdout] test dispatcher::am::test::test_message_existing_payload_no_metadata ... ok [INFO] [stdout] test dispatcher::am::test::test_message_into_bytes ... ok [INFO] [stdout] test dispatcher::am::test::test_message_too_large_data ... ok [INFO] [stdout] test dispatcher::am::test::test_message_too_small_payload ... ok [INFO] [stdout] test dispatcher::am::test::test_message_too_large_payload ... ok [INFO] [stdout] test dispatcher::tests::test_bytes_to_dispatchpacket_no_data ... ok [INFO] [stdout] test dispatcher::tests::test_bytes_to_dispatchpacket_normal ... ok [INFO] [stdout] test dispatcher::tests::test_bytes_to_dispatchpacket_zero_length ... ok [INFO] [stdout] test dispatcher::tests::test_dispatchpacket_into_bytes ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_select_receiver_valid_addr_exact_receiver ... ok [INFO] [stdout] test dispatcher::am::test::test_message_empty_payload_no_metadata ... ok [INFO] [stdout] test dispatcher::am::test::test_message_existing_payload_metadata ... ok [INFO] [stdout] test dispatcher::am::test::test_message_too_small_data ... ok [INFO] [stdout] test connection::tests::test_dispatcher_worker_send ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_select_receiver_invalid_addr_no_snooper ... ok [INFO] [stdout] test connection::tests::test_transport_worker_send_does_not_exist ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_chunked ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_escape_byte_encode ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_invalid_escape ... ok [INFO] [stdout] test connection::tests::test_from_sf_string_explicit_port ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_escape_byte_decode ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_multiple_framing_bytes ... ok [INFO] [stdout] test connection::tests::test_from_sf_string_no_port ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_no_frame_at_start ... ok [INFO] [stdout] test dispatcher::am::dispatcher::tests::test_select_receiver_invalid_addr_default_snooper ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_simple_encode ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_many_frames ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_framing_byte_encode ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_simple_decode ... ok [INFO] [stdout] test transport::serial::hdlc::tests::test_framing_byte_decode ... ok [INFO] [stdout] test transport::serial::packets::tests::test_ack_from_ackpacket ... ok [INFO] [stdout] test transport::serial::packets::tests::test_ack_from_bytes ... 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_from_bytes ... ok [INFO] [stdout] test transport::serial::packets::tests::test_ackpacket_into_bytes ... ok [INFO] [stdout] test transport::serial::packets::tests::test_noackpacket_from_bytes ... ok [INFO] [stdout] test transport::serial::packets::tests::test_noackpacket_new ... ok [INFO] [stdout] test transport::serial::tests::test_ack_count_deincrement ... ok [INFO] [stdout] test transport::serial::tests::test_ack_handling ... ok [INFO] [stdout] test transport::serial::tests::test_ackpacket_decode ... ok [INFO] [stdout] test transport::serial::tests::test_outgoing_packet ... ok [INFO] [stdout] test transport::serial::packets::tests::test_ackpacket_new ... ok [INFO] [stdout] test transport::serial::packets::tests::test_noackpacket_into_bytes ... ok [INFO] [stdout] test transport::serial::tests::test_seq_num_cache_insert_fail ... ok [INFO] [stdout] test transport::serial::tests::test_ackpacket_handling ... ok [INFO] [stdout] test transport::serial::tests::test_seq_num_cache_insert_success ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_explicit_port ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_stream_write ... ok [INFO] [stdout] test transport::serial::tests::test_seq_num_expiration ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_handshake ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_stream_read_success ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_default_port ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_stop ... ok [INFO] [stdout] test transport::serial::tests::test_no_ack_resend ... ok [INFO] [stdout] test transport::serial::tests::test_ackpacket_receive ... ok [INFO] [stdout] test transport::serial::tests::test_pre_connection_stop ... ok [INFO] [stdout] test transport::serialforwarder::tests::test_pre_connection_stop ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 72 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Running tests/connection_tests.rs (/opt/rustwide/target/debug/deps/connection_tests-6c5e569f7add3848) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test test_am_connection_send ... ok [INFO] [stdout] test test_am_default_snooper_connection ... ok [INFO] [stdout] test test_am_receiver_connection ... ok [INFO] [stdout] test test_tcp_connection ... ok [INFO] [stdout] test test_raw_packet_connection ... ok [INFO] [stdout] test test_am_default_receiver_connection ... ok [INFO] [stdout] test test_am_snooper_connection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [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/connection.rs - connection::ConnectionBuilder::register_dispatcher (line 210) ... 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::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 0.89s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6f5be66c187a72233f4a479fb30f3421a47ae8896c208521d7380fe6fb798dce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5be66c187a72233f4a479fb30f3421a47ae8896c208521d7380fe6fb798dce", kill_on_drop: false }` [INFO] [stdout] 6f5be66c187a72233f4a479fb30f3421a47ae8896c208521d7380fe6fb798dce