[INFO] cloning repository https://github.com/jacobrosenthal/balena-ble-switch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacobrosenthal/balena-ble-switch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobrosenthal%2Fbalena-ble-switch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobrosenthal%2Fbalena-ble-switch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36b56770d95c9631d5181d7b3d14526d72def60e [INFO] testing jacobrosenthal/balena-ble-switch against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobrosenthal%2Fbalena-ble-switch" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jacobrosenthal/balena-ble-switch on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/jacobrosenthal/balena-ble-switch [INFO] finished tweaking git repo https://github.com/jacobrosenthal/balena-ble-switch [INFO] tweaked toml for git repo https://github.com/jacobrosenthal/balena-ble-switch written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/jacobrosenthal/balena-ble-switch already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f88d141368daf6a521577ad4860a736498bc7af2a30ade36e03041d8c2045a4 [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" "0f88d141368daf6a521577ad4860a736498bc7af2a30ade36e03041d8c2045a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f88d141368daf6a521577ad4860a736498bc7af2a30ade36e03041d8c2045a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f88d141368daf6a521577ad4860a736498bc7af2a30ade36e03041d8c2045a4", kill_on_drop: false }` [INFO] [stdout] 0f88d141368daf6a521577ad4860a736498bc7af2a30ade36e03041d8c2045a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", 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] b55ab18fa6a117ec7ea4ba081f3da88f72452caa158c4d4d7c7033af5143731b [INFO] running `Command { std: "docker" "start" "-a" "b55ab18fa6a117ec7ea4ba081f3da88f72452caa158c4d4d7c7033af5143731b", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling regex v1.1.4 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling nix v0.13.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling bytesize v0.1.3 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rppal v0.11.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling mio v0.6.16 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling libdbus-sys v0.1.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling dbus v0.6.4 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.4 [INFO] [stderr] Compiling futures-timer v0.1.1 [INFO] [stderr] Compiling udev v0.2.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.13 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling systemstat v0.1.4 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio v0.1.18 [INFO] [stderr] Compiling dbus-tokio v0.3.0 [INFO] [stderr] Compiling bluster v0.1.2 [INFO] [stderr] Compiling keycode v0.1.1 [INFO] [stderr] Compiling gym v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{thread, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/main.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let peripheral = Arc::new({ runtime.lock().unwrap().block_on(peripheral_future).unwrap() }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 25 - let peripheral = Arc::new({ runtime.lock().unwrap().block_on(peripheral_future).unwrap() }); [INFO] [stdout] 25 + let peripheral = Arc::new(runtime.lock().unwrap().block_on(peripheral_future).unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "b55ab18fa6a117ec7ea4ba081f3da88f72452caa158c4d4d7c7033af5143731b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b55ab18fa6a117ec7ea4ba081f3da88f72452caa158c4d4d7c7033af5143731b", kill_on_drop: false }` [INFO] [stdout] b55ab18fa6a117ec7ea4ba081f3da88f72452caa158c4d4d7c7033af5143731b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12d935d9b3ba97b4f56b2e16af6492bae5bf74b13ded86959fd22e87a0006d2e [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" "12d935d9b3ba97b4f56b2e16af6492bae5bf74b13ded86959fd22e87a0006d2e", kill_on_drop: false }` [INFO] [stderr] Compiling gym v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `time` [INFO] [stdout] --> src/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{thread, time}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/main.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | let peripheral = Arc::new({ runtime.lock().unwrap().block_on(peripheral_future).unwrap() }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 25 - let peripheral = Arc::new({ runtime.lock().unwrap().block_on(peripheral_future).unwrap() }); [INFO] [stdout] 25 + let peripheral = Arc::new(runtime.lock().unwrap().block_on(peripheral_future).unwrap()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "12d935d9b3ba97b4f56b2e16af6492bae5bf74b13ded86959fd22e87a0006d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d935d9b3ba97b4f56b2e16af6492bae5bf74b13ded86959fd22e87a0006d2e", kill_on_drop: false }` [INFO] [stdout] 12d935d9b3ba97b4f56b2e16af6492bae5bf74b13ded86959fd22e87a0006d2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9d24d6284eb26267872dfca0a6a8bc89f9b9bf23116c84ea17dfa506f7f63f30 [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" "9d24d6284eb26267872dfca0a6a8bc89f9b9bf23116c84ea17dfa506f7f63f30", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `time` [INFO] [stderr] --> src/main.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use std::{thread, time}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> src/main.rs:25:31 [INFO] [stderr] | [INFO] [stderr] 25 | let peripheral = Arc::new({ runtime.lock().unwrap().block_on(peripheral_future).unwrap() }); [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 25 - let peripheral = Arc::new({ runtime.lock().unwrap().block_on(peripheral_future).unwrap() }); [INFO] [stderr] 25 + let peripheral = Arc::new(runtime.lock().unwrap().block_on(peripheral_future).unwrap()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `gym` (bin "gym" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gym-18c5f53815fd4b95) [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" "9d24d6284eb26267872dfca0a6a8bc89f9b9bf23116c84ea17dfa506f7f63f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d24d6284eb26267872dfca0a6a8bc89f9b9bf23116c84ea17dfa506f7f63f30", kill_on_drop: false }` [INFO] [stdout] 9d24d6284eb26267872dfca0a6a8bc89f9b9bf23116c84ea17dfa506f7f63f30