[INFO] fetching crate rpi_embedded 0.1.0... [INFO] testing rpi_embedded-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rpi_embedded 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rpi_embedded 0.1.0 [INFO] finished tweaking crates.io crate rpi_embedded 0.1.0 [INFO] tweaked toml for crates.io crate rpi_embedded 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rpi_embedded 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rpi_embedded 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-signal v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91b5945112c5c2c4cee413b48721c320ef3b438ae148d09ef8076ef97ef118e8 [INFO] running `Command { std: "docker" "start" "-a" "91b5945112c5c2c4cee413b48721c320ef3b438ae148d09ef8076ef97ef118e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91b5945112c5c2c4cee413b48721c320ef3b438ae148d09ef8076ef97ef118e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91b5945112c5c2c4cee413b48721c320ef3b438ae148d09ef8076ef97ef118e8", kill_on_drop: false }` [INFO] [stdout] 91b5945112c5c2c4cee413b48721c320ef3b438ae148d09ef8076ef97ef118e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c736bf2e5fe9d5c5b24c786f9d3e201aef50e467607e1395914c09448413f28 [INFO] running `Command { std: "docker" "start" "-a" "4c736bf2e5fe9d5c5b24c786f9d3e201aef50e467607e1395914c09448413f28", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling rpi_embedded v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/lib.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal-unproven` [INFO] [stdout] --> src/gpio.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(feature = "hal-unproven")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal-unproven` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLONESHOT` and `EPOLLOUT` [INFO] [stdout] --> src/gpio/epoll.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:594:11 [INFO] [stdout] | [INFO] [stdout] 594 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:597:11 [INFO] [stdout] | [INFO] [stdout] 597 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:687:11 [INFO] [stdout] | [INFO] [stdout] 687 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:690:11 [INFO] [stdout] | [INFO] [stdout] 690 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:618:19 [INFO] [stdout] | [INFO] [stdout] 618 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:620:19 [INFO] [stdout] | [INFO] [stdout] 620 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:712:19 [INFO] [stdout] | [INFO] [stdout] 712 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:714:19 [INFO] [stdout] | [INFO] [stdout] 714 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/i2c.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/pwm.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal-unproven` [INFO] [stdout] --> src/pwm.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(feature = "hal-unproven")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal-unproven` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/spi.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/spi.rs:428:11 [INFO] [stdout] | [INFO] [stdout] 428 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/spi.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/uart.rs:171:7 [INFO] [stdout] | [INFO] [stdout] 171 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | if !self.locks[GPPUD].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio.rs:431:48 [INFO] [stdout] | [INFO] [stdout] 431 | if self.inner.pins_taken[pin as usize].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gpio/interrupt.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | format!("No interrupt set for pin {}", pin) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 177 - format!("No interrupt set for pin {}", pin) [INFO] [stdout] 177 + "No interrupt set for pin {}", pin [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.07s [INFO] running `Command { std: "docker" "inspect" "4c736bf2e5fe9d5c5b24c786f9d3e201aef50e467607e1395914c09448413f28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c736bf2e5fe9d5c5b24c786f9d3e201aef50e467607e1395914c09448413f28", kill_on_drop: false }` [INFO] [stdout] 4c736bf2e5fe9d5c5b24c786f9d3e201aef50e467607e1395914c09448413f28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0e1e0906058a73e85ea1b6858ad035c1a8a066561c9c7cae9188e315b92791f [INFO] running `Command { std: "docker" "start" "-a" "d0e1e0906058a73e85ea1b6858ad035c1a8a066561c9c7cae9188e315b92791f", kill_on_drop: false }` [INFO] [stderr] Compiling simple-signal v1.1.1 [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/lib.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal-unproven` [INFO] [stdout] --> src/gpio.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(feature = "hal-unproven")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal-unproven` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLONESHOT` and `EPOLLOUT` [INFO] [stdout] --> src/gpio/epoll.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:594:11 [INFO] [stdout] | [INFO] [stdout] 594 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:597:11 [INFO] [stdout] | [INFO] [stdout] 597 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:687:11 [INFO] [stdout] | [INFO] [stdout] 687 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:690:11 [INFO] [stdout] | [INFO] [stdout] 690 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:618:19 [INFO] [stdout] | [INFO] [stdout] 618 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:620:19 [INFO] [stdout] | [INFO] [stdout] 620 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:712:19 [INFO] [stdout] | [INFO] [stdout] 712 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:714:19 [INFO] [stdout] | [INFO] [stdout] 714 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/i2c.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/pwm.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal-unproven` [INFO] [stdout] --> src/pwm.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(feature = "hal-unproven")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal-unproven` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/spi.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/spi.rs:428:11 [INFO] [stdout] | [INFO] [stdout] 428 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/spi.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/uart.rs:171:7 [INFO] [stdout] | [INFO] [stdout] 171 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | if !self.locks[GPPUD].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio.rs:431:48 [INFO] [stdout] | [INFO] [stdout] 431 | if self.inner.pins_taken[pin as usize].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gpio/interrupt.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | format!("No interrupt set for pin {}", pin) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 177 - format!("No interrupt set for pin {}", pin) [INFO] [stdout] 177 + "No interrupt set for pin {}", pin [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rpi_embedded v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/lib.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio.rs:148:7 [INFO] [stdout] | [INFO] [stdout] 148 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal-unproven` [INFO] [stdout] --> src/gpio.rs:150:7 [INFO] [stdout] | [INFO] [stdout] 150 | #[cfg(feature = "hal-unproven")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal-unproven` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLONESHOT` and `EPOLLOUT` [INFO] [stdout] --> src/gpio/epoll.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:594:11 [INFO] [stdout] | [INFO] [stdout] 594 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:597:11 [INFO] [stdout] | [INFO] [stdout] 597 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:687:11 [INFO] [stdout] | [INFO] [stdout] 687 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:690:11 [INFO] [stdout] | [INFO] [stdout] 690 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:618:19 [INFO] [stdout] | [INFO] [stdout] 618 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:620:19 [INFO] [stdout] | [INFO] [stdout] 620 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:712:19 [INFO] [stdout] | [INFO] [stdout] 712 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:714:19 [INFO] [stdout] | [INFO] [stdout] 714 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/gpio/pin.rs:139:19 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | impl_output!(); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/i2c.rs:149:7 [INFO] [stdout] | [INFO] [stdout] 149 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/pwm.rs:88:7 [INFO] [stdout] | [INFO] [stdout] 88 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal-unproven` [INFO] [stdout] --> src/pwm.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[cfg(feature = "hal-unproven")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal-unproven` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/spi.rs:165:7 [INFO] [stdout] | [INFO] [stdout] 165 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/spi.rs:428:11 [INFO] [stdout] | [INFO] [stdout] 428 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/spi.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 473 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/uart.rs:171:7 [INFO] [stdout] | [INFO] [stdout] 171 | #[cfg(feature = "hal")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stdout] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | if !self.locks[GPPUD].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio.rs:431:48 [INFO] [stdout] | [INFO] [stdout] 431 | if self.inner.pins_taken[pin as usize].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gpio/interrupt.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | format!("No interrupt set for pin {}", pin) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 177 - format!("No interrupt set for pin {}", pin) [INFO] [stdout] 177 + "No interrupt set for pin {}", pin [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "d0e1e0906058a73e85ea1b6858ad035c1a8a066561c9c7cae9188e315b92791f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0e1e0906058a73e85ea1b6858ad035c1a8a066561c9c7cae9188e315b92791f", kill_on_drop: false }` [INFO] [stdout] d0e1e0906058a73e85ea1b6858ad035c1a8a066561c9c7cae9188e315b92791f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ac58ab4b0d78189ef6b175ea4c3532ed6bc79ede5c5afca2a1d30df7ca8225e7 [INFO] running `Command { std: "docker" "start" "-a" "ac58ab4b0d78189ef6b175ea4c3532ed6bc79ede5c5afca2a1d30df7ca8225e7", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/lib.rs:45:7 [INFO] [stderr] | [INFO] [stderr] 45 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/gpio.rs:148:7 [INFO] [stderr] | [INFO] [stderr] 148 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal-unproven` [INFO] [stderr] --> src/gpio.rs:150:7 [INFO] [stderr] | [INFO] [stderr] 150 | #[cfg(feature = "hal-unproven")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal-unproven` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EPOLLONESHOT` and `EPOLLOUT` [INFO] [stderr] --> src/gpio/epoll.rs:31:57 [INFO] [stderr] | [INFO] [stderr] 31 | pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/gpio/pin.rs:594:11 [INFO] [stderr] | [INFO] [stderr] 594 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/gpio/pin.rs:597:11 [INFO] [stderr] | [INFO] [stderr] 597 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/gpio/pin.rs:687:11 [INFO] [stderr] | [INFO] [stderr] 687 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/gpio/pin.rs:690:11 [INFO] [stderr] | [INFO] [stderr] 690 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/gpio/pin.rs:618:19 [INFO] [stderr] | [INFO] [stderr] 618 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/gpio/pin.rs:620:19 [INFO] [stderr] | [INFO] [stderr] 620 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/gpio/pin.rs:139:19 [INFO] [stderr] | [INFO] [stderr] 139 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 643 | impl_output!(); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/gpio/pin.rs:712:19 [INFO] [stderr] | [INFO] [stderr] 712 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/gpio/pin.rs:714:19 [INFO] [stderr] | [INFO] [stderr] 714 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/gpio/pin.rs:139:19 [INFO] [stderr] | [INFO] [stderr] 139 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 749 | impl_output!(); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `impl_output` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/i2c.rs:149:7 [INFO] [stderr] | [INFO] [stderr] 149 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/pwm.rs:88:7 [INFO] [stderr] | [INFO] [stderr] 88 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal-unproven` [INFO] [stderr] --> src/pwm.rs:90:7 [INFO] [stderr] | [INFO] [stderr] 90 | #[cfg(feature = "hal-unproven")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal-unproven` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/spi.rs:165:7 [INFO] [stderr] | [INFO] [stderr] 165 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/spi.rs:428:11 [INFO] [stderr] | [INFO] [stderr] 428 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/spi.rs:473:19 [INFO] [stderr] | [INFO] [stderr] 473 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/uart.rs:171:7 [INFO] [stderr] | [INFO] [stderr] 171 | #[cfg(feature = "hal")] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `embedded-hal`, `nb`, and `void` [INFO] [stderr] = help: consider adding `hal` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/gpio/mem.rs:202:36 [INFO] [stderr] | [INFO] [stderr] 202 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/gpio/mem.rs:221:35 [INFO] [stderr] | [INFO] [stderr] 221 | if !self.locks[GPPUD].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/gpio/mem.rs:222:40 [INFO] [stderr] | [INFO] [stderr] 222 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/gpio.rs:431:48 [INFO] [stderr] | [INFO] [stderr] 431 | if self.inner.pins_taken[pin as usize].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/gpio/interrupt.rs:177:21 [INFO] [stderr] | [INFO] [stderr] 177 | format!("No interrupt set for pin {}", pin) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 177 - format!("No interrupt set for pin {}", pin) [INFO] [stderr] 177 + "No interrupt set for pin {}", pin [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rpi_embedded` (lib) generated 26 warnings (run `cargo fix --lib -p rpi_embedded` to apply 2 suggestions) [INFO] [stderr] warning: `rpi_embedded` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rpi_embedded-811dccf0471287d7) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rpi_embedded [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/gpio.rs - gpio (line 78) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/gpio.rs - gpio (line 78) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rppal` [INFO] [stdout] --> src/gpio.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rppal::gpio::Gpio; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rppal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rppal`, use `cargo add rppal` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rppal` [INFO] [stdout] --> src/gpio.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 7 | fn main() -> rppal::gpio::Result<()> { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `rppal` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rppal`, use `cargo add rppal` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use rpi_embedded::gpio; [INFO] [stdout] | [INFO] [stdout] help: if you import `gpio`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - fn main() -> rppal::gpio::Result<()> { [INFO] [stdout] 7 + fn main() -> gpio::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/gpio.rs - gpio (line 78) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "ac58ab4b0d78189ef6b175ea4c3532ed6bc79ede5c5afca2a1d30df7ca8225e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac58ab4b0d78189ef6b175ea4c3532ed6bc79ede5c5afca2a1d30df7ca8225e7", kill_on_drop: false }` [INFO] [stdout] ac58ab4b0d78189ef6b175ea4c3532ed6bc79ede5c5afca2a1d30df7ca8225e7