[INFO] cloning repository https://github.com/zslayton/power-monitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zslayton/power-monitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzslayton%2Fpower-monitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzslayton%2Fpower-monitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 763b3cfc11dd2dac078a5a5c343ccbfa298e0d6b [INFO] testing zslayton/power-monitor against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzslayton%2Fpower-monitor" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zslayton/power-monitor 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] started tweaking git repo https://github.com/zslayton/power-monitor [INFO] finished tweaking git repo https://github.com/zslayton/power-monitor [INFO] tweaked toml for git repo https://github.com/zslayton/power-monitor written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/zslayton/power-monitor 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] ea1818726ceaaf1e855cc7c400687d98852f351a12bc33449318185a6a3ba8bc [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" "ea1818726ceaaf1e855cc7c400687d98852f351a12bc33449318185a6a3ba8bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea1818726ceaaf1e855cc7c400687d98852f351a12bc33449318185a6a3ba8bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea1818726ceaaf1e855cc7c400687d98852f351a12bc33449318185a6a3ba8bc", kill_on_drop: false }` [INFO] [stdout] ea1818726ceaaf1e855cc7c400687d98852f351a12bc33449318185a6a3ba8bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stdout] 3d3df2e05c77ec1e0d2fa50fb1736462e53899ce57800d216c7e593e521e4a65 [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" "3d3df2e05c77ec1e0d2fa50fb1736462e53899ce57800d216c7e593e521e4a65", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v0.15.42 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling serde v1.0.98 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.3 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling regex-syntax v0.6.10 [INFO] [stderr] Compiling miniz_oxide v0.3.0 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling tokio-sync v0.1.6 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling ads1x1x v0.2.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling openssl-sys v0.9.48 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling flate2 v1.0.9 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling backtrace v0.3.33 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling regex v1.2.0 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-threadpool v0.1.15 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling i2cdev v0.4.2 [INFO] [stderr] Compiling sysfs_gpio v0.5.4 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling linux-embedded-hal v0.2.2 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.98 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling chrono v0.4.7 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.19 [INFO] [stderr] Compiling power-monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/main.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 82 | / loop { [INFO] [stdout] 83 | | // The channels are each a different data type, making it difficult to reuse code without [INFO] [stdout] 84 | | // macros. [INFO] [stdout] 85 | | let mut a0_reading = ChannelPowerReading::new(); [INFO] [stdout] ... | [INFO] [stdout] 141 | | thread::sleep(time::Duration::from_millis(2_000)); [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 143 | // get I2C device back [INFO] [stdout] 144 | let _dev = adc.destroy_ads1115(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "3d3df2e05c77ec1e0d2fa50fb1736462e53899ce57800d216c7e593e521e4a65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3df2e05c77ec1e0d2fa50fb1736462e53899ce57800d216c7e593e521e4a65", kill_on_drop: false }` [INFO] [stdout] 3d3df2e05c77ec1e0d2fa50fb1736462e53899ce57800d216c7e593e521e4a65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] ffea4f4fa0f880436ccaccf188297ea0c570e8a8b0a7e01db85fdc959650edfb [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" "ffea4f4fa0f880436ccaccf188297ea0c570e8a8b0a7e01db85fdc959650edfb", kill_on_drop: false }` [INFO] [stderr] Compiling power-monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/main.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 82 | / loop { [INFO] [stdout] 83 | | // The channels are each a different data type, making it difficult to reuse code without [INFO] [stdout] 84 | | // macros. [INFO] [stdout] 85 | | let mut a0_reading = ChannelPowerReading::new(); [INFO] [stdout] ... | [INFO] [stdout] 141 | | thread::sleep(time::Duration::from_millis(2_000)); [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 143 | // get I2C device back [INFO] [stdout] 144 | let _dev = adc.destroy_ads1115(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.37s [INFO] running `Command { std: "docker" "inspect" "ffea4f4fa0f880436ccaccf188297ea0c570e8a8b0a7e01db85fdc959650edfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffea4f4fa0f880436ccaccf188297ea0c570e8a8b0a7e01db85fdc959650edfb", kill_on_drop: false }` [INFO] [stdout] ffea4f4fa0f880436ccaccf188297ea0c570e8a8b0a7e01db85fdc959650edfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 78578ec07b77d3a041a76adebbbe9430a5e0f14e6183e02bf4a5d6acda67b5bf [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" "78578ec07b77d3a041a76adebbbe9430a5e0f14e6183e02bf4a5d6acda67b5bf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Deserialize` [INFO] [stderr] --> src/main.rs:9:24 [INFO] [stderr] | [INFO] [stderr] 9 | use serde::{Serialize, Deserialize}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:144:5 [INFO] [stderr] | [INFO] [stderr] 82 | / loop { [INFO] [stderr] 83 | | // The channels are each a different data type, making it difficult to reuse code without [INFO] [stderr] 84 | | // macros. [INFO] [stderr] 85 | | let mut a0_reading = ChannelPowerReading::new(); [INFO] [stderr] ... | [INFO] [stderr] 141 | | thread::sleep(time::Duration::from_millis(2_000)); [INFO] [stderr] 142 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 143 | // get I2C device back [INFO] [stderr] 144 | let _dev = adc.destroy_ads1115(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `power-monitor` (bin "power-monitor" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/power_monitor-f4cd5ffa8d4f0327) [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" "78578ec07b77d3a041a76adebbbe9430a5e0f14e6183e02bf4a5d6acda67b5bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78578ec07b77d3a041a76adebbbe9430a5e0f14e6183e02bf4a5d6acda67b5bf", kill_on_drop: false }` [INFO] [stdout] 78578ec07b77d3a041a76adebbbe9430a5e0f14e6183e02bf4a5d6acda67b5bf