[INFO] cloning repository https://github.com/deviceplug/btleplug [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deviceplug/btleplug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeviceplug%2Fbtleplug", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeviceplug%2Fbtleplug'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb1dfd249e74f74af1620d1937a682e5a12b1e49 [INFO] checking deviceplug/btleplug against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeviceplug%2Fbtleplug" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/deviceplug/btleplug 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/deviceplug/btleplug [INFO] finished tweaking git repo https://github.com/deviceplug/btleplug [INFO] tweaked toml for git repo https://github.com/deviceplug/btleplug written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] eb2e60d7f942dfaf65de56d5faef40577cf7f96b2bfdabd424e66568892e9a48 [INFO] running `Command { std: "docker" "start" "-a" "eb2e60d7f942dfaf65de56d5faef40577cf7f96b2bfdabd424e66568892e9a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb2e60d7f942dfaf65de56d5faef40577cf7f96b2bfdabd424e66568892e9a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb2e60d7f942dfaf65de56d5faef40577cf7f96b2bfdabd424e66568892e9a48", kill_on_drop: false }` [INFO] [stdout] eb2e60d7f942dfaf65de56d5faef40577cf7f96b2bfdabd424e66568892e9a48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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] 49a1b247c3273de4416f53e208df2265122da9caa98ef149a91b9605a5695ca3 [INFO] running `Command { std: "docker" "start" "-a" "49a1b247c3273de4416f53e208df2265122da9caa98ef149a91b9605a5695ca3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling btleplug v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling libdbus-sys v0.2.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking serde-xml-rs v0.4.1 [INFO] [stderr] Checking dbus v0.9.3 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking dbus-tokio v0.7.3 [INFO] [stderr] Checking bluez-generated v0.2.1 [INFO] [stderr] Checking bluez-async v0.3.1 [INFO] [stdout] warning: associated function is never used: `emit` [INFO] [stdout] --> src/common/adapter_manager.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn emit(&self, event: CentralEvent) { [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: `event_stream` [INFO] [stdout] --> src/common/adapter_manager.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn event_stream(&self) -> Pin + Send>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_peripheral` [INFO] [stdout] --> src/common/adapter_manager.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn add_peripheral(&self, addr: BDAddr, peripheral: PeripheralType) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peripherals` [INFO] [stdout] --> src/common/adapter_manager.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn peripherals(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peripheral_mut` [INFO] [stdout] --> src/common/adapter_manager.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn peripheral_mut(&self, address: BDAddr) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peripheral` [INFO] [stdout] --> src/common/adapter_manager.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn peripheral(&self, address: BDAddr) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_notification` [INFO] [stdout] --> src/common/util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn send_notification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emit` [INFO] [stdout] --> src/common/adapter_manager.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn emit(&self, event: CentralEvent) { [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: `event_stream` [INFO] [stdout] --> src/common/adapter_manager.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn event_stream(&self) -> Pin + Send>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_peripheral` [INFO] [stdout] --> src/common/adapter_manager.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn add_peripheral(&self, addr: BDAddr, peripheral: PeripheralType) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peripherals` [INFO] [stdout] --> src/common/adapter_manager.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn peripherals(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peripheral_mut` [INFO] [stdout] --> src/common/adapter_manager.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn peripheral_mut(&self, address: BDAddr) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peripheral` [INFO] [stdout] --> src/common/adapter_manager.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn peripheral(&self, address: BDAddr) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_notification` [INFO] [stdout] --> src/common/util.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn send_notification( [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 29.30s [INFO] running `Command { std: "docker" "inspect" "49a1b247c3273de4416f53e208df2265122da9caa98ef149a91b9605a5695ca3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49a1b247c3273de4416f53e208df2265122da9caa98ef149a91b9605a5695ca3", kill_on_drop: false }` [INFO] [stdout] 49a1b247c3273de4416f53e208df2265122da9caa98ef149a91b9605a5695ca3