[INFO] cloning repository https://github.com/inakleinbottle/pi-sensor-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/inakleinbottle/pi-sensor-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finakleinbottle%2Fpi-sensor-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finakleinbottle%2Fpi-sensor-reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] deaddd8896c0a60787fb42142ed0cc7ec8f29a8b [INFO] testing inakleinbottle/pi-sensor-reader against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finakleinbottle%2Fpi-sensor-reader" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/inakleinbottle/pi-sensor-reader on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/inakleinbottle/pi-sensor-reader [INFO] finished tweaking git repo https://github.com/inakleinbottle/pi-sensor-reader [INFO] tweaked toml for git repo https://github.com/inakleinbottle/pi-sensor-reader written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/inakleinbottle/pi-sensor-reader already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84a26cc6dcaab4f2c8f8528195d80bdbbd1a4ee45a242ce3f2e18fdef2e91706 [INFO] running `Command { std: "docker" "start" "-a" "84a26cc6dcaab4f2c8f8528195d80bdbbd1a4ee45a242ce3f2e18fdef2e91706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84a26cc6dcaab4f2c8f8528195d80bdbbd1a4ee45a242ce3f2e18fdef2e91706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84a26cc6dcaab4f2c8f8528195d80bdbbd1a4ee45a242ce3f2e18fdef2e91706", kill_on_drop: false }` [INFO] [stdout] 84a26cc6dcaab4f2c8f8528195d80bdbbd1a4ee45a242ce3f2e18fdef2e91706 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4afcb6588a2c2969a72cf600ef94d833d54ad3331d7cc6a71641d6fab8766029 [INFO] running `Command { std: "docker" "start" "-a" "4afcb6588a2c2969a72cf600ef94d833d54ad3331d7cc6a71641d6fab8766029", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling paho-mqtt-sys v0.5.0 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling futures-executor v0.3.14 [INFO] [stderr] Compiling futures v0.3.14 [INFO] [stderr] Compiling paho-mqtt v0.9.1 [INFO] [stderr] Compiling sensor_reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Local` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Local}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OsStr`, `OsString` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ffi::{OsString, OsStr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 279 | / loop { [INFO] [stdout] 280 | | thread::sleep(wait_time); [INFO] [stdout] 281 | | [INFO] [stdout] 282 | | let mut readings: HashMap<&str, Box> = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 303 | | [INFO] [stdout] 304 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 305 | [INFO] [stdout] 306 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.78s [INFO] running `Command { std: "docker" "inspect" "4afcb6588a2c2969a72cf600ef94d833d54ad3331d7cc6a71641d6fab8766029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4afcb6588a2c2969a72cf600ef94d833d54ad3331d7cc6a71641d6fab8766029", kill_on_drop: false }` [INFO] [stdout] 4afcb6588a2c2969a72cf600ef94d833d54ad3331d7cc6a71641d6fab8766029 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c1270fb840ce82088677d17f555b4a6515756dce63abad41adeff7395daaa89 [INFO] running `Command { std: "docker" "start" "-a" "0c1270fb840ce82088677d17f555b4a6515756dce63abad41adeff7395daaa89", kill_on_drop: false }` [INFO] [stderr] Compiling sensor_reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Local` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{Local}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CString` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::ffi::CString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OsStr`, `OsString` [INFO] [stdout] --> src/main.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ffi::{OsString, OsStr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 279 | / loop { [INFO] [stdout] 280 | | thread::sleep(wait_time); [INFO] [stdout] 281 | | [INFO] [stdout] 282 | | let mut readings: HashMap<&str, Box> = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 303 | | [INFO] [stdout] 304 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 305 | [INFO] [stdout] 306 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.17s [INFO] running `Command { std: "docker" "inspect" "0c1270fb840ce82088677d17f555b4a6515756dce63abad41adeff7395daaa89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c1270fb840ce82088677d17f555b4a6515756dce63abad41adeff7395daaa89", kill_on_drop: false }` [INFO] [stdout] 0c1270fb840ce82088677d17f555b4a6515756dce63abad41adeff7395daaa89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ddaff23c83c4ae380ab6bd598ae824bf128c5d4690e2440f8049fe7b2ccf6e45 [INFO] running `Command { std: "docker" "start" "-a" "ddaff23c83c4ae380ab6bd598ae824bf128c5d4690e2440f8049fe7b2ccf6e45", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Local` [INFO] [stderr] --> src/main.rs:5:14 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::{Local}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ffi::CString` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::ffi::CString; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `OsStr`, `OsString` [INFO] [stderr] --> src/main.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | use std::ffi::{OsString, OsStr}; [INFO] [stderr] | ^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:306:5 [INFO] [stderr] | [INFO] [stderr] 279 | / loop { [INFO] [stderr] 280 | | thread::sleep(wait_time); [INFO] [stderr] 281 | | [INFO] [stderr] 282 | | let mut readings: HashMap<&str, Box> = HashMap::new(); [INFO] [stderr] ... | [INFO] [stderr] 303 | | [INFO] [stderr] 304 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 305 | [INFO] [stderr] 306 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/sensor_reader-653bcaf2cbbbcfef) [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" "ddaff23c83c4ae380ab6bd598ae824bf128c5d4690e2440f8049fe7b2ccf6e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddaff23c83c4ae380ab6bd598ae824bf128c5d4690e2440f8049fe7b2ccf6e45", kill_on_drop: false }` [INFO] [stdout] ddaff23c83c4ae380ab6bd598ae824bf128c5d4690e2440f8049fe7b2ccf6e45