[INFO] cloning repository https://github.com/sergz72/peripheral_library
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sergz72/peripheral_library" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergz72%2Fperipheral_library", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergz72%2Fperipheral_library'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9f54db4a0577ee7b81b2454fde203e824626ba9b
[INFO] checking sergz72/peripheral_library against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsergz72%2Fperipheral_library" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sergz72/peripheral_library
[INFO] finished tweaking git repo https://github.com/sergz72/peripheral_library
[INFO] tweaked toml for git repo https://github.com/sergz72/peripheral_library written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sergz72/peripheral_library on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sergz72/peripheral_library already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v1.0.0-alpha.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ae9846e540adb861b357e28af2d87e8669057aae1826866b8716825eb616c6c9
[INFO] running `Command { std: "docker" "start" "ae9846e540adb861b357e28af2d87e8669057aae1826866b8716825eb616c6c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae9846e540adb861b357e28af2d87e8669057aae1826866b8716825eb616c6c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ae9846e540adb861b357e28af2d87e8669057aae1826866b8716825eb616c6c9" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae9846e540adb861b357e28af2d87e8669057aae1826866b8716825eb616c6c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ae9846e540adb861b357e28af2d87e8669057aae1826866b8716825eb616c6c9" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v1.0.0-alpha.4
[INFO] [stderr]     Checking peripheral_library v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `config_file_name`
[INFO] [stdout]   --> src/devices/cc1101.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn test(config_file_name: String) -> Result<(), Error> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_file_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_FLAG_USED` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const GPIO_V2_LINE_FLAG_USED: usize               = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_ATTR_ID_FLAGS` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:67:7
[INFO] [stdout]    |
[INFO] [stdout] 67 | const GPIO_V2_LINE_ATTR_ID_FLAGS: u32         = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_ATTR_ID_DEBOUNCE` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:69:7
[INFO] [stdout]    |
[INFO] [stdout] 69 | const GPIO_V2_LINE_ATTR_ID_DEBOUNCE: u32      = 3;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `I2C_TEN_BIT` is never used
[INFO] [stdout]  --> src/interfaces/i2c.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const I2C_TEN_BIT: Ioctl = 0x0704;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spi_ioc_wr_lsb_first` is never used
[INFO] [stdout]   --> src/interfaces/spi.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn spi_ioc_wr_lsb_first() -> Ioctl {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_status` is never used
[INFO] [stdout]   --> src/devices/scd4x.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl SCD4X {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 91 |     fn get_status(&self) -> Result<u16, Error> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bus` is never read
[INFO] [stdout]  --> src/devices/cc1101.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CC1101 {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 5 |     bus: SPIMaster
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config_file_name`
[INFO] [stdout]   --> src/devices/cc1101.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn test(config_file_name: String) -> Result<(), Error> {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_file_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_FLAG_USED` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const GPIO_V2_LINE_FLAG_USED: usize               = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_ATTR_ID_FLAGS` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:67:7
[INFO] [stdout]    |
[INFO] [stdout] 67 | const GPIO_V2_LINE_ATTR_ID_FLAGS: u32         = 1;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GPIO_V2_LINE_ATTR_ID_DEBOUNCE` is never used
[INFO] [stdout]   --> src/interfaces/gpio.rs:69:7
[INFO] [stdout]    |
[INFO] [stdout] 69 | const GPIO_V2_LINE_ATTR_ID_DEBOUNCE: u32      = 3;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `I2C_TEN_BIT` is never used
[INFO] [stdout]  --> src/interfaces/i2c.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 | const I2C_TEN_BIT: Ioctl = 0x0704;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `spi_ioc_wr_lsb_first` is never used
[INFO] [stdout]   --> src/interfaces/spi.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn spi_ioc_wr_lsb_first() -> Ioctl {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_status` is never used
[INFO] [stdout]   --> src/devices/scd4x.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 54 | impl SCD4X {
[INFO] [stdout]    | ---------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 91 |     fn get_status(&self) -> Result<u16, Error> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bus` is never read
[INFO] [stdout]  --> src/devices/cc1101.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct CC1101 {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 5 |     bus: SPIMaster
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.98s
[INFO] running `Command { std: "docker" "inspect" "ae9846e540adb861b357e28af2d87e8669057aae1826866b8716825eb616c6c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae9846e540adb861b357e28af2d87e8669057aae1826866b8716825eb616c6c9", kill_on_drop: false }`
[INFO] [stdout] ae9846e540adb861b357e28af2d87e8669057aae1826866b8716825eb616c6c9
