[INFO] fetching crate rust_gpiozero 0.2.0... [INFO] testing rust_gpiozero-0.2.0 against 1.49.0 for beta-1.50-1 [INFO] extracting crate rust_gpiozero 0.2.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rust_gpiozero 0.2.0 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffc70d3005c01b7dda6290d529ce3fa0d68d672ca99c725e6f04a0e62c53e00a [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" "ffc70d3005c01b7dda6290d529ce3fa0d68d672ca99c725e6f04a0e62c53e00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffc70d3005c01b7dda6290d529ce3fa0d68d672ca99c725e6f04a0e62c53e00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffc70d3005c01b7dda6290d529ce3fa0d68d672ca99c725e6f04a0e62c53e00a", kill_on_drop: false }` [INFO] [stdout] ffc70d3005c01b7dda6290d529ce3fa0d68d672ca99c725e6f04a0e62c53e00a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0493f2a4a3860812dedcf61cfd250cfef9126e177632c55de741478c6a2f06a9 [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" "0493f2a4a3860812dedcf61cfd250cfef9126e177632c55de741478c6a2f06a9", kill_on_drop: false }` [INFO] [stderr] Compiling rppal v0.11.3 [INFO] [stderr] Compiling 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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.70s [INFO] running `Command { std: "docker" "inspect" "0493f2a4a3860812dedcf61cfd250cfef9126e177632c55de741478c6a2f06a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0493f2a4a3860812dedcf61cfd250cfef9126e177632c55de741478c6a2f06a9", kill_on_drop: false }` [INFO] [stdout] 0493f2a4a3860812dedcf61cfd250cfef9126e177632c55de741478c6a2f06a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a2b4bb9e84e93de53f7dc04f318bd9f6adb94cf7bcb5628360a8327e99c589b [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" "7a2b4bb9e84e93de53f7dc04f318bd9f6adb94cf7bcb5628360a8327e99c589b", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "7a2b4bb9e84e93de53f7dc04f318bd9f6adb94cf7bcb5628360a8327e99c589b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a2b4bb9e84e93de53f7dc04f318bd9f6adb94cf7bcb5628360a8327e99c589b", kill_on_drop: false }` [INFO] [stdout] 7a2b4bb9e84e93de53f7dc04f318bd9f6adb94cf7bcb5628360a8327e99c589b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c660f636e6fad71159247ebb81696032dd345b423ea1d16537c07b24af8cd672 [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" "c660f636e6fad71159247ebb81696032dd345b423ea1d16537c07b24af8cd672", kill_on_drop: false }` [INFO] [stderr] warning: associated function is never used: `value_to_state` [INFO] [stderr] --> src/output_devices.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/input_devices.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | impl_io_device!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value_to_state` [INFO] [stderr] --> src/output_devices.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/input_devices.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | impl_io_device!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `inactive_state` [INFO] [stderr] --> src/input_devices.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | inactive_state: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bounce_time` [INFO] [stderr] --> src/input_devices.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | bounce_time: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value_to_state` [INFO] [stderr] --> src/output_devices.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/input_devices.rs:209:5 [INFO] [stderr] | [INFO] [stderr] 209 | impl_io_device!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value_to_state` [INFO] [stderr] --> src/output_devices.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/input_devices.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | impl_io_device!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value_to_state` [INFO] [stderr] --> src/output_devices.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/input_devices.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | impl_io_device!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `inactive_state` [INFO] [stderr] --> src/input_devices.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | inactive_state: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `bounce_time` [INFO] [stderr] --> src/input_devices.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | bounce_time: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `value_to_state` [INFO] [stderr] --> src/output_devices.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | fn value_to_state(&self, value: bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/input_devices.rs:209:5 [INFO] [stderr] | [INFO] [stderr] 209 | impl_io_device!(); [INFO] [stderr] | ------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> examples/servo.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 11 | / loop{ [INFO] [stderr] 12 | | servo.max(); [INFO] [stderr] 13 | | thread::sleep(Duration::from_millis(2000)); [INFO] [stderr] 14 | | servo.min(); [INFO] [stderr] 15 | | thread::sleep(Duration::from_millis(2000)); [INFO] [stderr] 16 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 19 | let _ = io::stdin().read(&mut [0u8]).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_gpiozero-56a8514e2a6bd6bb [INFO] [stderr] Doc-tests rust_gpiozero [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] Test executable failed (exit code 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at 'UnknownModel', src/output_devices.rs:103:23 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5612e42e2450 - std::backtrace_rs::backtrace::libunwind::trace::h04d12fdcddff82aa [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/libunwind.rs:100:5 [INFO] [stdout] 1: 0x5612e42e2450 - std::backtrace_rs::backtrace::trace_unsynchronized::h1459b974b6fbe5e1 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5612e42e2450 - std::sys_common::backtrace::_print_fmt::h9b8396a669123d95 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5612e42e2450 - ::fmt::he009dcaaa75eed60 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5612e42fcc1c - core::fmt::write::h77b4746b0dea1dd3 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/fmt/mod.rs:1078:17 [INFO] [stdout] 5: 0x5612e42e08a2 - std::io::Write::write_fmt::heb7e50902e98831c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/io/mod.rs:1518:15 [INFO] [stdout] 6: 0x5612e42e4995 - std::sys_common::backtrace::_print::h2d880c9e69a21be9 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5612e42e4995 - std::sys_common::backtrace::print::h5f02b1bb49f36879 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5612e42e4995 - std::panicking::default_hook::{{closure}}::h658e288a7a809b29 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5612e42e4638 - std::panicking::default_hook::hb52d73f0da9a4bb8 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:227:9 [INFO] [stdout] 10: 0x5612e42e5131 - std::panicking::rust_panic_with_hook::hfe7e1c684e3e6462 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:593:17 [INFO] [stdout] 11: 0x5612e42e4c77 - std::panicking::begin_panic_handler::{{closure}}::h42939e004b32765c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:499:13 [INFO] [stdout] 12: 0x5612e42e290c - std::sys_common::backtrace::__rust_end_short_backtrace::h9d2070f7bf9fd56c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5612e42e4bd9 - rust_begin_unwind [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:495:5 [INFO] [stdout] 14: 0x5612e42e4b8b - std::panicking::begin_panic_fmt::h4a7e15187eac098d [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:437:5 [INFO] [stdout] 15: 0x5612e42a24e9 - rust_gpiozero::output_devices::OutputDevice::new::h925dab79c647d9ab [INFO] [stdout] at /opt/rustwide/workdir/src/output_devices.rs:103:23 [INFO] [stdout] 16: 0x5612e42a2711 - rust_gpiozero::output_devices::LED::new::h2d04dccb6b8e5e88 [INFO] [stdout] at /opt/rustwide/workdir/src/output_devices.rs:291:41 [INFO] [stdout] 17: 0x5612e42a2302 - rust_out::main::h405f65324f7b53be [INFO] [stdout] 18: 0x5612e42a2253 - core::ops::function::FnOnce::call_once::h3db408b57191f4c8 [INFO] [stdout] 19: 0x5612e42a2179 - std::sys_common::backtrace::__rust_begin_short_backtrace::h63647f327f3ebdae [INFO] [stdout] 20: 0x5612e42a2209 - std::rt::lang_start::{{closure}}::he1e0628789bd119a [INFO] [stdout] 21: 0x5612e42e5557 - core::ops::function::impls:: for &F>::call_once::h57e2a071d427b24c [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/ops/function.rs:259:13 [INFO] [stdout] 22: 0x5612e42e5557 - std::panicking::try::do_call::h81cbbe0c3b30a28e [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:381:40 [INFO] [stdout] 23: 0x5612e42e5557 - std::panicking::try::hbeeb95b4e1f0a876 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:345:19 [INFO] [stdout] 24: 0x5612e42e5557 - std::panic::catch_unwind::h59c48ccb40a0bf20 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panic.rs:396:14 [INFO] [stdout] 25: 0x5612e42e5557 - std::rt::lang_start_internal::ha53ab63f88fee728 [INFO] [stdout] at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/rt.rs:51:25 [INFO] [stdout] 26: 0x5612e42a21e8 - std::rt::lang_start::hbf8fdee85d7e16e4 [INFO] [stdout] 27: 0x5612e42a236b - main [INFO] [stdout] 28: 0x7fae662f00b3 - __libc_start_main [INFO] [stdout] 29: 0x5612e42a20ae - _start [INFO] [stdout] 30: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c660f636e6fad71159247ebb81696032dd345b423ea1d16537c07b24af8cd672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c660f636e6fad71159247ebb81696032dd345b423ea1d16537c07b24af8cd672", kill_on_drop: false }` [INFO] [stdout] c660f636e6fad71159247ebb81696032dd345b423ea1d16537c07b24af8cd672