[INFO] fetching crate rust_gpiozero 0.2.0... [INFO] checking rust_gpiozero-0.2.0 against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] extracting crate rust_gpiozero 0.2.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rust_gpiozero 0.2.0 on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rppal v0.11.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", 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] c65cc3ac030e1a11ea3978837c5bdb6406ac6c24b7674e88ad34e97d6aa8b8fa [INFO] running `Command { std: "docker" "start" "-a" "c65cc3ac030e1a11ea3978837c5bdb6406ac6c24b7674e88ad34e97d6aa8b8fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c65cc3ac030e1a11ea3978837c5bdb6406ac6c24b7674e88ad34e97d6aa8b8fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c65cc3ac030e1a11ea3978837c5bdb6406ac6c24b7674e88ad34e97d6aa8b8fa", kill_on_drop: false }` [INFO] [stdout] c65cc3ac030e1a11ea3978837c5bdb6406ac6c24b7674e88ad34e97d6aa8b8fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf27ea6c1464f29ed35e2fefecd5497b51226cae0668f683a6dc514bc1489902 [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" "cf27ea6c1464f29ed35e2fefecd5497b51226cae0668f683a6dc514bc1489902", kill_on_drop: false }` [INFO] [stderr] Checking rppal v0.11.3 [INFO] [stderr] Checking rust_gpiozero v0.2.0 (/opt/rustwide/workdir) [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: `#[warn(dead_code)]` on by default [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: 5 warnings emitted [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: `#[warn(dead_code)]` on by default [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: 5 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.48s [INFO] running `Command { std: "docker" "inspect" "cf27ea6c1464f29ed35e2fefecd5497b51226cae0668f683a6dc514bc1489902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf27ea6c1464f29ed35e2fefecd5497b51226cae0668f683a6dc514bc1489902", kill_on_drop: false }` [INFO] [stdout] cf27ea6c1464f29ed35e2fefecd5497b51226cae0668f683a6dc514bc1489902