[INFO] fetching crate rpi-gpio 0.1.1... [INFO] checking rpi-gpio-0.1.1 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate rpi-gpio 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rpi-gpio 0.1.1 [INFO] finished tweaking crates.io crate rpi-gpio 0.1.1 [INFO] tweaked toml for crates.io crate rpi-gpio 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rpi-gpio 0.1.1 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 27 packages to latest compatible versions [INFO] [stderr] Adding nix v0.13.1 (available: v0.30.1) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [INFO] [stderr] Adding yansi v0.5.1 (available: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nix v0.13.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8e9fdf21c76eb5f1ec808e3516c19eb0400a28bfa1004cd4e73feb37878e6fb [INFO] running `Command { std: "docker" "start" "-a" "b8e9fdf21c76eb5f1ec808e3516c19eb0400a28bfa1004cd4e73feb37878e6fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8e9fdf21c76eb5f1ec808e3516c19eb0400a28bfa1004cd4e73feb37878e6fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8e9fdf21c76eb5f1ec808e3516c19eb0400a28bfa1004cd4e73feb37878e6fb", kill_on_drop: false }` [INFO] [stdout] b8e9fdf21c76eb5f1ec808e3516c19eb0400a28bfa1004cd4e73feb37878e6fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95a71f4abb81677de0a5bb2e4fa4f6d3e6a90ab596aeb468249d90cf9163ec3a [INFO] running `Command { std: "docker" "start" "-a" "95a71f4abb81677de0a5bb2e4fa4f6d3e6a90ab596aeb468249d90cf9163ec3a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking rpi-gpio v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | drop(nix::unistd::close(fd)); [INFO] [stdout] | ^^^^^----------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 59 - drop(nix::unistd::close(fd)); [INFO] [stdout] 59 + let _ = nix::unistd::close(fd); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | drop(mman::munmap(self.control_block, CONTROL_BLOCK_SIZE)) [INFO] [stdout] | ^^^^^----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | drop(nix::unistd::close(fd)); [INFO] [stdout] | ^^^^^----------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 59 - drop(nix::unistd::close(fd)); [INFO] [stdout] 59 + let _ = nix::unistd::close(fd); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | drop(mman::munmap(self.control_block, CONTROL_BLOCK_SIZE)) [INFO] [stdout] | ^^^^^----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod lib; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod lib; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | drop(nix::unistd::close(fd)); [INFO] [stdout] | ^^^^^----------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 59 - drop(nix::unistd::close(fd)); [INFO] [stdout] 59 + let _ = nix::unistd::close(fd); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | drop(mman::munmap(self.control_block, CONTROL_BLOCK_SIZE)) [INFO] [stdout] | ^^^^^----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | drop(nix::unistd::close(fd)); [INFO] [stdout] | ^^^^^----------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 59 - drop(nix::unistd::close(fd)); [INFO] [stdout] 59 + let _ = nix::unistd::close(fd); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/lib.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | drop(mman::munmap(self.control_block, CONTROL_BLOCK_SIZE)) [INFO] [stdout] | ^^^^^----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `Result<(), nix::Error>` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.06s [INFO] running `Command { std: "docker" "inspect" "95a71f4abb81677de0a5bb2e4fa4f6d3e6a90ab596aeb468249d90cf9163ec3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95a71f4abb81677de0a5bb2e4fa4f6d3e6a90ab596aeb468249d90cf9163ec3a", kill_on_drop: false }` [INFO] [stdout] 95a71f4abb81677de0a5bb2e4fa4f6d3e6a90ab596aeb468249d90cf9163ec3a