[INFO] fetching crate rust_gpiozero 0.2.0... [INFO] checking rust_gpiozero-0.2.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate rust_gpiozero 0.2.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate rust_gpiozero 0.2.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f975ac2d4b4514c1a295a3ea868682f1ee04b9799841f78e4e3f7d25716484ad [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" "f975ac2d4b4514c1a295a3ea868682f1ee04b9799841f78e4e3f7d25716484ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f975ac2d4b4514c1a295a3ea868682f1ee04b9799841f78e4e3f7d25716484ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f975ac2d4b4514c1a295a3ea868682f1ee04b9799841f78e4e3f7d25716484ad", kill_on_drop: false }` [INFO] [stdout] f975ac2d4b4514c1a295a3ea868682f1ee04b9799841f78e4e3f7d25716484ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32f0103c741f1ca74d494a9ce5568231208091171df436e260949ffc79ed673e [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" "32f0103c741f1ca74d494a9ce5568231208091171df436e260949ffc79ed673e", 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: 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.11s [INFO] running `Command { std: "docker" "inspect" "32f0103c741f1ca74d494a9ce5568231208091171df436e260949ffc79ed673e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32f0103c741f1ca74d494a9ce5568231208091171df436e260949ffc79ed673e", kill_on_drop: false }` [INFO] [stdout] 32f0103c741f1ca74d494a9ce5568231208091171df436e260949ffc79ed673e