[INFO] cloning repository https://github.com/GillesMommerency/research [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GillesMommerency/research" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGillesMommerency%2Fresearch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGillesMommerency%2Fresearch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc924991933e1f7c1760a210a67a640c095be684 [INFO] building GillesMommerency/research against try#0c94de7c1a8f4b82b92d562847c35f513f520c7a for pr-102832-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGillesMommerency%2Fresearch" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GillesMommerency/research 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/GillesMommerency/research [INFO] finished tweaking git repo https://github.com/GillesMommerency/research [INFO] tweaked toml for git repo https://github.com/GillesMommerency/research written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/GillesMommerency/research 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 4582be8f91f5a3fd97068d30dca34dd6bda55f0abe399a53697ab15cf098a0b5 [INFO] running `Command { std: "docker" "start" "-a" "4582be8f91f5a3fd97068d30dca34dd6bda55f0abe399a53697ab15cf098a0b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4582be8f91f5a3fd97068d30dca34dd6bda55f0abe399a53697ab15cf098a0b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4582be8f91f5a3fd97068d30dca34dd6bda55f0abe399a53697ab15cf098a0b5", kill_on_drop: false }` [INFO] [stdout] 4582be8f91f5a3fd97068d30dca34dd6bda55f0abe399a53697ab15cf098a0b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 4a9253d3b2cf7a28be5e156b7819f1bd990e16dbd2de2af11fb2e7cff5088a72 [INFO] running `Command { std: "docker" "start" "-a" "4a9253d3b2cf7a28be5e156b7819f1bd990e16dbd2de2af11fb2e7cff5088a72", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.120 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.120 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling paho-mqtt-sys v0.5.0 (https://github.com/eclipse/paho.mqtt.rust.git?branch=master#798b151f) [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rppal v0.11.3 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ccs811 v0.1.3 [INFO] [stderr] Compiling serialport v3.3.0 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling paho-mqtt v0.9.1 (https://github.com/eclipse/paho.mqtt.rust.git?branch=master#798b151f) [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling sds011 v0.2.1 [INFO] [stderr] Compiling research_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | Err(e) => "Empty Buffer", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpio.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut pin = match controller.get(pin_num) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_retry` is never used [INFO] [stdout] --> src/dht11.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn read_retry(&mut self, retry: usize) -> Result<(f32, f32), SensorError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pin_num` is never read [INFO] [stdout] --> src/gpio.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GPIOPin { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | pin_num: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.13s [INFO] running `Command { std: "docker" "inspect" "4a9253d3b2cf7a28be5e156b7819f1bd990e16dbd2de2af11fb2e7cff5088a72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9253d3b2cf7a28be5e156b7819f1bd990e16dbd2de2af11fb2e7cff5088a72", kill_on_drop: false }` [INFO] [stdout] 4a9253d3b2cf7a28be5e156b7819f1bd990e16dbd2de2af11fb2e7cff5088a72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 585fe70bce188b3275ddccbf3dc29dea209bfad3cd597d15ae80bbab6d1e5093 [INFO] running `Command { std: "docker" "start" "-a" "585fe70bce188b3275ddccbf3dc29dea209bfad3cd597d15ae80bbab6d1e5093", kill_on_drop: false }` [INFO] [stderr] Compiling research_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | Err(e) => "Empty Buffer", [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/gpio.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut pin = match controller.get(pin_num) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_retry` is never used [INFO] [stdout] --> src/dht11.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn read_retry(&mut self, retry: usize) -> Result<(f32, f32), SensorError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pin_num` is never read [INFO] [stdout] --> src/gpio.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GPIOPin { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | pin_num: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "585fe70bce188b3275ddccbf3dc29dea209bfad3cd597d15ae80bbab6d1e5093", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "585fe70bce188b3275ddccbf3dc29dea209bfad3cd597d15ae80bbab6d1e5093", kill_on_drop: false }` [INFO] [stdout] 585fe70bce188b3275ddccbf3dc29dea209bfad3cd597d15ae80bbab6d1e5093