[INFO] fetching crate rpi_embedded 0.1.0... [INFO] checking rpi_embedded-0.1.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate rpi_embedded 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rpi_embedded 0.1.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rpi_embedded 0.1.0 [INFO] finished tweaking crates.io crate rpi_embedded 0.1.0 [INFO] tweaked toml for crates.io crate rpi_embedded 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate rpi_embedded 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nb v1.0.0 [INFO] [stderr] Downloaded simple-signal v1.1.1 [INFO] [stderr] Downloaded embedded-hal v0.2.4 [INFO] [stderr] Downloaded libc v0.2.73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 845efd0afab647c6d85f786890b01220e052687427e2621f219b4d25d705730a [INFO] running `Command { std: "docker" "start" "-a" "845efd0afab647c6d85f786890b01220e052687427e2621f219b4d25d705730a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "845efd0afab647c6d85f786890b01220e052687427e2621f219b4d25d705730a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "845efd0afab647c6d85f786890b01220e052687427e2621f219b4d25d705730a", kill_on_drop: false }` [INFO] [stdout] 845efd0afab647c6d85f786890b01220e052687427e2621f219b4d25d705730a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e4c61fbbab0fef50f3edd419014e98c752596cd019feddfefb0a1d993b2bf7a [INFO] running `Command { std: "docker" "start" "-a" "8e4c61fbbab0fef50f3edd419014e98c752596cd019feddfefb0a1d993b2bf7a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Checking simple-signal v1.1.1 [INFO] [stderr] Checking rpi_embedded v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/epoll.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | self, c_int, c_void, EFD_NONBLOCK, EFD_SEMAPHORE, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLONESHOT`, `EPOLLOUT` [INFO] [stdout] --> src/gpio/epoll.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::{self, c_int, c_ulong, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/mem.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | use libc::{self, c_void, off_t, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/soft_pwm.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | self, c_long, sched_param, time_t, timespec, CLOCK_MONOTONIC, PR_SET_TIMERSLACK, SCHED_RR, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/i2c/ioctl.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | use libc::{self, c_int, c_ulong, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/spi/ioctl.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::{self, c_int, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/epoll.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | self, c_int, c_void, EFD_NONBLOCK, EFD_SEMAPHORE, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLONESHOT`, `EPOLLOUT` [INFO] [stdout] --> src/gpio/epoll.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::{self, c_int, c_ulong, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/mem.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | use libc::{self, c_void, off_t, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/soft_pwm.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | self, c_long, sched_param, time_t, timespec, CLOCK_MONOTONIC, PR_SET_TIMERSLACK, SCHED_RR, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/i2c/ioctl.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | use libc::{self, c_int, c_ulong, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/spi/ioctl.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::{self, c_int, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | if !self.locks[GPPUD].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio.rs:431:48 [INFO] [stdout] | [INFO] [stdout] 431 | if self.inner.pins_taken[pin as usize].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | if !self.locks[GPPUD].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio.rs:431:48 [INFO] [stdout] | [INFO] [stdout] 431 | if self.inner.pins_taken[pin as usize].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gpio/interrupt.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | format!("No interrupt set for pin {}", pin) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 177 - format!("No interrupt set for pin {}", pin) [INFO] [stdout] 177 + "No interrupt set for pin {}", pin [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gpio/interrupt.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | format!("No interrupt set for pin {}", pin) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 177 - format!("No interrupt set for pin {}", pin) [INFO] [stdout] 177 + "No interrupt set for pin {}", pin [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "8e4c61fbbab0fef50f3edd419014e98c752596cd019feddfefb0a1d993b2bf7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e4c61fbbab0fef50f3edd419014e98c752596cd019feddfefb0a1d993b2bf7a", kill_on_drop: false }` [INFO] [stdout] 8e4c61fbbab0fef50f3edd419014e98c752596cd019feddfefb0a1d993b2bf7a [INFO] checking rpi_embedded-0.1.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate rpi_embedded 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rpi_embedded 0.1.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rpi_embedded 0.1.0 [INFO] finished tweaking crates.io crate rpi_embedded 0.1.0 [INFO] tweaked toml for crates.io crate rpi_embedded 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate rpi_embedded 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3277e391c9c86a3aa900d767e7826108e40ee9b33ab2bb20c0148e614c61a59 [INFO] running `Command { std: "docker" "start" "-a" "d3277e391c9c86a3aa900d767e7826108e40ee9b33ab2bb20c0148e614c61a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3277e391c9c86a3aa900d767e7826108e40ee9b33ab2bb20c0148e614c61a59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3277e391c9c86a3aa900d767e7826108e40ee9b33ab2bb20c0148e614c61a59", kill_on_drop: false }` [INFO] [stdout] d3277e391c9c86a3aa900d767e7826108e40ee9b33ab2bb20c0148e614c61a59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 447f28957294396070303490e046ee30fd3a547c31f682b8bc7bd28610f0fe61 [INFO] running `Command { std: "docker" "start" "-a" "447f28957294396070303490e046ee30fd3a547c31f682b8bc7bd28610f0fe61", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Checking simple-signal v1.1.1 [INFO] [stderr] Checking rpi_embedded v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/epoll.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | self, c_int, c_void, EFD_NONBLOCK, EFD_SEMAPHORE, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLONESHOT`, `EPOLLOUT` [INFO] [stdout] --> src/gpio/epoll.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::{self, c_int, c_ulong, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/mem.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | use libc::{self, c_void, off_t, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/soft_pwm.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | self, c_long, sched_param, time_t, timespec, CLOCK_MONOTONIC, PR_SET_TIMERSLACK, SCHED_RR, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/i2c/ioctl.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | use libc::{self, c_int, c_ulong, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/spi/ioctl.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::{self, c_int, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/epoll.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | self, c_int, c_void, EFD_NONBLOCK, EFD_SEMAPHORE, EPOLL_CTL_ADD, EPOLL_CTL_DEL, EPOLL_CTL_MOD, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLONESHOT`, `EPOLLOUT` [INFO] [stdout] --> src/gpio/epoll.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | pub use libc::{epoll_event, EPOLLERR, EPOLLET, EPOLLIN, EPOLLONESHOT, EPOLLOUT, EPOLLPRI}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/ioctl.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::{self, c_int, c_ulong, c_void, ENOENT}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/mem.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | use libc::{self, c_void, off_t, size_t, MAP_FAILED, MAP_SHARED, O_SYNC, PROT_READ, PROT_WRITE}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/gpio/soft_pwm.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | self, c_long, sched_param, time_t, timespec, CLOCK_MONOTONIC, PR_SET_TIMERSLACK, SCHED_RR, [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/i2c/ioctl.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | use libc::{self, c_int, c_ulong, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/spi/ioctl.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | use libc::{self, c_int, ioctl}; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | if !self.locks[GPPUD].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio.rs:431:48 [INFO] [stdout] | [INFO] [stdout] 431 | if self.inner.pins_taken[pin as usize].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | if !self.locks[GPPUD].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio/mem.rs:222:40 [INFO] [stdout] | [INFO] [stdout] 222 | if !self.locks[offset].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/gpio.rs:431:48 [INFO] [stdout] | [INFO] [stdout] 431 | if self.inner.pins_taken[pin as usize].compare_and_swap(false, true, Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gpio/interrupt.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | format!("No interrupt set for pin {}", pin) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 177 - format!("No interrupt set for pin {}", pin) [INFO] [stdout] 177 + "No interrupt set for pin {}", pin [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/gpio/interrupt.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | format!("No interrupt set for pin {}", pin) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 177 - format!("No interrupt set for pin {}", pin) [INFO] [stdout] 177 + "No interrupt set for pin {}", pin [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.72s [INFO] running `Command { std: "docker" "inspect" "447f28957294396070303490e046ee30fd3a547c31f682b8bc7bd28610f0fe61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "447f28957294396070303490e046ee30fd3a547c31f682b8bc7bd28610f0fe61", kill_on_drop: false }` [INFO] [stdout] 447f28957294396070303490e046ee30fd3a547c31f682b8bc7bd28610f0fe61