[INFO] fetching crate rpi_embedded 0.1.0... [INFO] checking rpi_embedded-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rpi_embedded 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate rpi_embedded 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-5-tc2/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db34803bd5027d06ef3455f47f4280ef22a867831699c236d93f39d02fbbd530 [INFO] running `Command { std: "docker" "start" "-a" "db34803bd5027d06ef3455f47f4280ef22a867831699c236d93f39d02fbbd530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db34803bd5027d06ef3455f47f4280ef22a867831699c236d93f39d02fbbd530", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db34803bd5027d06ef3455f47f4280ef22a867831699c236d93f39d02fbbd530", kill_on_drop: false }` [INFO] [stdout] db34803bd5027d06ef3455f47f4280ef22a867831699c236d93f39d02fbbd530 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a286696c935c541dffe7d0ab5f41652aca16ec2d0d82d89089bd823d9e679459 [INFO] running `Command { std: "docker" "start" "-a" "a286696c935c541dffe7d0ab5f41652aca16ec2d0d82d89089bd823d9e679459", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Checking simple-signal v1.1.1 [INFO] [stderr] Checking 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: 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] 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/interrupt.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 109 | let mut trigger_status = Vec::with_capacity(capacity); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | Ok(EventLoop { [INFO] [stdout] | ____________^ [INFO] [stdout] 121 | | poll: Epoll::new()?, [INFO] [stdout] 122 | | events: vec![epoll_event { events: 0, u64: 0 }; capacity], [INFO] [stdout] 123 | | trigger_status, [INFO] [stdout] 124 | | cdev_fd, [INFO] [stdout] 125 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/interrupt.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn new(fd: i32, pin: u8, trigger: Trigger, mut callback: C) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | let tx = EventFd::new()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | let poll_thread = thread::spawn(move || -> Result<()> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | Ok(AsyncInterrupt { [INFO] [stdout] | ____________^ [INFO] [stdout] 299 | | poll_thread: Some(poll_thread), [INFO] [stdout] 300 | | tx, [INFO] [stdout] 301 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/mem.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 70 | Err(gpiomem_err) => match Self::map_devmem() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Ok(GpioMem { mem_ptr, locks }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/pin.rs:454:30 [INFO] [stdout] | [INFO] [stdout] 439 | pub(crate) fn new(mut pin: Pin, pud_mode: PullUpDown) -> InputPin { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 454 | async_interrupt: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/pin.rs:617:23 [INFO] [stdout] | [INFO] [stdout] 602 | pub(crate) fn new(mut pin: Pin) -> OutputPin { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 617 | soft_pwm: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/pin.rs:711:23 [INFO] [stdout] | [INFO] [stdout] 695 | pub(crate) fn new(mut pin: Pin, mode: Mode) -> IoPin { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 711 | soft_pwm: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/soft_pwm.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 61 | gpio_state: Arc, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | [INFO] [stdout] 67 | let pwm_thread = thread::spawn(move || -> Result<()> { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | pwm_thread: Some(pwm_thread), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/i2c.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 275 | let i2cdev = OpenOptions::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | Ok(I2c { [INFO] [stdout] | ____________^ [INFO] [stdout] 293 | | bus, [INFO] [stdout] 294 | | funcs: capabilities, [INFO] [stdout] 295 | | i2cdev, [INFO] [stdout] ... | [INFO] [stdout] 298 | | not_sync: PhantomData, [INFO] [stdout] 299 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/uart.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 466 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 487 | let device = OpenOptions::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 525 | Ok(Uart { [INFO] [stdout] | ____________^ [INFO] [stdout] 526 | | inner: UartInner { [INFO] [stdout] 527 | | device, [INFO] [stdout] 528 | | fd, [INFO] [stdout] ... | [INFO] [stdout] 540 | | }, [INFO] [stdout] 541 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rpi_embedded` (lib) due to 10 previous errors; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/interrupt.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 109 | let mut trigger_status = Vec::with_capacity(capacity); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 120 | Ok(EventLoop { [INFO] [stdout] | ____________^ [INFO] [stdout] 121 | | poll: Epoll::new()?, [INFO] [stdout] 122 | | events: vec![epoll_event { events: 0, u64: 0 }; capacity], [INFO] [stdout] 123 | | trigger_status, [INFO] [stdout] 124 | | cdev_fd, [INFO] [stdout] 125 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/interrupt.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn new(fd: i32, pin: u8, trigger: Trigger, mut callback: C) -> Result [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | let tx = EventFd::new()?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | let poll_thread = thread::spawn(move || -> Result<()> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | Ok(AsyncInterrupt { [INFO] [stdout] | ____________^ [INFO] [stdout] 299 | | poll_thread: Some(poll_thread), [INFO] [stdout] 300 | | tx, [INFO] [stdout] 301 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/mem.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 70 | Err(gpiomem_err) => match Self::map_devmem() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 90 | Ok(GpioMem { mem_ptr, locks }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/pin.rs:454:30 [INFO] [stdout] | [INFO] [stdout] 439 | pub(crate) fn new(mut pin: Pin, pud_mode: PullUpDown) -> InputPin { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 454 | async_interrupt: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/pin.rs:617:23 [INFO] [stdout] | [INFO] [stdout] 602 | pub(crate) fn new(mut pin: Pin) -> OutputPin { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 617 | soft_pwm: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/pin.rs:711:23 [INFO] [stdout] | [INFO] [stdout] 695 | pub(crate) fn new(mut pin: Pin, mode: Mode) -> IoPin { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 711 | soft_pwm: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/gpio/soft_pwm.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 61 | gpio_state: Arc, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | let (sender, receiver): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | [INFO] [stdout] 67 | let pwm_thread = thread::spawn(move || -> Result<()> { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | pwm_thread: Some(pwm_thread), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rpi_embedded` (lib test) due to 10 previous errors; 26 warnings emitted [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/i2c.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 275 | let i2cdev = OpenOptions::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | Ok(I2c { [INFO] [stdout] | ____________^ [INFO] [stdout] 293 | | bus, [INFO] [stdout] 294 | | funcs: capabilities, [INFO] [stdout] 295 | | i2cdev, [INFO] [stdout] ... | [INFO] [stdout] 298 | | not_sync: PhantomData, [INFO] [stdout] 299 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/uart.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 466 | path: P, [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 487 | let device = OpenOptions::new() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 525 | Ok(Uart { [INFO] [stdout] | ____________^ [INFO] [stdout] 526 | | inner: UartInner { [INFO] [stdout] 527 | | device, [INFO] [stdout] 528 | | fd, [INFO] [stdout] ... | [INFO] [stdout] 540 | | }, [INFO] [stdout] 541 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a286696c935c541dffe7d0ab5f41652aca16ec2d0d82d89089bd823d9e679459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a286696c935c541dffe7d0ab5f41652aca16ec2d0d82d89089bd823d9e679459", kill_on_drop: false }` [INFO] [stdout] a286696c935c541dffe7d0ab5f41652aca16ec2d0d82d89089bd823d9e679459