[INFO] fetching crate rust_gpiozero 0.2.0... [INFO] checking rust_gpiozero-0.2.0 against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] extracting crate rust_gpiozero 0.2.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate rust_gpiozero 0.2.0 on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust_gpiozero 0.2.0 [INFO] finished tweaking crates.io crate rust_gpiozero 0.2.0 [INFO] tweaked toml for crates.io crate rust_gpiozero 0.2.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 037baaeb5ceee98fcf8f179c3468461ad03ef61961e1645855c1bf358f606f00 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "037baaeb5ceee98fcf8f179c3468461ad03ef61961e1645855c1bf358f606f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "037baaeb5ceee98fcf8f179c3468461ad03ef61961e1645855c1bf358f606f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "037baaeb5ceee98fcf8f179c3468461ad03ef61961e1645855c1bf358f606f00", kill_on_drop: false }` [INFO] [stdout] 037baaeb5ceee98fcf8f179c3468461ad03ef61961e1645855c1bf358f606f00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6a37858acfae86eb875f28e6b66806c16e1f3d8f012c9e638f73d1e153200464 [INFO] running `Command { std: "docker" "start" "-a" "6a37858acfae86eb875f28e6b66806c16e1f3d8f012c9e638f73d1e153200464", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rppal v0.11.3 [INFO] [stderr] Checking rust_gpiozero v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `handle` [INFO] [stdout] --> src/output_devices.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | handle: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inactive_state` [INFO] [stdout] --> src/output_devices.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | inactive_state: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value_to_state` [INFO] [stdout] --> src/output_devices.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/input_devices.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | impl_io_device!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value_to_state` [INFO] [stdout] --> src/output_devices.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/input_devices.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | impl_io_device!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inactive_state` [INFO] [stdout] --> src/input_devices.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | inactive_state: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bounce_time` [INFO] [stdout] --> src/input_devices.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | bounce_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value_to_state` [INFO] [stdout] --> src/output_devices.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/input_devices.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | impl_io_device!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `handle` [INFO] [stdout] --> src/output_devices.rs:371:5 [INFO] [stdout] | [INFO] [stdout] 371 | handle: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inactive_state` [INFO] [stdout] --> src/output_devices.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 374 | inactive_state: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value_to_state` [INFO] [stdout] --> src/output_devices.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/input_devices.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | impl_io_device!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value_to_state` [INFO] [stdout] --> src/output_devices.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/input_devices.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | impl_io_device!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inactive_state` [INFO] [stdout] --> src/input_devices.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | inactive_state: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bounce_time` [INFO] [stdout] --> src/input_devices.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | bounce_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value_to_state` [INFO] [stdout] --> src/output_devices.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/input_devices.rs:209:5 [INFO] [stdout] | [INFO] [stdout] 209 | impl_io_device!(); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> examples/servo.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | / loop{ [INFO] [stdout] 12 | | servo.max(); [INFO] [stdout] 13 | | thread::sleep(Duration::from_millis(2000)); [INFO] [stdout] 14 | | servo.min(); [INFO] [stdout] 15 | | thread::sleep(Duration::from_millis(2000)); [INFO] [stdout] 16 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 19 | let _ = io::stdin().read(&mut [0u8]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.62s [INFO] running `Command { std: "docker" "inspect" "6a37858acfae86eb875f28e6b66806c16e1f3d8f012c9e638f73d1e153200464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a37858acfae86eb875f28e6b66806c16e1f3d8f012c9e638f73d1e153200464", kill_on_drop: false }` [INFO] [stdout] 6a37858acfae86eb875f28e6b66806c16e1f3d8f012c9e638f73d1e153200464