[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 master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [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 a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v0.15.35 [INFO] [stderr] Downloaded firmata v0.2.0 [INFO] [stderr] Downloaded termios v0.1.0 [INFO] [stderr] Downloaded serial v0.2.1 [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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b988dc091373a37e6ae76f8d32303ea684dd8025d0dab260b1bacfcf1587db10 [INFO] running `Command { std: "docker" "start" "-a" "b988dc091373a37e6ae76f8d32303ea684dd8025d0dab260b1bacfcf1587db10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b988dc091373a37e6ae76f8d32303ea684dd8025d0dab260b1bacfcf1587db10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b988dc091373a37e6ae76f8d32303ea684dd8025d0dab260b1bacfcf1587db10", kill_on_drop: false }` [INFO] [stdout] b988dc091373a37e6ae76f8d32303ea684dd8025d0dab260b1bacfcf1587db10 [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=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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e0aed5a81bbe39abb5d05d716916db34ffd8892d683563b9fc69ce38aea1235 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5e0aed5a81bbe39abb5d05d716916db34ffd8892d683563b9fc69ce38aea1235", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling unicode-xid v0.1.0 [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 nodrop v0.1.13 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling serde v1.0.92 [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 crossbeam v0.7.1 [INFO] [stderr] Compiling serial v0.2.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 41.27s [INFO] running `Command { std: "docker" "inspect" "5e0aed5a81bbe39abb5d05d716916db34ffd8892d683563b9fc69ce38aea1235", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e0aed5a81bbe39abb5d05d716916db34ffd8892d683563b9fc69ce38aea1235", kill_on_drop: false }` [INFO] [stdout] 5e0aed5a81bbe39abb5d05d716916db34ffd8892d683563b9fc69ce38aea1235 [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=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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9424851c2f0ab1fd0cc8577f83445a5f6bb32edb48d0c590204d59a1c0fc05f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a9424851c2f0ab1fd0cc8577f83445a5f6bb32edb48d0c590204d59a1c0fc05f", 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!(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 3.95s [INFO] running `Command { std: "docker" "inspect" "a9424851c2f0ab1fd0cc8577f83445a5f6bb32edb48d0c590204d59a1c0fc05f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9424851c2f0ab1fd0cc8577f83445a5f6bb32edb48d0c590204d59a1c0fc05f", kill_on_drop: false }` [INFO] [stdout] a9424851c2f0ab1fd0cc8577f83445a5f6bb32edb48d0c590204d59a1c0fc05f [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=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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c276803f3d930ae5483f3b85403f8bd0fa80b88a98c655dc1d4b8de07bc373d1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c276803f3d930ae5483f3b85403f8bd0fa80b88a98c655dc1d4b8de07bc373d1", kill_on_drop: false }` [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!(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 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/arduinors-62be166c487be0e0) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test arduino::tests::invalid_pin_value ... ok [INFO] [stdout] test cli::board::tests::empty_json ... ok [INFO] [stdout] test cli::board::tests::malformed_json ... ok [INFO] [stdout] test cli::board::tests::no_boards ... ok [INFO] [stdout] test cli::board::tests::one_board ... 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::multiple_boards ... ok [INFO] [stdout] test cli::core::tests::one_core ... ok [INFO] [stdout] test cli::core::tests::empty_json ... ok [INFO] [stdout] test arduino::tests::valid_pin_value ... ok [INFO] [stdout] test cli::core::tests::malformed_json ... ok [INFO] [stdout] test cli::core::tests::multiple_cores ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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" "c276803f3d930ae5483f3b85403f8bd0fa80b88a98c655dc1d4b8de07bc373d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c276803f3d930ae5483f3b85403f8bd0fa80b88a98c655dc1d4b8de07bc373d1", kill_on_drop: false }` [INFO] [stdout] c276803f3d930ae5483f3b85403f8bd0fa80b88a98c655dc1d4b8de07bc373d1