[INFO] fetching crate rppal 0.15.0... [INFO] checking rppal-0.15.0 against master#020bbe46bdf613c0b8211984eaa8e5fe97d6c92d for pr-122960 [INFO] extracting crate rppal 0.15.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate rppal 0.15.0 on toolchain 020bbe46bdf613c0b8211984eaa8e5fe97d6c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rppal 0.15.0 [INFO] finished tweaking crates.io crate rppal 0.15.0 [INFO] tweaked toml for crates.io crate rppal 0.15.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate rppal 0.15.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" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nb v0.1.3 [INFO] [stderr] Downloaded nb v1.1.0 [INFO] [stderr] Downloaded embedded-hal v0.2.7 [INFO] [stderr] Downloaded embedded-hal v1.0.0-alpha.9 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0-alpha.1 [INFO] [stderr] Downloaded libc v0.2.148 [INFO] [stderr] Downloaded simple-signal v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7539c1b7aa3d37f1c980a72a763e87259d8ec0dc2b2931acd6350cdd6838b21 [INFO] running `Command { std: "docker" "start" "-a" "b7539c1b7aa3d37f1c980a72a763e87259d8ec0dc2b2931acd6350cdd6838b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7539c1b7aa3d37f1c980a72a763e87259d8ec0dc2b2931acd6350cdd6838b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7539c1b7aa3d37f1c980a72a763e87259d8ec0dc2b2931acd6350cdd6838b21", kill_on_drop: false }` [INFO] [stdout] b7539c1b7aa3d37f1c980a72a763e87259d8ec0dc2b2931acd6350cdd6838b21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78fc291cd08291dd50acaba0e6295e90ca38d6748ceed64bb7b786c5a439f5be [INFO] running `Command { std: "docker" "start" "-a" "78fc291cd08291dd50acaba0e6295e90ca38d6748ceed64bb7b786c5a439f5be", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking simple-signal v1.1.1 [INFO] [stderr] Checking rppal v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/epoll.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | self, c_int, c_void, EFD_NONBLOCK, EFD_SEMAPHORE, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLONESHOT`, `EPOLLOUT` [INFO] [stdout] --> src/gpio/epoll.rs:12:57 [INFO] [stdout] | [INFO] [stdout] 12 | pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/bcm.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::{self, c_void, off_t, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/rp1.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, c_void, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_ulong, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/soft_pwm.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, sched_param, timespec, CLOCK_MONOTONIC, PR_SET_TIMERSLACK, SCHED_RR}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/i2c/ioctl.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::{self, c_int, c_ulong, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/spi/ioctl.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::{self, c_int, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/epoll.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | self, c_int, c_void, EFD_NONBLOCK, EFD_SEMAPHORE, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLONESHOT`, `EPOLLOUT` [INFO] [stdout] --> src/gpio/epoll.rs:12:57 [INFO] [stdout] | [INFO] [stdout] 12 | pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/bcm.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::{self, c_void, off_t, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/rp1.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, c_void, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_ulong, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/soft_pwm.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, sched_param, timespec, CLOCK_MONOTONIC, PR_SET_TIMERSLACK, SCHED_RR}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/i2c/ioctl.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::{self, c_int, c_ulong, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/spi/ioctl.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::{self, c_int, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `simple_signal` is imported redundantly [INFO] [stdout] --> examples/gpio_blinkled_signals.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use simple_signal::{self, Signal}; [INFO] [stdout] | ^^^^ the item `simple_signal` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "78fc291cd08291dd50acaba0e6295e90ca38d6748ceed64bb7b786c5a439f5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78fc291cd08291dd50acaba0e6295e90ca38d6748ceed64bb7b786c5a439f5be", kill_on_drop: false }` [INFO] [stdout] 78fc291cd08291dd50acaba0e6295e90ca38d6748ceed64bb7b786c5a439f5be [INFO] checking rppal-0.15.0 against try#8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde for pr-122960 [INFO] extracting crate rppal 0.15.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rppal 0.15.0 on toolchain 8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rppal 0.15.0 [INFO] finished tweaking crates.io crate rppal 0.15.0 [INFO] tweaked toml for crates.io crate rppal 0.15.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate rppal 0.15.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" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a4b7a8929f8ccac9bc6d0b7741d15c57483f8868b27304b605643b9fb41e822 [INFO] running `Command { std: "docker" "start" "-a" "1a4b7a8929f8ccac9bc6d0b7741d15c57483f8868b27304b605643b9fb41e822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a4b7a8929f8ccac9bc6d0b7741d15c57483f8868b27304b605643b9fb41e822", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a4b7a8929f8ccac9bc6d0b7741d15c57483f8868b27304b605643b9fb41e822", kill_on_drop: false }` [INFO] [stdout] 1a4b7a8929f8ccac9bc6d0b7741d15c57483f8868b27304b605643b9fb41e822 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f0780b4a1220b94476ad5f2b2cbdfd54e242f33e1e5523e6f9182a981bc229d [INFO] running `Command { std: "docker" "start" "-a" "9f0780b4a1220b94476ad5f2b2cbdfd54e242f33e1e5523e6f9182a981bc229d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking simple-signal v1.1.1 [INFO] [stderr] Checking rppal v0.15.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/gpio/epoll.rs (1 fix) [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/epoll.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | self, c_int, c_void, EFD_NONBLOCK, EFD_SEMAPHORE, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/bcm.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::{self, c_void, off_t, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/rp1.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, c_void, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_ulong, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/soft_pwm.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, sched_param, timespec, CLOCK_MONOTONIC, PR_SET_TIMERSLACK, SCHED_RR}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/i2c/ioctl.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::{self, c_int, c_ulong, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/spi/ioctl.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::{self, c_int, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/epoll.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | self, c_int, c_void, EFD_NONBLOCK, EFD_SEMAPHORE, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/bcm.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::{self, c_void, off_t, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/rp1.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, c_void, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_ulong, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/soft_pwm.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, sched_param, timespec, CLOCK_MONOTONIC, PR_SET_TIMERSLACK, SCHED_RR}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/i2c/ioctl.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::{self, c_int, c_ulong, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/spi/ioctl.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::{self, c_int, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/pwm_servo.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/gpio_blinkled_signals.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/gpio_servo_softpwm.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `simple_signal` is imported redundantly [INFO] [stdout] --> examples/gpio_blinkled_signals.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use simple_signal::{self, Signal}; [INFO] [stdout] | ^^^^ the item `simple_signal` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/gpio_multithreaded_mutex.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/gpio_multithreaded_mpsc.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/gpio_blinkled.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/i2c_ds3231.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/pwm_blinkled.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/spi_25aa1024.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/gpio_status.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/uart_blocking_read.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.58s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking rppal v0.15.0 (/tmp/fixit) [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/epoll.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | self, c_int, c_void, EFD_NONBLOCK, EFD_SEMAPHORE, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/bcm.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::{self, c_void, off_t, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/rp1.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, c_void, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_ulong, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/soft_pwm.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, sched_param, timespec, CLOCK_MONOTONIC, PR_SET_TIMERSLACK, SCHED_RR}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/i2c/ioctl.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::{self, c_int, c_ulong, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/spi/ioctl.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::{self, c_int, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/epoll.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | self, c_int, c_void, EFD_NONBLOCK, EFD_SEMAPHORE, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/bcm.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::{self, c_void, off_t, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/gpiomem/rp1.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, c_void, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v1.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_ulong, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl/v2.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use libc::{self, c_int, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/soft_pwm.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, sched_param, timespec, CLOCK_MONOTONIC, PR_SET_TIMERSLACK, SCHED_RR}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/i2c/ioctl.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::{self, c_int, c_ulong, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/spi/ioctl.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::{self, c_int, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `simple_signal` is imported redundantly [INFO] [stdout] --> examples/gpio_blinkled_signals.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | use simple_signal::{self, Signal}; [INFO] [stdout] | ^^^^ the item `simple_signal` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.09s [INFO] running `Command { std: "docker" "inspect" "9f0780b4a1220b94476ad5f2b2cbdfd54e242f33e1e5523e6f9182a981bc229d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0780b4a1220b94476ad5f2b2cbdfd54e242f33e1e5523e6f9182a981bc229d", kill_on_drop: false }` [INFO] [stdout] 9f0780b4a1220b94476ad5f2b2cbdfd54e242f33e1e5523e6f9182a981bc229d