[INFO] fetching crate rust_gpiozero 0.2.0... [INFO] checking rust_gpiozero-0.2.0 against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] extracting crate rust_gpiozero 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate rust_gpiozero 0.2.0 on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1debd2dbc195d19617d410bcf57f405712cde12d019f476415a58865661837b5 [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" "1debd2dbc195d19617d410bcf57f405712cde12d019f476415a58865661837b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1debd2dbc195d19617d410bcf57f405712cde12d019f476415a58865661837b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1debd2dbc195d19617d410bcf57f405712cde12d019f476415a58865661837b5", kill_on_drop: false }` [INFO] [stdout] 1debd2dbc195d19617d410bcf57f405712cde12d019f476415a58865661837b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4644475263335e0bae13e7b47caa9bd4f238ba21d6b0f91bf11059174f229aa [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" "e4644475263335e0bae13e7b47caa9bd4f238ba21d6b0f91bf11059174f229aa", 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.30s [INFO] running `Command { std: "docker" "inspect" "e4644475263335e0bae13e7b47caa9bd4f238ba21d6b0f91bf11059174f229aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4644475263335e0bae13e7b47caa9bd4f238ba21d6b0f91bf11059174f229aa", kill_on_drop: false }` [INFO] [stdout] e4644475263335e0bae13e7b47caa9bd4f238ba21d6b0f91bf11059174f229aa