[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#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusrossel%2Frust-arduino" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcusrossel/rust-arduino on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-3/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8781173cf35bbfa0d9856461ac3ed862bccf9e814026f566ee69f288b2dddb28 [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" "8781173cf35bbfa0d9856461ac3ed862bccf9e814026f566ee69f288b2dddb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8781173cf35bbfa0d9856461ac3ed862bccf9e814026f566ee69f288b2dddb28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8781173cf35bbfa0d9856461ac3ed862bccf9e814026f566ee69f288b2dddb28", kill_on_drop: false }` [INFO] [stdout] 8781173cf35bbfa0d9856461ac3ed862bccf9e814026f566ee69f288b2dddb28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e38e372a8b48bfa155447ad538867324ce721518735c5ff0d4e3589bff1aa17 [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" "9e38e372a8b48bfa155447ad538867324ce721518735c5ff0d4e3589bff1aa17", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v0.1.9 [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 serde v1.0.92 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling ryu v0.2.8 [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-channel v0.3.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [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-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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.54s [INFO] running `Command { std: "docker" "inspect" "9e38e372a8b48bfa155447ad538867324ce721518735c5ff0d4e3589bff1aa17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e38e372a8b48bfa155447ad538867324ce721518735c5ff0d4e3589bff1aa17", kill_on_drop: false }` [INFO] [stdout] 9e38e372a8b48bfa155447ad538867324ce721518735c5ff0d4e3589bff1aa17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c987ae8dde916324639be3ca011f110b15b3cc0f69f0bef2c9f08d334befeda4 [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" "c987ae8dde916324639be3ca011f110b15b3cc0f69f0bef2c9f08d334befeda4", 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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.23s [INFO] running `Command { std: "docker" "inspect" "c987ae8dde916324639be3ca011f110b15b3cc0f69f0bef2c9f08d334befeda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c987ae8dde916324639be3ca011f110b15b3cc0f69f0bef2c9f08d334befeda4", kill_on_drop: false }` [INFO] [stdout] c987ae8dde916324639be3ca011f110b15b3cc0f69f0bef2c9f08d334befeda4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9149388bf7ce069517f00d6df7de80311eb33b4ce5bd1a8f40f6c6f20ffbb978 [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" "9149388bf7ce069517f00d6df7de80311eb33b4ce5bd1a8f40f6c6f20ffbb978", kill_on_drop: false }` [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 cli::core::tests::malformed_json ... ok [INFO] [stderr] 26 | pub fn id(&self) -> &str { &self.ID } [INFO] [stdout] test cli::core::tests::empty_json ... ok [INFO] [stderr] | ^^ [INFO] [stdout] test cli::board::tests::one_board ... 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::empty_json ... ok [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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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: 8 warnings emitted [INFO] [stderr] [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: 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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/arduinors-339c1c1b427cafbc) [INFO] [stdout] test arduino::tests::valid_pin_value ... ok [INFO] [stderr] Doc-tests arduinors [INFO] [stdout] test cli::board::tests::multiple_boards ... ok [INFO] [stdout] test cli::board::tests::no_boards ... ok [INFO] [stdout] test cli::run::tests::invalid_sketch_path_to_str ... ok [INFO] [stdout] test cli::core::tests::multiple_cores ... ok [INFO] [stdout] test cli::core::tests::no_cores ... ok [INFO] [stdout] test cli::core::tests::one_core ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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" "9149388bf7ce069517f00d6df7de80311eb33b4ce5bd1a8f40f6c6f20ffbb978", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9149388bf7ce069517f00d6df7de80311eb33b4ce5bd1a8f40f6c6f20ffbb978", kill_on_drop: false }` [INFO] [stdout] 9149388bf7ce069517f00d6df7de80311eb33b4ce5bd1a8f40f6c6f20ffbb978