[INFO] cloning repository https://github.com/vietlq/test-btleplug [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vietlq/test-btleplug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvietlq%2Ftest-btleplug", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvietlq%2Ftest-btleplug'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd593fcb5a05ac8a2c642fa22db27348e1775d22 [INFO] checking vietlq/test-btleplug against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvietlq%2Ftest-btleplug" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vietlq/test-btleplug on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vietlq/test-btleplug [INFO] finished tweaking git repo https://github.com/vietlq/test-btleplug [INFO] tweaked toml for git repo https://github.com/vietlq/test-btleplug written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/vietlq/test-btleplug already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61aa439807767c8b2a82f282fa068c6c1a89dd2c8b9351a064a622894541e640 [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" "61aa439807767c8b2a82f282fa068c6c1a89dd2c8b9351a064a622894541e640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61aa439807767c8b2a82f282fa068c6c1a89dd2c8b9351a064a622894541e640", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61aa439807767c8b2a82f282fa068c6c1a89dd2c8b9351a064a622894541e640", kill_on_drop: false }` [INFO] [stdout] 61aa439807767c8b2a82f282fa068c6c1a89dd2c8b9351a064a622894541e640 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb927f288c9901963bfd380f83d62ca752549b14f4b1f74e22adfb93b1d7e927 [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" "fb927f288c9901963bfd380f83d62ca752549b14f4b1f74e22adfb93b1d7e927", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking parking_lot_core v0.7.1 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking winrt v0.6.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Checking btleplug v0.4.2 [INFO] [stderr] Checking test-btleplug v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `EventHandler`, `UUID` [INFO] [stdout] --> src/main.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use btleplug::api::{Central, CentralEvent, EventHandler, Peripheral, UUID}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `thread_rng` [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FutureExt`, `Receiver` [INFO] [stdout] --> src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | prelude::{FutureExt, StreamExt}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | sync::{channel, Receiver}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventHandler`, `UUID` [INFO] [stdout] --> src/main.rs:4:44 [INFO] [stdout] | [INFO] [stdout] 4 | use btleplug::api::{Central, CentralEvent, EventHandler, Peripheral, UUID}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `thread_rng` [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FutureExt`, `Receiver` [INFO] [stdout] --> src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | prelude::{FutureExt, StreamExt}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | sync::{channel, Receiver}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Peripheral` [INFO] [stdout] --> src/main.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | use btleplug::api::{Central, CentralEvent, EventHandler, Peripheral, UUID}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | prelude::{FutureExt, StreamExt}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `central_clone` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let central_clone = central.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_central_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_receiver` [INFO] [stdout] --> src/main.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | let (event_sender, event_receiver) = channel(256); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Peripheral` [INFO] [stdout] --> src/main.rs:4:58 [INFO] [stdout] | [INFO] [stdout] 4 | use btleplug::api::{Central, CentralEvent, EventHandler, Peripheral, UUID}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/main.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | prelude::{FutureExt, StreamExt}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `central_clone` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let central_clone = central.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_central_clone` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_receiver` [INFO] [stdout] --> src/main.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | let (event_sender, event_receiver) = channel(256); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "fb927f288c9901963bfd380f83d62ca752549b14f4b1f74e22adfb93b1d7e927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb927f288c9901963bfd380f83d62ca752549b14f4b1f74e22adfb93b1d7e927", kill_on_drop: false }` [INFO] [stdout] fb927f288c9901963bfd380f83d62ca752549b14f4b1f74e22adfb93b1d7e927