[INFO] fetching crate rpi_embedded 0.1.0... [INFO] building rpi_embedded-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate rpi_embedded 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate rpi_embedded 0.1.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 603b5e802d9bd481778b588310d3c2a5c1f7d355ad3945d5f8c71a2aa74a7660 [INFO] running `Command { std: "docker" "start" "-a" "603b5e802d9bd481778b588310d3c2a5c1f7d355ad3945d5f8c71a2aa74a7660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "603b5e802d9bd481778b588310d3c2a5c1f7d355ad3945d5f8c71a2aa74a7660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "603b5e802d9bd481778b588310d3c2a5c1f7d355ad3945d5f8c71a2aa74a7660", kill_on_drop: false }` [INFO] [stdout] 603b5e802d9bd481778b588310d3c2a5c1f7d355ad3945d5f8c71a2aa74a7660 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49132fe1d195917c7eb084ea3ee302b1fe87f14b312f3ebe222b0862dc5c52cb [INFO] running `Command { std: "docker" "start" "-a" "49132fe1d195917c7eb084ea3ee302b1fe87f14b312f3ebe222b0862dc5c52cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling lazy_static v1.4.0 [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)]` 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] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/gpio.rs:365:34 [INFO] [stdout] | [INFO] [stdout] 361 | let mut static_state = GPIO_STATE.lock().unwrap(); [INFO] [stdout] | ---------------- [INFO] [stdout] | | [INFO] [stdout] | `static_state` calls a custom destructor [INFO] [stdout] | `static_state` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 365 | if let Some(ref state) = static_state.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> src/gpio/ioctl.rs:341:1 [INFO] [stdout] | [INFO] [stdout] 341 | / impl Drop for EventRequest { [INFO] [stdout] 342 | | fn drop(&mut self) { [INFO] [stdout] 343 | | self.close(); [INFO] [stdout] 344 | | } [INFO] [stdout] 345 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> src/gpio/epoll.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / impl Drop for Epoll { [INFO] [stdout] 130 | | fn drop(&mut self) { [INFO] [stdout] 131 | | unsafe { [INFO] [stdout] 132 | | libc::close(self.fd); [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/os/fd/owned.rs:172:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> src/gpio/mem.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 257 | / impl Drop for GpioMem { [INFO] [stdout] 258 | | fn drop(&mut self) { [INFO] [stdout] 259 | | unsafe { [INFO] [stdout] 260 | | libc::munmap(self.mem_ptr as *mut c_void, GPIO_MEM_SIZE as size_t); [INFO] [stdout] ... | [INFO] [stdout] 263 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `static_state` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sync/mutex.rs:644:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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)]` 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] error: could not compile `rpi_embedded` (lib) due to 1 previous error; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "49132fe1d195917c7eb084ea3ee302b1fe87f14b312f3ebe222b0862dc5c52cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49132fe1d195917c7eb084ea3ee302b1fe87f14b312f3ebe222b0862dc5c52cb", kill_on_drop: false }` [INFO] [stdout] 49132fe1d195917c7eb084ea3ee302b1fe87f14b312f3ebe222b0862dc5c52cb