[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] building inakleinbottle/pi-sensor-reader against try#0c94de7c1a8f4b82b92d562847c35f513f520c7a for pr-102832-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finakleinbottle%2Fpi-sensor-reader" "/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/inakleinbottle/pi-sensor-reader on toolchain 0c94de7c1a8f4b82b92d562847c35f513f520c7a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "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-5/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" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50fe47aa64a508ff418795b1aaac8a32d31439c9e7698e7f56f8a674ee99d1ab [INFO] running `Command { std: "docker" "start" "-a" "50fe47aa64a508ff418795b1aaac8a32d31439c9e7698e7f56f8a674ee99d1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50fe47aa64a508ff418795b1aaac8a32d31439c9e7698e7f56f8a674ee99d1ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50fe47aa64a508ff418795b1aaac8a32d31439c9e7698e7f56f8a674ee99d1ab", kill_on_drop: false }` [INFO] [stdout] 50fe47aa64a508ff418795b1aaac8a32d31439c9e7698e7f56f8a674ee99d1ab [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" "RUSTDOCFLAGS=--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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe841256aaedcb5db03898661725d06d9b8813f1799f247600f62ff4ff46d6b6 [INFO] running `Command { std: "docker" "start" "-a" "fe841256aaedcb5db03898661725d06d9b8813f1799f247600f62ff4ff46d6b6", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling futures-io v0.3.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [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 itoa v0.4.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling paho-mqtt-sys v0.5.0 [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 thiserror v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.14 [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 20.50s [INFO] running `Command { std: "docker" "inspect" "fe841256aaedcb5db03898661725d06d9b8813f1799f247600f62ff4ff46d6b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe841256aaedcb5db03898661725d06d9b8813f1799f247600f62ff4ff46d6b6", kill_on_drop: false }` [INFO] [stdout] fe841256aaedcb5db03898661725d06d9b8813f1799f247600f62ff4ff46d6b6 [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" "RUSTDOCFLAGS=--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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+0c94de7c1a8f4b82b92d562847c35f513f520c7a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6358e344144339b5f80502711cbaf3a4bbb0a00763631c2526b88c1694ae5d90 [INFO] running `Command { std: "docker" "start" "-a" "6358e344144339b5f80502711cbaf3a4bbb0a00763631c2526b88c1694ae5d90", 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.02s [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6358e344144339b5f80502711cbaf3a4bbb0a00763631c2526b88c1694ae5d90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6358e344144339b5f80502711cbaf3a4bbb0a00763631c2526b88c1694ae5d90", kill_on_drop: false }` [INFO] [stdout] 6358e344144339b5f80502711cbaf3a4bbb0a00763631c2526b88c1694ae5d90