[INFO] fetching crate rppal_w_frontend 0.0.4... [INFO] testing rppal_w_frontend-0.0.4 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rppal_w_frontend 0.0.4 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rppal_w_frontend 0.0.4 [INFO] finished tweaking crates.io crate rppal_w_frontend 0.0.4 [INFO] tweaked toml for crates.io crate rppal_w_frontend 0.0.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rppal_w_frontend 0.0.4 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rppal_w_frontend 0.0.4 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4565590537ec9054448da8070e727ab4630c853836da3810658ad49081853b1 [INFO] running `Command { std: "docker" "start" "-a" "e4565590537ec9054448da8070e727ab4630c853836da3810658ad49081853b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4565590537ec9054448da8070e727ab4630c853836da3810658ad49081853b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4565590537ec9054448da8070e727ab4630c853836da3810658ad49081853b1", kill_on_drop: false }` [INFO] [stdout] e4565590537ec9054448da8070e727ab4630c853836da3810658ad49081853b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07eaac983d3a18316826bd83884c59316f71958016d13ea84d42ce4e3457ba44 [INFO] running `Command { std: "docker" "start" "-a" "07eaac983d3a18316826bd83884c59316f71958016d13ea84d42ce4e3457ba44", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling rppal_w_frontend v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/lib.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[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.45s [INFO] running `Command { std: "docker" "inspect" "07eaac983d3a18316826bd83884c59316f71958016d13ea84d42ce4e3457ba44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07eaac983d3a18316826bd83884c59316f71958016d13ea84d42ce4e3457ba44", kill_on_drop: false }` [INFO] [stdout] 07eaac983d3a18316826bd83884c59316f71958016d13ea84d42ce4e3457ba44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54fbe071cc1826b12bd284b3ff62e6daeb49e747b349009d2f51bc7515ae9de6 [INFO] running `Command { std: "docker" "start" "-a" "54fbe071cc1826b12bd284b3ff62e6daeb49e747b349009d2f51bc7515ae9de6", 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:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[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 rppal_w_frontend v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `hal` [INFO] [stdout] --> src/lib.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | #[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.49s [INFO] running `Command { std: "docker" "inspect" "54fbe071cc1826b12bd284b3ff62e6daeb49e747b349009d2f51bc7515ae9de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54fbe071cc1826b12bd284b3ff62e6daeb49e747b349009d2f51bc7515ae9de6", kill_on_drop: false }` [INFO] [stdout] 54fbe071cc1826b12bd284b3ff62e6daeb49e747b349009d2f51bc7515ae9de6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] eeb3fbfc07bcca8c685a877027cb9569feb61972dd48558b408e2a1973d5980c [INFO] running `Command { std: "docker" "start" "-a" "eeb3fbfc07bcca8c685a877027cb9569feb61972dd48558b408e2a1973d5980c", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `hal` [INFO] [stderr] --> src/lib.rs:41:7 [INFO] [stderr] | [INFO] [stderr] 41 | #[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: `rppal_w_frontend` (lib) generated 26 warnings (run `cargo fix --lib -p rppal_w_frontend` to apply 2 suggestions) [INFO] [stderr] warning: `rppal_w_frontend` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rppal_w_frontend-c5b4b3423a3faa24) [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 rppal_w_frontend [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 rppal_w_frontend::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.17s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "eeb3fbfc07bcca8c685a877027cb9569feb61972dd48558b408e2a1973d5980c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeb3fbfc07bcca8c685a877027cb9569feb61972dd48558b408e2a1973d5980c", kill_on_drop: false }` [INFO] [stdout] eeb3fbfc07bcca8c685a877027cb9569feb61972dd48558b408e2a1973d5980c