[INFO] fetching crate as3935-bbn 0.1.0-pre.2... [INFO] building as3935-bbn-0.1.0-pre.2 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate as3935-bbn 0.1.0-pre.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate as3935-bbn 0.1.0-pre.2 [INFO] finished tweaking crates.io crate as3935-bbn 0.1.0-pre.2 [INFO] tweaked toml for crates.io crate as3935-bbn 0.1.0-pre.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate as3935-bbn 0.1.0-pre.2 on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate as3935-bbn 0.1.0-pre.2 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple-signal v1.1.1 [INFO] [stderr] Downloaded simple_logger v1.16.0 [INFO] [stderr] Downloaded quote v1.0.25 [INFO] [stderr] Downloaded rppal v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 655e0ab28dc03dae919dcdc677d26655962a32b0d4b935ee10f41935d4d96995 [INFO] running `Command { std: "docker" "start" "-a" "655e0ab28dc03dae919dcdc677d26655962a32b0d4b935ee10f41935d4d96995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "655e0ab28dc03dae919dcdc677d26655962a32b0d4b935ee10f41935d4d96995", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "655e0ab28dc03dae919dcdc677d26655962a32b0d4b935ee10f41935d4d96995", kill_on_drop: false }` [INFO] [stdout] 655e0ab28dc03dae919dcdc677d26655962a32b0d4b935ee10f41935d4d96995 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 7563fc5bb9a11dfe3b882a0048d0549453743fea05d30ef431ea4263b8294828 [INFO] running `Command { std: "docker" "start" "-a" "7563fc5bb9a11dfe3b882a0048d0549453743fea05d30ef431ea4263b8294828", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rppal v0.14.1 [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::EFD_NONBLOCK`, `libc::EFD_SEMAPHORE`, `libc::EPOLL_CTL_ADD`, `libc::EPOLL_CTL_DEL`, `libc::EPOLL_CTL_MOD` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/epoll.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | self, c_int, c_void, EFD_NONBLOCK, EFD_SEMAPHORE, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `EPOLL_CTL_MOD` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `EPOLL_CTL_DEL` in the root [INFO] [stdout] | | | no `EPOLL_CTL_ADD` in the root [INFO] [stdout] | | no `EFD_SEMAPHORE` in the root [INFO] [stdout] | no `EFD_NONBLOCK` in the root [INFO] [stdout] | help: a similar name exists in the module: `O_NONBLOCK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/mem.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::fs::OpenOptionsExt; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/mem.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::epoll_event`, `libc::EPOLLERR`, `libc::EPOLLET`, `libc::EPOLLIN`, `libc::EPOLLONESHOT`, `libc::EPOLLOUT`, `libc::EPOLLPRI` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/epoll.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ no `EPOLLPRI` in the root [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | no `EPOLLOUT` in the root [INFO] [stdout] | | | | | no `EPOLLONESHOT` in the root [INFO] [stdout] | | | | no `EPOLLIN` in the root [INFO] [stdout] | | | no `EPOLLET` in the root [INFO] [stdout] | | no `EPOLLERR` in the root [INFO] [stdout] | no `epoll_event` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] 11 + pub use libc::{epoll_event, POLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] 11 + pub use libc::{epoll_event, EPOLLERR, EPOLLET, POLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 - pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] 11 + pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, POLLOUT, EPOLLPRI}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/pin.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::MAP_FAILED`, `libc::MAP_SHARED`, `libc::PROT_READ`, `libc::PROT_WRITE` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/mem.rs:11:41 [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] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ no `PROT_WRITE` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `PROT_READ` in the root [INFO] [stdout] | | no `MAP_SHARED` in the root [INFO] [stdout] | no `MAP_FAILED` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/pwm/sysfs.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::unix::fs::{MetadataExt, PermissionsExt}; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::sched_param`, `libc::PR_SET_TIMERSLACK`, `libc::SCHED_RR` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/soft_pwm.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{self, sched_param, timespec, CLOCK_MONOTONIC, PR_SET_TIMERSLACK, SCHED_RR}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^ no `SCHED_RR` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `PR_SET_TIMERSLACK` in the root [INFO] [stdout] | no `sched_param` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | use std::os::unix::io::AsRawFd; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | use std::os::unix::fs::OpenOptionsExt; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `unix` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | use std::os::unix::io::{AsRawFd, RawFd}; [INFO] [stdout] | ^^^^ could not find `unix` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/mod.rs:84:40 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::group`, `libc::passwd` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/pwm/sysfs.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use libc::{c_char, group, passwd}; [INFO] [stdout] | ^^^^^ ^^^^^^ no `passwd` in the root [INFO] [stdout] | | [INFO] [stdout] | no `group` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::TIOCM_CAR`, `libc::TIOCM_CTS`, `libc::TIOCM_DSR`, `libc::TIOCM_DTR`, `libc::TIOCM_RNG`, `libc::TIOCM_RTS` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | use libc::{TIOCM_CAR, TIOCM_CTS, TIOCM_DSR, TIOCM_DTR, TIOCM_RNG, TIOCM_RTS}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ no `TIOCM_RTS` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `TIOCM_RNG` in the root [INFO] [stdout] | | | | no `TIOCM_DTR` in the root [INFO] [stdout] | | | no `TIOCM_DSR` in the root [INFO] [stdout] | | no `TIOCM_CTS` in the root [INFO] [stdout] | no `TIOCM_CAR` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libc::termios` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use libc::{c_int, termios}; [INFO] [stdout] | ^^^^^^^ no `termios` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] crate::uart::termios [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::B0`, `libc::B110`, `libc::B134`, `libc::B150`, `libc::B200`, `libc::B300`, `libc::B50`, `libc::B75` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use libc::{B0, B110, B134, B150, B200, B300, B50, B75}; [INFO] [stdout] | ^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^^ ^^^ ^^^ no `B75` in the root [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | no `B50` in the root [INFO] [stdout] | | | | | | no `B300` in the root [INFO] [stdout] | | | | | no `B200` in the root [INFO] [stdout] | | | | no `B150` in the root [INFO] [stdout] | | | no `B134` in the root [INFO] [stdout] | | no `B110` in the root [INFO] [stdout] | no `B0` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::B1000000`, `libc::B1152000`, `libc::B460800`, `libc::B500000`, `libc::B576000`, `libc::B921600` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::{B1000000, B1152000, B460800, B500000, B576000, B921600}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^ no `B921600` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `B576000` in the root [INFO] [stdout] | | | | no `B500000` in the root [INFO] [stdout] | | | no `B460800` in the root [INFO] [stdout] | | no `B1152000` in the root [INFO] [stdout] | no `B1000000` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::B115200`, `libc::B19200`, `libc::B230400`, `libc::B38400`, `libc::B57600` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use libc::{B115200, B19200, B230400, B38400, B57600}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^ no `B57600` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `B38400` in the root [INFO] [stdout] | | | no `B230400` in the root [INFO] [stdout] | | no `B19200` in the root [INFO] [stdout] | no `B115200` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::B1200`, `libc::B1800`, `libc::B2400`, `libc::B4800`, `libc::B600`, `libc::B9600` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use libc::{B1200, B1800, B2400, B4800, B600, B9600}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^^ no `B9600` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `B600` in the root [INFO] [stdout] | | | | no `B4800` in the root [INFO] [stdout] | | | no `B2400` in the root [INFO] [stdout] | | no `B1800` in the root [INFO] [stdout] | no `B1200` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::B1500000`, `libc::B2000000`, `libc::B2500000`, `libc::B3000000`, `libc::B3500000`, `libc::B4000000` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | use libc::{B1500000, B2000000, B2500000, B3000000, B3500000, B4000000}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ no `B4000000` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `B3500000` in the root [INFO] [stdout] | | | | no `B3000000` in the root [INFO] [stdout] | | | no `B2500000` in the root [INFO] [stdout] | | no `B2000000` in the root [INFO] [stdout] | no `B1500000` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::CLOCAL`, `libc::CMSPAR`, `libc::CREAD`, `libc::CRTSCTS`, `libc::TCSANOW` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | use libc::{CLOCAL, CMSPAR, CREAD, CRTSCTS, TCSANOW}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^ ^^^^^^^ ^^^^^^^ no `TCSANOW` in the root [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `CRTSCTS` in the root [INFO] [stdout] | | | no `CREAD` in the root [INFO] [stdout] | | no `CMSPAR` in the root [INFO] [stdout] | no `CLOCAL` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::CS5`, `libc::CS6`, `libc::CS7`, `libc::CS8`, `libc::CSIZE`, `libc::CSTOPB`, `libc::PARENB`, `libc::PARODD` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use libc::{CS5, CS6, CS7, CS8, CSIZE, CSTOPB, PARENB, PARODD}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ ^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ no `PARODD` in the root [INFO] [stdout] | | | | | | | | [INFO] [stdout] | | | | | | | no `PARENB` in the root [INFO] [stdout] | | | | | | no `CSTOPB` in the root [INFO] [stdout] | | | | | no `CSIZE` in the root [INFO] [stdout] | | | | no `CS8` in the root [INFO] [stdout] | | | no `CS7` in the root [INFO] [stdout] | | no `CS6` in the root [INFO] [stdout] | no `CS5` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::IGNPAR`, `libc::INPCK`, `libc::PARMRK` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use libc::{IGNPAR, INPCK, PARMRK}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^ no `PARMRK` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `INPCK` in the root [INFO] [stdout] | no `IGNPAR` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::IXANY`, `libc::IXOFF`, `libc::IXON`, `libc::TCIFLUSH`, `libc::TCIOFLUSH`, `libc::TCOFLUSH`, `libc::VMIN`, `libc::VSTART`, `libc::VSTOP`, `libc::VTIME` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use libc::{IXANY, IXOFF, IXON, TCIFLUSH, TCIOFLUSH, TCOFLUSH, VMIN, VSTART, VSTOP, VTIME}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^ ^^^^^^ ^^^^^ ^^^^^ no `VTIME` in the root [INFO] [stdout] | | | | | | | | | | [INFO] [stdout] | | | | | | | | | no `VSTOP` in the root [INFO] [stdout] | | | | | | | | no `VSTART` in the root [INFO] [stdout] | | | | | | | no `VMIN` in the root [INFO] [stdout] | | | | | | no `TCOFLUSH` in the root [INFO] [stdout] | | | | | no `TCIOFLUSH` in the root [INFO] [stdout] | | | | no `TCIFLUSH` in the root [INFO] [stdout] | | | no `IXON` in the root [INFO] [stdout] | | no `IXOFF` in the root [INFO] [stdout] | no `IXANY` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::TCIOFF`, `libc::TCION`, `libc::TIOCMGET`, `libc::TIOCM_CTS`, `libc::TIOCM_DSR`, `libc::TIOCM_DTR`, `libc::TIOCM_RTS` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use libc::{TCIOFF, TCION, TIOCMGET, TIOCM_CTS, TIOCM_DSR, TIOCM_DTR, TIOCM_RTS}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ no `TIOCM_RTS` in the root [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | no `TIOCM_DTR` in the root [INFO] [stdout] | | | | | no `TIOCM_DSR` in the root [INFO] [stdout] | | | | no `TIOCM_CTS` in the root [INFO] [stdout] | | | no `TIOCMGET` in the root [INFO] [stdout] | | no `TCION` in the root [INFO] [stdout] | no `TCIOFF` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::uart::TIOCM_CTS [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::uart::TIOCM_DSR [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::uart::TIOCM_DTR [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::uart::TIOCM_RTS [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::TIOCINQ`, `libc::TIOCMBIC`, `libc::TIOCMBIS`, `libc::TIOCM_CAR`, `libc::TIOCM_RNG`, `libc::TIOCOUTQ` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | use libc::{TIOCINQ, TIOCMBIC, TIOCMBIS, TIOCM_CAR, TIOCM_RNG, TIOCOUTQ}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ no `TIOCOUTQ` in the root [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | no `TIOCM_RNG` in the root [INFO] [stdout] | | | | no `TIOCM_CAR` in the root [INFO] [stdout] | | | no `TIOCMBIS` in the root [INFO] [stdout] | | no `TIOCMBIC` in the root [INFO] [stdout] | no `TIOCINQ` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::uart::TIOCM_CAR [INFO] [stdout] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::uart::TIOCM_RNG [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eventfd` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/epoll.rs:25:46 [INFO] [stdout] | [INFO] [stdout] 25 | fd: parse_retval!(unsafe { libc::eventfd(0, EFD_NONBLOCK | EFD_SEMAPHORE) })?, [INFO] [stdout] | ^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `epoll_create1` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/epoll.rs:58:46 [INFO] [stdout] | [INFO] [stdout] 58 | fd: parse_retval!(unsafe { libc::epoll_create1(0) })?, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `epoll_ctl` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/epoll.rs:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | parse_retval!(unsafe { libc::epoll_ctl(self.fd, EPOLL_CTL_ADD, fd, &mut event) })?; [INFO] [stdout] | ^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `epoll_ctl` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/epoll.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | parse_retval!(unsafe { libc::epoll_ctl(self.fd, EPOLL_CTL_MOD, fd, &mut event) })?; [INFO] [stdout] | ^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `epoll_ctl` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/epoll.rs:87:38 [INFO] [stdout] | [INFO] [stdout] 87 | parse_retval!(unsafe { libc::epoll_ctl(self.fd, EPOLL_CTL_DEL, fd, &mut event) })?; [INFO] [stdout] | ^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `epoll_wait` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/epoll.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | libc::epoll_wait(self.fd, events.as_mut_ptr(), events.len() as c_int, timeout) [INFO] [stdout] | ^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | const NR_GET_CHIP_INFO: IoctlLong = 0x01 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | const NR_GET_LINE_INFO: IoctlLong = 0x02 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | const NR_GET_LINE_HANDLE: IoctlLong = 0x03 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | const NR_GET_LINE_EVENT: IoctlLong = 0x04 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | const NR_GET_LINE_VALUES: IoctlLong = 0x08 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:36:27 [INFO] [stdout] | [INFO] [stdout] 36 | const NR_SET_LINE_VALUES: IoctlLong = 0x09 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | const TYPE_GPIO: IoctlLong = (0xB4 as IoctlLong) << TYPESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | const TYPE_GPIO: IoctlLong = (0xB4 as IoctlLong) << TYPESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | const SIZE_CHIP_INFO: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:39:66 [INFO] [stdout] | [INFO] [stdout] 39 | const SIZE_CHIP_INFO: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | const SIZE_LINE_INFO: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:40:66 [INFO] [stdout] | [INFO] [stdout] 40 | const SIZE_LINE_INFO: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | const SIZE_HANDLE_REQUEST: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:41:76 [INFO] [stdout] | [INFO] [stdout] 41 | const SIZE_HANDLE_REQUEST: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | const SIZE_EVENT_REQUEST: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:42:74 [INFO] [stdout] | [INFO] [stdout] 42 | const SIZE_EVENT_REQUEST: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:43:25 [INFO] [stdout] | [INFO] [stdout] 43 | const SIZE_HANDLE_DATA: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:43:70 [INFO] [stdout] | [INFO] [stdout] 43 | const SIZE_HANDLE_DATA: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | const DIR_WRITE: IoctlLong = 1 << DIRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | const DIR_READ: IoctlLong = 2 << DIRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | const DIR_READ_WRITE: IoctlLong = DIR_READ | DIR_WRITE; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | const REQ_GET_CHIP_INFO: IoctlLong = DIR_READ | TYPE_GPIO | NR_GET_CHIP_INFO | SIZE_CHIP_INFO; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | const REQ_GET_LINE_INFO: IoctlLong = DIR_READ_WRITE | TYPE_GPIO | NR_GET_LINE_INFO | SIZE_LINE_INFO; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | const REQ_GET_LINE_HANDLE: IoctlLong = [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 54 | const REQ_GET_LINE_EVENT: IoctlLong = [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | const REQ_GET_LINE_VALUES: IoctlLong = [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | const REQ_SET_LINE_VALUES: IoctlLong = [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mmap` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/mem.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | libc::mmap( [INFO] [stdout] | ^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mmap` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/mem.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | libc::mmap( [INFO] [stdout] | ^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `munmap` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/mem.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | libc::munmap(self.mem_ptr as *mut c_void, GPIO_MEM_SIZE as size_t); [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sched_setscheduler` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/soft_pwm.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | libc::sched_setscheduler(0, SCHED_RR, ¶ms); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `params` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/soft_pwm.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | libc::sched_setscheduler(0, SCHED_RR, ¶ms); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `prctl` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/soft_pwm.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | libc::prctl(PR_SET_TIMERSLACK, 1); [INFO] [stdout] | ^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c/ioctl.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | const REQ_RETRIES: IoctlLong = 0x0701; // How many retries when waiting for an ACK [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c/ioctl.rs:179:20 [INFO] [stdout] | [INFO] [stdout] 179 | const REQ_TIMEOUT: IoctlLong = 0x0702; // Timeout in 10ms units [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c/ioctl.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | const REQ_SLAVE: IoctlLong = 0x0706; // Set slave address [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c/ioctl.rs:181:24 [INFO] [stdout] | [INFO] [stdout] 181 | const REQ_SLAVE_FORCE: IoctlLong = 0x0703; // Set slave address, even if it's already in use by a driver [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c/ioctl.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | const REQ_TENBIT: IoctlLong = 0x0704; // Use 10-bit slave addresses [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c/ioctl.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | const REQ_FUNCS: IoctlLong = 0x0705; // Read I2C bus capabilities [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c/ioctl.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | const REQ_RDWR: IoctlLong = 0x0707; // Combined read/write transfer with a single STOP [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c/ioctl.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 185 | const REQ_PEC: IoctlLong = 0x0708; // SMBus: Use Packet Error Checking [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c/ioctl.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | const REQ_SMBUS: IoctlLong = 0x0720; // SMBus: Transfer data [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getpwnam_r` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/pwm/sysfs.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | if libc::getpwnam_r( [INFO] [stdout] | ^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getgrnam_r` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/pwm/sysfs.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | if libc::getgrnam_r( [INFO] [stdout] | ^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `getuid` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/pwm/sysfs.rs:110:22 [INFO] [stdout] | [INFO] [stdout] 110 | if libc::getuid() == root_uid || libc::geteuid() == root_uid { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.140/src/wasi.rs:729:5 [INFO] [stdout] | [INFO] [stdout] 729 | pub fn getcwd(buf: *mut c_char, size: ::size_t) -> *mut c_char; [INFO] [stdout] | --------------------------------------------------------------- similarly named function `getcwd` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 110 - if libc::getuid() == root_uid || libc::geteuid() == root_uid { [INFO] [stdout] 110 + if libc::getcwd() == root_uid || libc::geteuid() == root_uid { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `geteuid` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/pwm/sysfs.rs:110:52 [INFO] [stdout] | [INFO] [stdout] 110 | if libc::getuid() == root_uid || libc::geteuid() == root_uid { [INFO] [stdout] | ^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | const NR_MESSAGE: IoctlLong = 0 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | const NR_MODE: IoctlLong = 1 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | const NR_LSB_FIRST: IoctlLong = 2 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | const NR_BITS_PER_WORD: IoctlLong = 3 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | const NR_MAX_SPEED_HZ: IoctlLong = 4 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | const NR_MODE32: IoctlLong = 5 << NRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | const TYPE_SPI: IoctlLong = (b'k' as IoctlLong) << TYPESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | const TYPE_SPI: IoctlLong = (b'k' as IoctlLong) << TYPESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | const SIZE_U8: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:32:53 [INFO] [stdout] | [INFO] [stdout] 32 | const SIZE_U8: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | const SIZE_U32: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:33:55 [INFO] [stdout] | [INFO] [stdout] 33 | const SIZE_U32: IoctlLong = (mem::size_of::() as IoctlLong) << SIZESHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | const DIR_NONE: IoctlLong = 0; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | const DIR_WRITE: IoctlLong = 1 << DIRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | const DIR_READ: IoctlLong = 2 << DIRSHIFT; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | const REQ_RD_MODE: IoctlLong = DIR_READ | TYPE_SPI | NR_MODE | SIZE_U8; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | const REQ_RD_LSB_FIRST: IoctlLong = DIR_READ | TYPE_SPI | NR_LSB_FIRST | SIZE_U8; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | const REQ_RD_BITS_PER_WORD: IoctlLong = DIR_READ | TYPE_SPI | NR_BITS_PER_WORD | SIZE_U8; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | const REQ_RD_MAX_SPEED_HZ: IoctlLong = DIR_READ | TYPE_SPI | NR_MAX_SPEED_HZ | SIZE_U32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | const REQ_RD_MODE_32: IoctlLong = DIR_READ | TYPE_SPI | NR_MODE32 | SIZE_U32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | const REQ_WR_MESSAGE: IoctlLong = DIR_WRITE | TYPE_SPI | NR_MESSAGE; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | const REQ_WR_MODE: IoctlLong = DIR_WRITE | TYPE_SPI | NR_MODE | SIZE_U8; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | const REQ_WR_LSB_FIRST: IoctlLong = DIR_WRITE | TYPE_SPI | NR_LSB_FIRST | SIZE_U8; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | const REQ_WR_BITS_PER_WORD: IoctlLong = DIR_WRITE | TYPE_SPI | NR_BITS_PER_WORD | SIZE_U8; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | const REQ_WR_MAX_SPEED_HZ: IoctlLong = DIR_WRITE | TYPE_SPI | NR_MAX_SPEED_HZ | SIZE_U32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | const REQ_WR_MODE_32: IoctlLong = DIR_WRITE | TYPE_SPI | NR_MODE32 | SIZE_U32; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `IoctlLong` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi/ioctl.rs:111:77 [INFO] [stdout] | [INFO] [stdout] 111 | | (((segments.len() * mem::size_of::>()) as IoctlLong) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tcsetattr` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:61:34 [INFO] [stdout] | [INFO] [stdout] 61 | parse_retval!(unsafe { libc::tcsetattr(fd, TCSANOW, attr) }).map_err(|e| { [INFO] [stdout] | ^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cfgetospeed` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:74:29 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(match unsafe { libc::cfgetospeed(&attributes(fd)?) } { [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cfsetispeed` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | parse_retval!(unsafe { libc::cfsetispeed(&mut attr, baud) })?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cfsetospeed` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | parse_retval!(unsafe { libc::cfsetospeed(&mut attr, baud) })?; [INFO] [stdout] | ^^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cfmakeraw` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 308 | libc::cfmakeraw(&mut attr); [INFO] [stdout] | ^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tcflow` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:487:34 [INFO] [stdout] | [INFO] [stdout] 487 | parse_retval!(unsafe { libc::tcflow(fd, TCIOFF) })?; [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tcflow` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:494:34 [INFO] [stdout] | [INFO] [stdout] 494 | parse_retval!(unsafe { libc::tcflow(fd, TCION) })?; [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tcflush` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:502:15 [INFO] [stdout] | [INFO] [stdout] 502 | libc::tcflush( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.140/src/wasi.rs:480:5 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn fflush(f: *mut FILE) -> c_int; [INFO] [stdout] | ------------------------------------- similarly named function `fflush` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 502 - libc::tcflush( [INFO] [stdout] 502 + libc::fflush( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `tcdrain` in crate `libc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:517:34 [INFO] [stdout] | [INFO] [stdout] 517 | parse_retval!(unsafe { libc::tcdrain(fd) })?; [INFO] [stdout] | ^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/interrupt.rs:156:44 [INFO] [stdout] | [INFO] [stdout] 156 | trigger_status.level = interrupt.event()?.level(); [INFO] [stdout] | ^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/ioctl.rs:428:48 [INFO] [stdout] | [INFO] [stdout] 428 | let chip_info = ChipInfo::new(gpiochip.as_raw_fd())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 4 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 428 - let chip_info = ChipInfo::new(gpiochip.as_raw_fd())?; [INFO] [stdout] 428 + let chip_info = ChipInfo::new(gpiochip.as_fd())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `custom_flags` found for mutable reference `&mut OpenOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/mem.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 88 | let gpiomem_file = OpenOptions::new() [INFO] [stdout] | ____________________________- [INFO] [stdout] 89 | | .read(true) [INFO] [stdout] 90 | | .write(true) [INFO] [stdout] 91 | | .custom_flags(O_SYNC) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `&mut OpenOptions` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OpenOptionsExt` which provides `custom_flags` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::wasi::fs::OpenOptionsExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `custom_flags` found for mutable reference `&mut OpenOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/mem.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 117 | let mem_file = OpenOptions::new() [INFO] [stdout] | ________________________- [INFO] [stdout] 118 | | .read(true) [INFO] [stdout] 119 | | .write(true) [INFO] [stdout] 120 | | .custom_flags(O_SYNC) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `&mut OpenOptions` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OpenOptionsExt` which provides `custom_flags` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::wasi::fs::OpenOptionsExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio/pin.rs:529:38 [INFO] [stdout] | [INFO] [stdout] 529 | self.pin.gpio_state.cdev.as_raw_fd(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 529 - self.pin.gpio_state.cdev.as_raw_fd(), [INFO] [stdout] 529 + self.pin.gpio_state.cdev.as_fd(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/gpio.rs:391:22 [INFO] [stdout] | [INFO] [stdout] 391 | cdev.as_raw_fd(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 391 - cdev.as_raw_fd(), [INFO] [stdout] 391 + cdev.as_fd(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:265:48 [INFO] [stdout] | [INFO] [stdout] 265 | let capabilities = ioctl::funcs(i2cdev.as_raw_fd())?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 265 - let capabilities = ioctl::funcs(i2cdev.as_raw_fd())?; [INFO] [stdout] 265 + let capabilities = ioctl::funcs(i2cdev.as_fd())?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:269:42 [INFO] [stdout] | [INFO] [stdout] 269 | ioctl::set_addr_10bit(i2cdev.as_raw_fd(), 0)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 269 - ioctl::set_addr_10bit(i2cdev.as_raw_fd(), 0)?; [INFO] [stdout] 269 + ioctl::set_addr_10bit(i2cdev.as_fd(), 0)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:274:35 [INFO] [stdout] | [INFO] [stdout] 274 | ioctl::set_pec(i2cdev.as_raw_fd(), 0)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 274 - ioctl::set_pec(i2cdev.as_raw_fd(), 0)?; [INFO] [stdout] 274 + ioctl::set_pec(i2cdev.as_fd(), 0)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:338:46 [INFO] [stdout] | [INFO] [stdout] 338 | ioctl::set_slave_address(self.i2cdev.as_raw_fd(), c_ulong::from(slave_address))?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 338 - ioctl::set_slave_address(self.i2cdev.as_raw_fd(), c_ulong::from(slave_address))?; [INFO] [stdout] 338 + ioctl::set_slave_address(self.i2cdev.as_fd(), c_ulong::from(slave_address))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:354:40 [INFO] [stdout] | [INFO] [stdout] 354 | ioctl::set_timeout(self.i2cdev.as_raw_fd(), timeout as c_ulong)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 354 - ioctl::set_timeout(self.i2cdev.as_raw_fd(), timeout as c_ulong)?; [INFO] [stdout] 354 + ioctl::set_timeout(self.i2cdev.as_fd(), timeout as c_ulong)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:361:40 [INFO] [stdout] | [INFO] [stdout] 361 | ioctl::set_retries(self.i2cdev.as_raw_fd(), retries as c_ulong)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 361 - ioctl::set_retries(self.i2cdev.as_raw_fd(), retries as c_ulong)?; [INFO] [stdout] 361 + ioctl::set_retries(self.i2cdev.as_fd(), retries as c_ulong)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:379:43 [INFO] [stdout] | [INFO] [stdout] 379 | ioctl::set_addr_10bit(self.i2cdev.as_raw_fd(), addr_10bit as c_ulong)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 379 - ioctl::set_addr_10bit(self.i2cdev.as_raw_fd(), addr_10bit as c_ulong)?; [INFO] [stdout] 379 + ioctl::set_addr_10bit(self.i2cdev.as_fd(), addr_10bit as c_ulong)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:423:25 [INFO] [stdout] | [INFO] [stdout] 423 | self.i2cdev.as_raw_fd(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 423 - self.i2cdev.as_raw_fd(), [INFO] [stdout] 423 + self.i2cdev.as_fd(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:448:43 [INFO] [stdout] | [INFO] [stdout] 448 | ioctl::i2c_block_read(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 448 - ioctl::i2c_block_read(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] 448 + ioctl::i2c_block_read(self.i2cdev.as_fd(), command, buffer)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:467:44 [INFO] [stdout] | [INFO] [stdout] 467 | ioctl::i2c_block_write(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 467 - ioctl::i2c_block_write(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] 467 + ioctl::i2c_block_write(self.i2cdev.as_fd(), command, buffer)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:479:48 [INFO] [stdout] | [INFO] [stdout] 479 | ioctl::smbus_quick_command(self.i2cdev.as_raw_fd(), command)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 479 - ioctl::smbus_quick_command(self.i2cdev.as_raw_fd(), command)?; [INFO] [stdout] 479 + ioctl::smbus_quick_command(self.i2cdev.as_fd(), command)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:488:50 [INFO] [stdout] | [INFO] [stdout] 488 | Ok(ioctl::smbus_receive_byte(self.i2cdev.as_raw_fd())?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 488 - Ok(ioctl::smbus_receive_byte(self.i2cdev.as_raw_fd())?) [INFO] [stdout] 488 + Ok(ioctl::smbus_receive_byte(self.i2cdev.as_fd())?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:495:44 [INFO] [stdout] | [INFO] [stdout] 495 | ioctl::smbus_send_byte(self.i2cdev.as_raw_fd(), value)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 495 - ioctl::smbus_send_byte(self.i2cdev.as_raw_fd(), value)?; [INFO] [stdout] 495 + ioctl::smbus_send_byte(self.i2cdev.as_fd(), value)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:505:47 [INFO] [stdout] | [INFO] [stdout] 505 | Ok(ioctl::smbus_read_byte(self.i2cdev.as_raw_fd(), command)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 505 - Ok(ioctl::smbus_read_byte(self.i2cdev.as_raw_fd(), command)?) [INFO] [stdout] 505 + Ok(ioctl::smbus_read_byte(self.i2cdev.as_fd(), command)?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:512:45 [INFO] [stdout] | [INFO] [stdout] 512 | ioctl::smbus_write_byte(self.i2cdev.as_raw_fd(), command, value)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 512 - ioctl::smbus_write_byte(self.i2cdev.as_raw_fd(), command, value)?; [INFO] [stdout] 512 + ioctl::smbus_write_byte(self.i2cdev.as_fd(), command, value)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:529:47 [INFO] [stdout] | [INFO] [stdout] 529 | Ok(ioctl::smbus_read_word(self.i2cdev.as_raw_fd(), command)?) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 529 - Ok(ioctl::smbus_read_word(self.i2cdev.as_raw_fd(), command)?) [INFO] [stdout] 529 + Ok(ioctl::smbus_read_word(self.i2cdev.as_fd(), command)?) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:543:56 [INFO] [stdout] | [INFO] [stdout] 543 | let value = ioctl::smbus_read_word(self.i2cdev.as_raw_fd(), command)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 543 - let value = ioctl::smbus_read_word(self.i2cdev.as_raw_fd(), command)?; [INFO] [stdout] 543 + let value = ioctl::smbus_read_word(self.i2cdev.as_fd(), command)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:559:45 [INFO] [stdout] | [INFO] [stdout] 559 | ioctl::smbus_write_word(self.i2cdev.as_raw_fd(), command, value)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 559 - ioctl::smbus_write_word(self.i2cdev.as_raw_fd(), command, value)?; [INFO] [stdout] 559 + ioctl::smbus_write_word(self.i2cdev.as_fd(), command, value)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:574:25 [INFO] [stdout] | [INFO] [stdout] 574 | self.i2cdev.as_raw_fd(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 574 - self.i2cdev.as_raw_fd(), [INFO] [stdout] 574 + self.i2cdev.as_fd(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:596:25 [INFO] [stdout] | [INFO] [stdout] 596 | self.i2cdev.as_raw_fd(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 596 - self.i2cdev.as_raw_fd(), [INFO] [stdout] 596 + self.i2cdev.as_fd(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:616:25 [INFO] [stdout] | [INFO] [stdout] 616 | self.i2cdev.as_raw_fd(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 616 - self.i2cdev.as_raw_fd(), [INFO] [stdout] 616 + self.i2cdev.as_fd(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:651:25 [INFO] [stdout] | [INFO] [stdout] 651 | self.i2cdev.as_raw_fd(), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 651 - self.i2cdev.as_raw_fd(), [INFO] [stdout] 651 + self.i2cdev.as_fd(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:665:46 [INFO] [stdout] | [INFO] [stdout] 665 | ioctl::smbus_block_write(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 665 - ioctl::smbus_block_write(self.i2cdev.as_raw_fd(), command, buffer)?; [INFO] [stdout] 665 + ioctl::smbus_block_write(self.i2cdev.as_fd(), command, buffer)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/i2c.rs:679:36 [INFO] [stdout] | [INFO] [stdout] 679 | ioctl::set_pec(self.i2cdev.as_raw_fd(), pec as c_ulong)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 115 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 679 - ioctl::set_pec(self.i2cdev.as_raw_fd(), pec as c_ulong)?; [INFO] [stdout] 679 + ioctl::set_pec(self.i2cdev.as_fd(), pec as c_ulong)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mode` found for struct `Permissions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/pwm/sysfs.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | if metadata.permissions().mode() != 0o040_770 && metadata.permissions().mode() != 0o100_770 [INFO] [stdout] | ^^^^ method not found in `Permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mode` found for struct `Permissions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/pwm/sysfs.rs:88:81 [INFO] [stdout] | [INFO] [stdout] 88 | if metadata.permissions().mode() != 0o040_770 && metadata.permissions().mode() != 0o100_770 [INFO] [stdout] | ^^^^ method not found in `Permissions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gid` found for struct `Metadata` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/pwm/sysfs.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | if metadata.gid() == gid { [INFO] [stdout] | ^^^ method not found in `Metadata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:452:50 [INFO] [stdout] | [INFO] [stdout] 452 | if let Err(e) = ioctl::set_mode32(spidev.as_raw_fd(), mode as u32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 452 - if let Err(e) = ioctl::set_mode32(spidev.as_raw_fd(), mode as u32) { [INFO] [stdout] 452 + if let Err(e) = ioctl::set_mode32(spidev.as_fd(), mode as u32) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:477:38 [INFO] [stdout] | [INFO] [stdout] 477 | ioctl::lsb_first(self.spidev.as_raw_fd(), &mut bit_order)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 477 - ioctl::lsb_first(self.spidev.as_raw_fd(), &mut bit_order)?; [INFO] [stdout] 477 + ioctl::lsb_first(self.spidev.as_fd(), &mut bit_order)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:499:48 [INFO] [stdout] | [INFO] [stdout] 499 | match ioctl::set_lsb_first(self.spidev.as_raw_fd(), bit_order as u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 499 - match ioctl::set_lsb_first(self.spidev.as_raw_fd(), bit_order as u8) { [INFO] [stdout] 499 + match ioctl::set_lsb_first(self.spidev.as_fd(), bit_order as u8) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:511:42 [INFO] [stdout] | [INFO] [stdout] 511 | ioctl::bits_per_word(self.spidev.as_raw_fd(), &mut bits_per_word)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 511 - ioctl::bits_per_word(self.spidev.as_raw_fd(), &mut bits_per_word)?; [INFO] [stdout] 511 + ioctl::bits_per_word(self.spidev.as_fd(), &mut bits_per_word)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:522:52 [INFO] [stdout] | [INFO] [stdout] 522 | match ioctl::set_bits_per_word(self.spidev.as_raw_fd(), bits_per_word) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 522 - match ioctl::set_bits_per_word(self.spidev.as_raw_fd(), bits_per_word) { [INFO] [stdout] 522 + match ioctl::set_bits_per_word(self.spidev.as_fd(), bits_per_word) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:534:40 [INFO] [stdout] | [INFO] [stdout] 534 | ioctl::clock_speed(self.spidev.as_raw_fd(), &mut clock_speed)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 534 - ioctl::clock_speed(self.spidev.as_raw_fd(), &mut clock_speed)?; [INFO] [stdout] 534 + ioctl::clock_speed(self.spidev.as_fd(), &mut clock_speed)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:543:50 [INFO] [stdout] | [INFO] [stdout] 543 | match ioctl::set_clock_speed(self.spidev.as_raw_fd(), clock_speed) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 543 - match ioctl::set_clock_speed(self.spidev.as_raw_fd(), clock_speed) { [INFO] [stdout] 543 + match ioctl::set_clock_speed(self.spidev.as_fd(), clock_speed) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:555:33 [INFO] [stdout] | [INFO] [stdout] 555 | ioctl::mode(self.spidev.as_raw_fd(), &mut mode)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 555 - ioctl::mode(self.spidev.as_raw_fd(), &mut mode)?; [INFO] [stdout] 555 + ioctl::mode(self.spidev.as_fd(), &mut mode)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:571:33 [INFO] [stdout] | [INFO] [stdout] 571 | ioctl::mode(self.spidev.as_raw_fd(), &mut new_mode)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 571 - ioctl::mode(self.spidev.as_raw_fd(), &mut new_mode)?; [INFO] [stdout] 571 + ioctl::mode(self.spidev.as_fd(), &mut new_mode)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:576:43 [INFO] [stdout] | [INFO] [stdout] 576 | match ioctl::set_mode(self.spidev.as_raw_fd(), new_mode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 576 - match ioctl::set_mode(self.spidev.as_raw_fd(), new_mode) { [INFO] [stdout] 576 + match ioctl::set_mode(self.spidev.as_fd(), new_mode) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:588:33 [INFO] [stdout] | [INFO] [stdout] 588 | ioctl::mode(self.spidev.as_raw_fd(), &mut mode)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 588 - ioctl::mode(self.spidev.as_raw_fd(), &mut mode)?; [INFO] [stdout] 588 + ioctl::mode(self.spidev.as_fd(), &mut mode)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:602:33 [INFO] [stdout] | [INFO] [stdout] 602 | ioctl::mode(self.spidev.as_raw_fd(), &mut new_mode)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 602 - ioctl::mode(self.spidev.as_raw_fd(), &mut new_mode)?; [INFO] [stdout] 602 + ioctl::mode(self.spidev.as_fd(), &mut new_mode)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:610:43 [INFO] [stdout] | [INFO] [stdout] 610 | match ioctl::set_mode(self.spidev.as_raw_fd(), new_mode) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 610 - match ioctl::set_mode(self.spidev.as_raw_fd(), new_mode) { [INFO] [stdout] 610 + match ioctl::set_mode(self.spidev.as_fd(), new_mode) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:665:37 [INFO] [stdout] | [INFO] [stdout] 665 | ioctl::transfer(self.spidev.as_raw_fd(), &[segment])?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 665 - ioctl::transfer(self.spidev.as_raw_fd(), &[segment])?; [INFO] [stdout] 665 + ioctl::transfer(self.spidev.as_fd(), &[segment])?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_fd` found for struct `File` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/spi.rs:683:37 [INFO] [stdout] | [INFO] [stdout] 683 | ioctl::transfer(self.spidev.as_raw_fd(), segments)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/23647e694de8d0904848ad068b2e0ec2dd098c37/library/std/src/os/fd/raw.rs:69:7 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `AsRawFd` which provides `as_raw_fd` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 136 + use std::os::fd::AsRawFd; [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 683 - ioctl::transfer(self.spidev.as_raw_fd(), segments)?; [INFO] [stdout] 683 + ioctl::transfer(self.spidev.as_fd(), segments)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:61:75 [INFO] [stdout] | [INFO] [stdout] 61 | parse_retval!(unsafe { libc::tcsetattr(fd, TCSANOW, attr) }).map_err(|e| { [INFO] [stdout] | ^ [INFO] [stdout] 62 | if e.kind() == io::ErrorKind::InvalidInput { [INFO] [stdout] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 61 | parse_retval!(unsafe { libc::tcsetattr(fd, TCSANOW, attr) }).map_err(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(match unsafe { libc::cfgetospeed(&attributes(fd)?) } { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | let mut attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 156 | let attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | let mut attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:207:16 [INFO] [stdout] | [INFO] [stdout] 207 | let attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:232:20 [INFO] [stdout] | [INFO] [stdout] 232 | let mut attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:254:16 [INFO] [stdout] | [INFO] [stdout] 254 | let attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:266:20 [INFO] [stdout] | [INFO] [stdout] 266 | let mut attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:281:16 [INFO] [stdout] | [INFO] [stdout] 281 | let attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:291:20 [INFO] [stdout] | [INFO] [stdout] 291 | let mut attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:304:20 [INFO] [stdout] | [INFO] [stdout] 304 | let mut attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:316:16 [INFO] [stdout] | [INFO] [stdout] 316 | let attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:327:20 [INFO] [stdout] | [INFO] [stdout] 327 | let mut attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:340:20 [INFO] [stdout] | [INFO] [stdout] 340 | let mut attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:348:20 [INFO] [stdout] | [INFO] [stdout] 348 | let mut attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:356:16 [INFO] [stdout] | [INFO] [stdout] 356 | let attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:363:20 [INFO] [stdout] | [INFO] [stdout] 363 | let mut attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:457:16 [INFO] [stdout] | [INFO] [stdout] 457 | let attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `attributes` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart/termios.rs:468:20 [INFO] [stdout] | [INFO] [stdout] 468 | let mut attr = attributes(fd)?; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `custom_flags` found for mutable reference `&mut OpenOptions` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rppal-0.14.1/src/uart.rs:462:14 [INFO] [stdout] | [INFO] [stdout] 459 | let device = OpenOptions::new() [INFO] [stdout] | ______________________- [INFO] [stdout] 460 | | .read(true) [INFO] [stdout] 461 | | .write(true) [INFO] [stdout] 462 | | .custom_flags(O_NOCTTY | O_NONBLOCK) [INFO] [stdout] | | -^^^^^^^^^^^^ method not found in `&mut OpenOptions` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OpenOptionsExt` which provides `custom_flags` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 133 + use std::os::wasi::fs::OpenOptionsExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rppal` (lib) due to 185 previous errors [INFO] running `Command { std: "docker" "inspect" "7563fc5bb9a11dfe3b882a0048d0549453743fea05d30ef431ea4263b8294828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7563fc5bb9a11dfe3b882a0048d0549453743fea05d30ef431ea4263b8294828", kill_on_drop: false }` [INFO] [stdout] 7563fc5bb9a11dfe3b882a0048d0549453743fea05d30ef431ea4263b8294828