[INFO] cloning repository https://github.com/Alexander-Prime/joycon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alexander-Prime/joycon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexander-Prime%2Fjoycon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexander-Prime%2Fjoycon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e2a61631cad06b8ea6c5783e045b86a9bd470d4 [INFO] building Alexander-Prime/joycon against try#0c94de7c1a8f4b82b92d562847c35f513f520c7a for pr-102832-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexander-Prime%2Fjoycon" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alexander-Prime/joycon on toolchain 0c94de7c1a8f4b82b92d562847c35f513f520c7a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Alexander-Prime/joycon [INFO] finished tweaking git repo https://github.com/Alexander-Prime/joycon [INFO] tweaked toml for git repo https://github.com/Alexander-Prime/joycon written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Alexander-Prime/joycon already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59289f9c79e2fa75c38e9b10402be364e298bfed3f0c0753ab7fdd4c2b8cc1a3 [INFO] running `Command { std: "docker" "start" "-a" "59289f9c79e2fa75c38e9b10402be364e298bfed3f0c0753ab7fdd4c2b8cc1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59289f9c79e2fa75c38e9b10402be364e298bfed3f0c0753ab7fdd4c2b8cc1a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59289f9c79e2fa75c38e9b10402be364e298bfed3f0c0753ab7fdd4c2b8cc1a3", kill_on_drop: false }` [INFO] [stdout] 59289f9c79e2fa75c38e9b10402be364e298bfed3f0c0753ab7fdd4c2b8cc1a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 055930dd617cd01ce3c416778ddb422238acc2a2a6960a8ee8027744a8841659 [INFO] running `Command { std: "docker" "start" "-a" "055930dd617cd01ce3c416778ddb422238acc2a2a6960a8ee8027744a8841659", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling ioctl-sys v0.5.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling arc-swap v0.3.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling enum_derive v0.1.7 [INFO] [stderr] Compiling arraydeque v0.4.3 [INFO] [stderr] Compiling getopts v0.2.18 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling termion v1.5.1 [INFO] [stderr] Compiling uinput-sys v0.1.7 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling signal-hook v0.1.5 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling libudev v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling hidapi v0.5.0 [INFO] [stderr] Compiling joycond v0.1.0 (/opt/rustwide/workdir/joycond) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> joycond/src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | Err(e) => panic!(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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 7 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 7 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> joycond/src/daemon.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | stream.write(String::from("bytes").as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling uinput v0.1.3 [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling joycon-driver v0.1.0 (/opt/rustwide/workdir/joycon-driver) [INFO] [stdout] warning: unused imports: `AxisFrame`, `ButtonFrame`, `MotionFrame` [INFO] [stdout] --> joycon-driver/src/driver.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use super::frame::{AxisFrame, ButtonFrame, InputFrame, MotionFrame}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AxisFrame`, `ButtonFrame`, `MotionFrame` [INFO] [stdout] --> joycon-driver/src/input.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use super::frame::{AxisFrame, ButtonFrame, InputFrame, MotionFrame}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> joycon-driver/src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Axis` is never used [INFO] [stdout] --> joycon-driver/src/axis.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_BODY_COLOR` is never used [INFO] [stdout] --> joycon-driver/src/driver.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const DEFAULT_BODY_COLOR: (u8, u8, u8) = (0x40, 0x40, 0x40); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_BUTTON_COLOR` is never used [INFO] [stdout] --> joycon-driver/src/driver.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const DEFAULT_BUTTON_COLOR: (u8, u8, u8) = (0x1c, 0x1c, 0x1c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `for_serial` is never used [INFO] [stdout] --> joycon-driver/src/driver.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn for_serial(serial: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `accelerometer` and `gyroscope` are never read [INFO] [stdout] --> joycon-driver/src/frame.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct MotionFrame { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 99 | accelerometer: (u16, u16, u16), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 100 | gyroscope: (u16, u16, u16), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> joycon-driver/src/frame.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> InputFrame { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> joycon-driver/src/frame.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new() -> AxisFrame { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> joycon-driver/src/frame.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn get(&self, axis: Axis) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> joycon-driver/src/frame.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn new() -> MotionFrame { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> joycon-driver/src/main.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => panic!(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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> joycon-driver/src/driver.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | panic!(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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 23 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 23 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling joycon-proxy v0.1.0 (/opt/rustwide/workdir/joycon-proxy) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 28.76s [INFO] running `Command { std: "docker" "inspect" "055930dd617cd01ce3c416778ddb422238acc2a2a6960a8ee8027744a8841659", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "055930dd617cd01ce3c416778ddb422238acc2a2a6960a8ee8027744a8841659", kill_on_drop: false }` [INFO] [stdout] 055930dd617cd01ce3c416778ddb422238acc2a2a6960a8ee8027744a8841659 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cff0af2d62572bafbf1eb9bedc95b5aa5d93f719cec58571631ddeb30ebd504a [INFO] running `Command { std: "docker" "start" "-a" "cff0af2d62572bafbf1eb9bedc95b5aa5d93f719cec58571631ddeb30ebd504a", kill_on_drop: false }` [INFO] [stderr] Compiling joycon-driver v0.1.0 (/opt/rustwide/workdir/joycon-driver) [INFO] [stderr] Compiling joycon-proxy v0.1.0 (/opt/rustwide/workdir/joycon-proxy) [INFO] [stderr] Compiling joycond v0.1.0 (/opt/rustwide/workdir/joycond) [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> joycond/src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | Err(e) => panic!(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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 7 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 7 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> joycond/src/daemon.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | stream.write(String::from("bytes").as_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AxisFrame`, `ButtonFrame`, `MotionFrame` [INFO] [stdout] --> joycon-driver/src/driver.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | use super::frame::{AxisFrame, ButtonFrame, InputFrame, MotionFrame}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AxisFrame`, `ButtonFrame`, `MotionFrame` [INFO] [stdout] --> joycon-driver/src/input.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use super::frame::{AxisFrame, ButtonFrame, InputFrame, MotionFrame}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> joycon-driver/src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Axis` is never used [INFO] [stdout] --> joycon-driver/src/axis.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum Axis { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_BODY_COLOR` is never used [INFO] [stdout] --> joycon-driver/src/driver.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const DEFAULT_BODY_COLOR: (u8, u8, u8) = (0x40, 0x40, 0x40); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_BUTTON_COLOR` is never used [INFO] [stdout] --> joycon-driver/src/driver.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const DEFAULT_BUTTON_COLOR: (u8, u8, u8) = (0x1c, 0x1c, 0x1c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `for_serial` is never used [INFO] [stdout] --> joycon-driver/src/driver.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn for_serial(serial: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `accelerometer` and `gyroscope` are never read [INFO] [stdout] --> joycon-driver/src/frame.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub struct MotionFrame { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 99 | accelerometer: (u16, u16, u16), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 100 | gyroscope: (u16, u16, u16), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> joycon-driver/src/frame.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new() -> InputFrame { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> joycon-driver/src/frame.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn new() -> AxisFrame { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get` is never used [INFO] [stdout] --> joycon-driver/src/frame.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | fn get(&self, axis: Axis) -> u16 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> joycon-driver/src/frame.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn new() -> MotionFrame { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> joycon-driver/src/main.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => panic!(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: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 34 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> joycon-driver/src/driver.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | panic!(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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 23 | panic!("{}", e); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 23 | std::panic::panic_any(e); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "cff0af2d62572bafbf1eb9bedc95b5aa5d93f719cec58571631ddeb30ebd504a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff0af2d62572bafbf1eb9bedc95b5aa5d93f719cec58571631ddeb30ebd504a", kill_on_drop: false }` [INFO] [stdout] cff0af2d62572bafbf1eb9bedc95b5aa5d93f719cec58571631ddeb30ebd504a