[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusrossel%2Frust-arduino" "/workspace/builds/worker-86/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-86/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcusrossel/rust-arduino on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-86/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5e601b3ae851114635e28c170bec64cc44f24080878a5878db74241c567eb71 [INFO] running `Command { std: "docker" "start" "-a" "c5e601b3ae851114635e28c170bec64cc44f24080878a5878db74241c567eb71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5e601b3ae851114635e28c170bec64cc44f24080878a5878db74241c567eb71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5e601b3ae851114635e28c170bec64cc44f24080878a5878db74241c567eb71", kill_on_drop: false }` [INFO] [stdout] c5e601b3ae851114635e28c170bec64cc44f24080878a5878db74241c567eb71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c129323da9a6a18d31529fb9229f0b8a0a3c6122a699538c69957fa109a84b84 [INFO] running `Command { std: "docker" "start" "-a" "c129323da9a6a18d31529fb9229f0b8a0a3c6122a699538c69957fa109a84b84", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling termios v0.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling serial v0.2.1 [INFO] [stderr] Compiling crossbeam v0.7.1 [INFO] [stderr] Compiling firmata v0.2.0 [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!(format!("PinMode can not be constructed from value '{}'", value)), [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "c129323da9a6a18d31529fb9229f0b8a0a3c6122a699538c69957fa109a84b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c129323da9a6a18d31529fb9229f0b8a0a3c6122a699538c69957fa109a84b84", kill_on_drop: false }` [INFO] [stdout] c129323da9a6a18d31529fb9229f0b8a0a3c6122a699538c69957fa109a84b84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4d1e7256c6cdbc183ef189414220f637b6a82480c3b8107277dabc815cdbe72 [INFO] running `Command { std: "docker" "start" "-a" "e4d1e7256c6cdbc183ef189414220f637b6a82480c3b8107277dabc815cdbe72", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Compiling arduinors v0.1.1 (/opt/rustwide/workdir) [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!(format!("PinMode can not be constructed from value '{}'", value)), [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!(format!("PinMode can not be constructed from value '{}'", value)), [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 1.57s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/arduinors-f676d63e82649772) [INFO] running `Command { std: "docker" "inspect" "e4d1e7256c6cdbc183ef189414220f637b6a82480c3b8107277dabc815cdbe72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d1e7256c6cdbc183ef189414220f637b6a82480c3b8107277dabc815cdbe72", kill_on_drop: false }` [INFO] [stdout] e4d1e7256c6cdbc183ef189414220f637b6a82480c3b8107277dabc815cdbe72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4e4038f7e50d9102094f38d40c3aadae9e16e6ae31c66fa949d15e4b248e1e41 [INFO] running `Command { std: "docker" "start" "-a" "4e4038f7e50d9102094f38d40c3aadae9e16e6ae31c66fa949d15e4b248e1e41", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: associated function is never used: `id` [INFO] [stdout] running 13 tests [INFO] [stderr] --> src/cli/core.rs:26:12 [INFO] [stdout] test arduino::tests::invalid_pin_value ... ok [INFO] [stderr] | [INFO] [stdout] test arduino::tests::valid_pin_value ... ok [INFO] [stderr] 26 | pub fn id(&self) -> &str { &self.ID } [INFO] [stdout] test cli::board::tests::empty_json ... ok [INFO] [stderr] | ^^ [INFO] [stdout] test cli::board::tests::multiple_boards ... ok [INFO] [stderr] | [INFO] [stdout] test cli::board::tests::malformed_json ... ok [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] test cli::board::tests::no_boards ... ok [INFO] [stderr] [INFO] [stdout] test cli::board::tests::one_board ... ok [INFO] [stderr] warning: associated function is never used: `version` [INFO] [stdout] test cli::core::tests::empty_json ... ok [INFO] [stderr] --> src/cli/core.rs:28:12 [INFO] [stdout] test cli::core::tests::malformed_json ... ok [INFO] [stderr] | [INFO] [stdout] test cli::core::tests::no_cores ... ok [INFO] [stderr] 28 | pub fn version(&self) -> &str { &self.Version } [INFO] [stdout] test cli::core::tests::multiple_cores ... ok [INFO] [stderr] | ^^^^^^^ [INFO] [stdout] test cli::run::tests::invalid_sketch_path_to_str ... ok [INFO] [stderr] [INFO] [stdout] test cli::core::tests::one_core ... ok [INFO] [stderr] warning: associated function is never used: `name` [INFO] [stdout] [INFO] [stderr] --> src/cli/core.rs:30:12 [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 30 | pub fn name(&self) -> &str { &self.Name } [INFO] [stdout] [INFO] [stderr] | ^^^^ [INFO] [stdout] running 0 tests [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: function is never used: `install_core` [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> src/cli/core.rs:33:8 [INFO] [stdout] [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!(format!("PinMode can not be constructed from value '{}'", value)), [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 7m 05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/arduinors-f676d63e82649772) [INFO] [stderr] Doc-tests arduinors [INFO] running `Command { std: "docker" "inspect" "4e4038f7e50d9102094f38d40c3aadae9e16e6ae31c66fa949d15e4b248e1e41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e4038f7e50d9102094f38d40c3aadae9e16e6ae31c66fa949d15e4b248e1e41", kill_on_drop: false }` [INFO] [stdout] 4e4038f7e50d9102094f38d40c3aadae9e16e6ae31c66fa949d15e4b248e1e41