[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] checking marcusrossel/rust-arduino against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcusrossel%2Frust-arduino" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marcusrossel/rust-arduino on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-15/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1839e5ce2e3b7b512de56cd0d59b02b1eb088a0888220d9ad6f8bffea29a89d [INFO] running `Command { std: "docker" "start" "-a" "d1839e5ce2e3b7b512de56cd0d59b02b1eb088a0888220d9ad6f8bffea29a89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1839e5ce2e3b7b512de56cd0d59b02b1eb088a0888220d9ad6f8bffea29a89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1839e5ce2e3b7b512de56cd0d59b02b1eb088a0888220d9ad6f8bffea29a89d", kill_on_drop: false }` [INFO] [stdout] d1839e5ce2e3b7b512de56cd0d59b02b1eb088a0888220d9ad6f8bffea29a89d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18fb16dc591163b1c5be4c207649d14bbe8928e1c950f1b798417fa651a0fce1 [INFO] running `Command { std: "docker" "start" "-a" "18fb16dc591163b1c5be4c207649d14bbe8928e1c950f1b798417fa651a0fce1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Checking libc v0.1.12 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking termios v0.1.0 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking crossbeam v0.7.1 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking serial v0.2.1 [INFO] [stderr] Checking firmata v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking 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 dev [unoptimized + debuginfo] target(s) in 22.82s [INFO] running `Command { std: "docker" "inspect" "18fb16dc591163b1c5be4c207649d14bbe8928e1c950f1b798417fa651a0fce1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18fb16dc591163b1c5be4c207649d14bbe8928e1c950f1b798417fa651a0fce1", kill_on_drop: false }` [INFO] [stdout] 18fb16dc591163b1c5be4c207649d14bbe8928e1c950f1b798417fa651a0fce1