[INFO] cloning repository https://github.com/marcusrossel/rust-arduino [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcusrossel/rust-arduino" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusrossel%2Frust-arduino", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusrossel%2Frust-arduino'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c234e9eac01bf5869cb4f572a427e9cadc01cd54 [INFO] testing marcusrossel/rust-arduino against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusrossel%2Frust-arduino" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcusrossel/rust-arduino on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marcusrossel/rust-arduino [INFO] finished tweaking git repo https://github.com/marcusrossel/rust-arduino [INFO] tweaked toml for git repo https://github.com/marcusrossel/rust-arduino written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/marcusrossel/rust-arduino already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dd0c1f5989dbc50d4547bbfffdc398e3a41b5b1245d04933e8383269626385c [INFO] running `Command { std: "docker" "start" "-a" "5dd0c1f5989dbc50d4547bbfffdc398e3a41b5b1245d04933e8383269626385c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dd0c1f5989dbc50d4547bbfffdc398e3a41b5b1245d04933e8383269626385c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dd0c1f5989dbc50d4547bbfffdc398e3a41b5b1245d04933e8383269626385c", kill_on_drop: false }` [INFO] [stdout] 5dd0c1f5989dbc50d4547bbfffdc398e3a41b5b1245d04933e8383269626385c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2596e6da96529612e2b8dea258c942c4f438df1db4c13c4b088024e97c60a34f [INFO] running `Command { std: "docker" "start" "-a" "2596e6da96529612e2b8dea258c942c4f438df1db4c13c4b088024e97c60a34f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling termios v0.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling serial v0.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling firmata v0.2.0 [INFO] [stderr] Compiling crossbeam v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling arduinors v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `id` [INFO] [stdout] --> src/cli/core.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn id(&self) -> &str { &self.ID } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `version` [INFO] [stdout] --> src/cli/core.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn version(&self) -> &str { &self.Version } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/cli/core.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn name(&self) -> &str { &self.Name } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `install_core` [INFO] [stdout] --> src/cli/core.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn install_core(id: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_core_index` [INFO] [stdout] --> src/cli/core.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn update_core_index() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `core_list_all` [INFO] [stdout] --> src/cli/core.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn core_list_all() -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cores_from_json` [INFO] [stdout] --> src/cli/core.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn cores_from_json(core_json: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/arduino/mod.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | _ => panic!(format!("PinMode can not be constructed from value '{}'", value)), [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] 92 | _ => panic!("PinMode can not be constructed from value '{}'", value), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.63s [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2596e6da96529612e2b8dea258c942c4f438df1db4c13c4b088024e97c60a34f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2596e6da96529612e2b8dea258c942c4f438df1db4c13c4b088024e97c60a34f", kill_on_drop: false }` [INFO] [stdout] 2596e6da96529612e2b8dea258c942c4f438df1db4c13c4b088024e97c60a34f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d080cb4b0aeacce8495628e513124fd38683e296bea6528831a472cfa6f9246e [INFO] running `Command { std: "docker" "start" "-a" "d080cb4b0aeacce8495628e513124fd38683e296bea6528831a472cfa6f9246e", kill_on_drop: false }` [INFO] [stderr] Compiling arduinors v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `id` [INFO] [stdout] --> src/cli/core.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn id(&self) -> &str { &self.ID } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `version` [INFO] [stdout] --> src/cli/core.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn version(&self) -> &str { &self.Version } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/cli/core.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn name(&self) -> &str { &self.Name } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `install_core` [INFO] [stdout] --> src/cli/core.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn install_core(id: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_core_index` [INFO] [stdout] --> src/cli/core.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn update_core_index() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `core_list_all` [INFO] [stdout] --> src/cli/core.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn core_list_all() -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cores_from_json` [INFO] [stdout] --> src/cli/core.rs:71:4 [INFO] [stdout] | [INFO] [stdout] 71 | fn cores_from_json(core_json: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/arduino/mod.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | _ => panic!(format!("PinMode can not be constructed from value '{}'", value)), [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] 92 | _ => panic!("PinMode can not be constructed from value '{}'", value), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `id` [INFO] [stdout] --> src/cli/core.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn id(&self) -> &str { &self.ID } [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `version` [INFO] [stdout] --> src/cli/core.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn version(&self) -> &str { &self.Version } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/cli/core.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn name(&self) -> &str { &self.Name } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `install_core` [INFO] [stdout] --> src/cli/core.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn install_core(id: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `update_core_index` [INFO] [stdout] --> src/cli/core.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn update_core_index() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `core_list_all` [INFO] [stdout] --> src/cli/core.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn core_list_all() -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/arduino/mod.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | _ => panic!(format!("PinMode can not be constructed from value '{}'", value)), [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] 92 | _ => panic!("PinMode can not be constructed from value '{}'", value), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "d080cb4b0aeacce8495628e513124fd38683e296bea6528831a472cfa6f9246e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d080cb4b0aeacce8495628e513124fd38683e296bea6528831a472cfa6f9246e", kill_on_drop: false }` [INFO] [stdout] d080cb4b0aeacce8495628e513124fd38683e296bea6528831a472cfa6f9246e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f8ffc1ec1567d213ee9d4e1f75f12d005b437d97e712d110320785127a945fb8 [INFO] running `Command { std: "docker" "start" "-a" "f8ffc1ec1567d213ee9d4e1f75f12d005b437d97e712d110320785127a945fb8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `id` [INFO] [stderr] --> src/cli/core.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn id(&self) -> &str { &self.ID } [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `version` [INFO] [stderr] --> src/cli/core.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 28 | pub fn version(&self) -> &str { &self.Version } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `name` [INFO] [stderr] --> src/cli/core.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn name(&self) -> &str { &self.Name } [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `install_core` [INFO] [stderr] --> src/cli/core.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn install_core(id: &str) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `update_core_index` [INFO] [stderr] --> src/cli/core.rs:45:8 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn update_core_index() -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `core_list_all` [INFO] [stderr] --> src/cli/core.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn core_list_all() -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `cores_from_json` [INFO] [stderr] --> src/cli/core.rs:71:4 [INFO] [stderr] | [INFO] [stderr] 71 | fn cores_from_json(core_json: &str) -> Result, Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/arduino/mod.rs:92:27 [INFO] [stderr] | [INFO] [stderr] 92 | _ => panic!(format!("PinMode can not be constructed from value '{}'", value)), [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] 92 | _ => panic!("PinMode can not be constructed from value '{}'", value), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: `arduinors` (lib) generated 8 warnings [INFO] [stderr] warning: `arduinors` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/arduinors-420bcd2757d86073) [INFO] [stdout] running 13 tests [INFO] [stdout] test cli::board::tests::empty_json ... ok [INFO] [stdout] test arduino::tests::valid_pin_value ... ok [INFO] [stdout] test cli::board::tests::malformed_json ... ok [INFO] [stdout] test cli::board::tests::multiple_boards ... ok [INFO] [stdout] test cli::board::tests::no_boards ... ok [INFO] [stdout] test cli::core::tests::one_core ... ok [INFO] [stdout] test cli::core::tests::no_cores ... ok [INFO] [stdout] test cli::run::tests::invalid_sketch_path_to_str ... ok [INFO] [stdout] test cli::board::tests::one_board ... ok [INFO] [stdout] test cli::core::tests::empty_json ... ok [INFO] [stdout] test cli::core::tests::malformed_json ... ok [INFO] [stdout] test cli::core::tests::multiple_cores ... ok [INFO] [stdout] test arduino::tests::invalid_pin_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests arduinors [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f8ffc1ec1567d213ee9d4e1f75f12d005b437d97e712d110320785127a945fb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8ffc1ec1567d213ee9d4e1f75f12d005b437d97e712d110320785127a945fb8", kill_on_drop: false }` [INFO] [stdout] f8ffc1ec1567d213ee9d4e1f75f12d005b437d97e712d110320785127a945fb8