[INFO] fetching crate bcm2709-spi 0.1.1...
[INFO] checking bcm2709-spi-0.1.1 against master#30f74ff0dc4d66debc8b50724c446f817e5f75f4 for pr-121848-1
[INFO] extracting crate bcm2709-spi 0.1.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate bcm2709-spi 0.1.1 on toolchain 30f74ff0dc4d66debc8b50724c446f817e5f75f4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bcm2709-spi 0.1.1
[INFO] finished tweaking crates.io crate bcm2709-spi 0.1.1
[INFO] tweaked toml for crates.io crate bcm2709-spi 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c885b3db0aafff6f994557d160503249701a50a7bc51a0b95fe02fa02e7adfe4
[INFO] running `Command { std: "docker" "start" "-a" "c885b3db0aafff6f994557d160503249701a50a7bc51a0b95fe02fa02e7adfe4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c885b3db0aafff6f994557d160503249701a50a7bc51a0b95fe02fa02e7adfe4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c885b3db0aafff6f994557d160503249701a50a7bc51a0b95fe02fa02e7adfe4", kill_on_drop: false }`
[INFO] [stdout] c885b3db0aafff6f994557d160503249701a50a7bc51a0b95fe02fa02e7adfe4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+30f74ff0dc4d66debc8b50724c446f817e5f75f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 313b53f39ca5f87293d153f8dffce26063ce3bb94b32884e3c7775ce246b5586
[INFO] running `Command { std: "docker" "start" "-a" "313b53f39ca5f87293d153f8dffce26063ce3bb94b32884e3c7775ce246b5586", kill_on_drop: false }`
[INFO] [stderr]     Checking bcm2709-spi v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 33 | extern crate libc;
[INFO] [stdout]    | ------------------ the item `libc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 51 |     use super::{ libc, SPI_BASE_OFFSET, MAP_BLOCK_SIZE };
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/lib.rs:136:59
[INFO] [stdout]     |
[INFO] [stdout] 136 |             return (spi.fifo.register.get() & 0xFF) as u8;;
[INFO] [stdout]     |                                                           ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:154:30
[INFO] [stdout]     |
[INFO] [stdout] 154 |         pub const RXF: u32 = (1 << 20);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 -         pub const RXF: u32 = (1 << 20);
[INFO] [stdout] 154 +         pub const RXF: u32 = 1 << 20;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:155:30
[INFO] [stdout]     |
[INFO] [stdout] 155 |         pub const RXR: u32 = (1 << 19);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 155 -         pub const RXR: u32 = (1 << 19);
[INFO] [stdout] 155 +         pub const RXR: u32 = 1 << 19;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:156:30
[INFO] [stdout]     |
[INFO] [stdout] 156 |         pub const TXD: u32 = (1 << 18);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -         pub const TXD: u32 = (1 << 18);
[INFO] [stdout] 156 +         pub const TXD: u32 = 1 << 18;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 33 | extern crate libc;
[INFO] [stdout]    | ------------------ the item `libc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 51 |     use super::{ libc, SPI_BASE_OFFSET, MAP_BLOCK_SIZE };
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/lib.rs:136:59
[INFO] [stdout]     |
[INFO] [stdout] 136 |             return (spi.fifo.register.get() & 0xFF) as u8;;
[INFO] [stdout]     |                                                           ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:157:30
[INFO] [stdout]     |
[INFO] [stdout] 157 |         pub const RXD: u32 = (1 << 17);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 157 -         pub const RXD: u32 = (1 << 17);
[INFO] [stdout] 157 +         pub const RXD: u32 = 1 << 17;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:158:31
[INFO] [stdout]     |
[INFO] [stdout] 158 |         pub const DONE: u32 = (1 << 16);
[INFO] [stdout]     |                               ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 158 -         pub const DONE: u32 = (1 << 16);
[INFO] [stdout] 158 +         pub const DONE: u32 = 1 << 16;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:159:30
[INFO] [stdout]     |
[INFO] [stdout] 159 |         pub const TA: u32  = (1 << 7);
[INFO] [stdout]     |                              ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 -         pub const TA: u32  = (1 << 7);
[INFO] [stdout] 159 +         pub const TA: u32  = 1 << 7;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:154:30
[INFO] [stdout]     |
[INFO] [stdout] 154 |         pub const RXF: u32 = (1 << 20);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 -         pub const RXF: u32 = (1 << 20);
[INFO] [stdout] 154 +         pub const RXF: u32 = 1 << 20;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:155:30
[INFO] [stdout]     |
[INFO] [stdout] 155 |         pub const RXR: u32 = (1 << 19);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 155 -         pub const RXR: u32 = (1 << 19);
[INFO] [stdout] 155 +         pub const RXR: u32 = 1 << 19;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:160:40
[INFO] [stdout]     |
[INFO] [stdout] 160 |         pub const CLEAR_RX_FIFO: u32 = (1 << 5);
[INFO] [stdout]     |                                        ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 -         pub const CLEAR_RX_FIFO: u32 = (1 << 5);
[INFO] [stdout] 160 +         pub const CLEAR_RX_FIFO: u32 = 1 << 5;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:156:30
[INFO] [stdout]     |
[INFO] [stdout] 156 |         pub const TXD: u32 = (1 << 18);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -         pub const TXD: u32 = (1 << 18);
[INFO] [stdout] 156 +         pub const TXD: u32 = 1 << 18;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:161:40
[INFO] [stdout]     |
[INFO] [stdout] 161 |         pub const CLEAR_TX_FIFO: u32 = (1 << 4);
[INFO] [stdout]     |                                        ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         pub const CLEAR_TX_FIFO: u32 = (1 << 4);
[INFO] [stdout] 161 +         pub const CLEAR_TX_FIFO: u32 = 1 << 4;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:162:31
[INFO] [stdout]     |
[INFO] [stdout] 162 |         pub const CPOL: u32 = (1 << 3);
[INFO] [stdout]     |                               ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -         pub const CPOL: u32 = (1 << 3);
[INFO] [stdout] 162 +         pub const CPOL: u32 = 1 << 3;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:157:30
[INFO] [stdout]     |
[INFO] [stdout] 157 |         pub const RXD: u32 = (1 << 17);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 157 -         pub const RXD: u32 = (1 << 17);
[INFO] [stdout] 157 +         pub const RXD: u32 = 1 << 17;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:163:31
[INFO] [stdout]     |
[INFO] [stdout] 163 |         pub const CPHA: u32 = (1 << 2);
[INFO] [stdout]     |                               ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 163 -         pub const CPHA: u32 = (1 << 2);
[INFO] [stdout] 163 +         pub const CPHA: u32 = 1 << 2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:158:31
[INFO] [stdout]     |
[INFO] [stdout] 158 |         pub const DONE: u32 = (1 << 16);
[INFO] [stdout]     |                               ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 158 -         pub const DONE: u32 = (1 << 16);
[INFO] [stdout] 158 +         pub const DONE: u32 = 1 << 16;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:572:17
[INFO] [stdout]     |
[INFO] [stdout] 33  | extern crate libc;
[INFO] [stdout]     | ------------------ the item `libc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 572 |     use super::{libc, MAP_BLOCK_SIZE, GPIO_BASE_OFFSET};
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:159:30
[INFO] [stdout]     |
[INFO] [stdout] 159 |         pub const TA: u32  = (1 << 7);
[INFO] [stdout]     |                              ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 -         pub const TA: u32  = (1 << 7);
[INFO] [stdout] 159 +         pub const TA: u32  = 1 << 7;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:160:40
[INFO] [stdout]     |
[INFO] [stdout] 160 |         pub const CLEAR_RX_FIFO: u32 = (1 << 5);
[INFO] [stdout]     |                                        ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 -         pub const CLEAR_RX_FIFO: u32 = (1 << 5);
[INFO] [stdout] 160 +         pub const CLEAR_RX_FIFO: u32 = 1 << 5;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:161:40
[INFO] [stdout]     |
[INFO] [stdout] 161 |         pub const CLEAR_TX_FIFO: u32 = (1 << 4);
[INFO] [stdout]     |                                        ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         pub const CLEAR_TX_FIFO: u32 = (1 << 4);
[INFO] [stdout] 161 +         pub const CLEAR_TX_FIFO: u32 = 1 << 4;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:162:31
[INFO] [stdout]     |
[INFO] [stdout] 162 |         pub const CPOL: u32 = (1 << 3);
[INFO] [stdout]     |                               ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -         pub const CPOL: u32 = (1 << 3);
[INFO] [stdout] 162 +         pub const CPOL: u32 = 1 << 3;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:163:31
[INFO] [stdout]     |
[INFO] [stdout] 163 |         pub const CPHA: u32 = (1 << 2);
[INFO] [stdout]     |                               ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 163 -         pub const CPHA: u32 = (1 << 2);
[INFO] [stdout] 163 +         pub const CPHA: u32 = 1 << 2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:572:17
[INFO] [stdout]     |
[INFO] [stdout] 33  | extern crate libc;
[INFO] [stdout]     | ------------------ the item `libc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 572 |     use super::{libc, MAP_BLOCK_SIZE, GPIO_BASE_OFFSET};
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:526:30
[INFO] [stdout]     |
[INFO] [stdout] 526 |             fd = libc::open( "/dev/mem".as_ptr() as *const u8, libc::O_RDWR | libc::O_SYNC | libc::O_CLOEXEC );
[INFO] [stdout]     |                  ----------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*const u8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:747:12
[INFO] [stdout]     |
[INFO] [stdout] 747 |     pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int;
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:526:30
[INFO] [stdout]     |
[INFO] [stdout] 526 |             fd = libc::open( "/dev/mem".as_ptr() as *const u8, libc::O_RDWR | libc::O_SYNC | libc::O_CLOEXEC );
[INFO] [stdout]     |                  ----------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*const u8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:747:12
[INFO] [stdout]     |
[INFO] [stdout] 747 |     pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int;
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bcm2709-spi` (lib) due to 2 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bcm2709-spi` (lib test) due to 2 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "313b53f39ca5f87293d153f8dffce26063ce3bb94b32884e3c7775ce246b5586", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "313b53f39ca5f87293d153f8dffce26063ce3bb94b32884e3c7775ce246b5586", kill_on_drop: false }`
[INFO] [stdout] 313b53f39ca5f87293d153f8dffce26063ce3bb94b32884e3c7775ce246b5586
[INFO] checking bcm2709-spi-0.1.1 against try#72eda894eb3548c7ba774079ce0afab42958d4ee for pr-121848-1
[INFO] extracting crate bcm2709-spi 0.1.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate bcm2709-spi 0.1.1 on toolchain 72eda894eb3548c7ba774079ce0afab42958d4ee
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate bcm2709-spi 0.1.1
[INFO] finished tweaking crates.io crate bcm2709-spi 0.1.1
[INFO] tweaked toml for crates.io crate bcm2709-spi 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 721c590f1199aef410b8a5cc1929bfb9e5b7887dab72f5459134da686ef2e772
[INFO] running `Command { std: "docker" "start" "-a" "721c590f1199aef410b8a5cc1929bfb9e5b7887dab72f5459134da686ef2e772", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "721c590f1199aef410b8a5cc1929bfb9e5b7887dab72f5459134da686ef2e772", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "721c590f1199aef410b8a5cc1929bfb9e5b7887dab72f5459134da686ef2e772", kill_on_drop: false }`
[INFO] [stdout] 721c590f1199aef410b8a5cc1929bfb9e5b7887dab72f5459134da686ef2e772
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+72eda894eb3548c7ba774079ce0afab42958d4ee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7ce234ef9bf56cfec41344c39b5dd743c4f255ae454c2258e29aca3116079c06
[INFO] running `Command { std: "docker" "start" "-a" "7ce234ef9bf56cfec41344c39b5dd743c4f255ae454c2258e29aca3116079c06", kill_on_drop: false }`
[INFO] [stderr]     Checking bcm2709-spi v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 33 | extern crate libc;
[INFO] [stdout]    | ------------------ the item `libc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 51 |     use super::{ libc, SPI_BASE_OFFSET, MAP_BLOCK_SIZE };
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]   --> src/lib.rs:51:18
[INFO] [stdout]    |
[INFO] [stdout] 33 | extern crate libc;
[INFO] [stdout]    | ------------------ the item `libc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 51 |     use super::{ libc, SPI_BASE_OFFSET, MAP_BLOCK_SIZE };
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/lib.rs:136:59
[INFO] [stdout]     |
[INFO] [stdout] 136 |             return (spi.fifo.register.get() & 0xFF) as u8;;
[INFO] [stdout]     |                                                           ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:154:30
[INFO] [stdout]     |
[INFO] [stdout] 154 |         pub const RXF: u32 = (1 << 20);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 -         pub const RXF: u32 = (1 << 20);
[INFO] [stdout] 154 +         pub const RXF: u32 = 1 << 20;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:155:30
[INFO] [stdout]     |
[INFO] [stdout] 155 |         pub const RXR: u32 = (1 << 19);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 155 -         pub const RXR: u32 = (1 << 19);
[INFO] [stdout] 155 +         pub const RXR: u32 = 1 << 19;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:156:30
[INFO] [stdout]     |
[INFO] [stdout] 156 |         pub const TXD: u32 = (1 << 18);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -         pub const TXD: u32 = (1 << 18);
[INFO] [stdout] 156 +         pub const TXD: u32 = 1 << 18;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:157:30
[INFO] [stdout]     |
[INFO] [stdout] 157 |         pub const RXD: u32 = (1 << 17);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 157 -         pub const RXD: u32 = (1 << 17);
[INFO] [stdout] 157 +         pub const RXD: u32 = 1 << 17;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:158:31
[INFO] [stdout]     |
[INFO] [stdout] 158 |         pub const DONE: u32 = (1 << 16);
[INFO] [stdout]     |                               ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 158 -         pub const DONE: u32 = (1 << 16);
[INFO] [stdout] 158 +         pub const DONE: u32 = 1 << 16;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:159:30
[INFO] [stdout]     |
[INFO] [stdout] 159 |         pub const TA: u32  = (1 << 7);
[INFO] [stdout]     |                              ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 -         pub const TA: u32  = (1 << 7);
[INFO] [stdout] 159 +         pub const TA: u32  = 1 << 7;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:160:40
[INFO] [stdout]     |
[INFO] [stdout] 160 |         pub const CLEAR_RX_FIFO: u32 = (1 << 5);
[INFO] [stdout]     |                                        ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 -         pub const CLEAR_RX_FIFO: u32 = (1 << 5);
[INFO] [stdout] 160 +         pub const CLEAR_RX_FIFO: u32 = 1 << 5;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:161:40
[INFO] [stdout]     |
[INFO] [stdout] 161 |         pub const CLEAR_TX_FIFO: u32 = (1 << 4);
[INFO] [stdout]     |                                        ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         pub const CLEAR_TX_FIFO: u32 = (1 << 4);
[INFO] [stdout] 161 +         pub const CLEAR_TX_FIFO: u32 = 1 << 4;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:162:31
[INFO] [stdout]     |
[INFO] [stdout] 162 |         pub const CPOL: u32 = (1 << 3);
[INFO] [stdout]     |                               ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -         pub const CPOL: u32 = (1 << 3);
[INFO] [stdout] 162 +         pub const CPOL: u32 = 1 << 3;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/lib.rs:136:59
[INFO] [stdout]     |
[INFO] [stdout] 136 |             return (spi.fifo.register.get() & 0xFF) as u8;;
[INFO] [stdout]     |                                                           ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:163:31
[INFO] [stdout]     |
[INFO] [stdout] 163 |         pub const CPHA: u32 = (1 << 2);
[INFO] [stdout]     |                               ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 163 -         pub const CPHA: u32 = (1 << 2);
[INFO] [stdout] 163 +         pub const CPHA: u32 = 1 << 2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:154:30
[INFO] [stdout]     |
[INFO] [stdout] 154 |         pub const RXF: u32 = (1 << 20);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 154 -         pub const RXF: u32 = (1 << 20);
[INFO] [stdout] 154 +         pub const RXF: u32 = 1 << 20;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:572:17
[INFO] [stdout]     |
[INFO] [stdout] 33  | extern crate libc;
[INFO] [stdout]     | ------------------ the item `libc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 572 |     use super::{libc, MAP_BLOCK_SIZE, GPIO_BASE_OFFSET};
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:155:30
[INFO] [stdout]     |
[INFO] [stdout] 155 |         pub const RXR: u32 = (1 << 19);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 155 -         pub const RXR: u32 = (1 << 19);
[INFO] [stdout] 155 +         pub const RXR: u32 = 1 << 19;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:156:30
[INFO] [stdout]     |
[INFO] [stdout] 156 |         pub const TXD: u32 = (1 << 18);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 156 -         pub const TXD: u32 = (1 << 18);
[INFO] [stdout] 156 +         pub const TXD: u32 = 1 << 18;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:157:30
[INFO] [stdout]     |
[INFO] [stdout] 157 |         pub const RXD: u32 = (1 << 17);
[INFO] [stdout]     |                              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 157 -         pub const RXD: u32 = (1 << 17);
[INFO] [stdout] 157 +         pub const RXD: u32 = 1 << 17;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:158:31
[INFO] [stdout]     |
[INFO] [stdout] 158 |         pub const DONE: u32 = (1 << 16);
[INFO] [stdout]     |                               ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 158 -         pub const DONE: u32 = (1 << 16);
[INFO] [stdout] 158 +         pub const DONE: u32 = 1 << 16;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:159:30
[INFO] [stdout]     |
[INFO] [stdout] 159 |         pub const TA: u32  = (1 << 7);
[INFO] [stdout]     |                              ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 159 -         pub const TA: u32  = (1 << 7);
[INFO] [stdout] 159 +         pub const TA: u32  = 1 << 7;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:160:40
[INFO] [stdout]     |
[INFO] [stdout] 160 |         pub const CLEAR_RX_FIFO: u32 = (1 << 5);
[INFO] [stdout]     |                                        ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 160 -         pub const CLEAR_RX_FIFO: u32 = (1 << 5);
[INFO] [stdout] 160 +         pub const CLEAR_RX_FIFO: u32 = 1 << 5;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:161:40
[INFO] [stdout]     |
[INFO] [stdout] 161 |         pub const CLEAR_TX_FIFO: u32 = (1 << 4);
[INFO] [stdout]     |                                        ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         pub const CLEAR_TX_FIFO: u32 = (1 << 4);
[INFO] [stdout] 161 +         pub const CLEAR_TX_FIFO: u32 = 1 << 4;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:162:31
[INFO] [stdout]     |
[INFO] [stdout] 162 |         pub const CPOL: u32 = (1 << 3);
[INFO] [stdout]     |                               ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 162 -         pub const CPOL: u32 = (1 << 3);
[INFO] [stdout] 162 +         pub const CPOL: u32 = 1 << 3;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:163:31
[INFO] [stdout]     |
[INFO] [stdout] 163 |         pub const CPHA: u32 = (1 << 2);
[INFO] [stdout]     |                               ^      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 163 -         pub const CPHA: u32 = (1 << 2);
[INFO] [stdout] 163 +         pub const CPHA: u32 = 1 << 2;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/lib.rs:572:17
[INFO] [stdout]     |
[INFO] [stdout] 33  | extern crate libc;
[INFO] [stdout]     | ------------------ the item `libc` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 572 |     use super::{libc, MAP_BLOCK_SIZE, GPIO_BASE_OFFSET};
[INFO] [stdout]     |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:526:30
[INFO] [stdout]     |
[INFO] [stdout] 526 |             fd = libc::open( "/dev/mem".as_ptr() as *const u8, libc::O_RDWR | libc::O_SYNC | libc::O_CLOEXEC );
[INFO] [stdout]     |                  ----------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*const u8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:747:12
[INFO] [stdout]     |
[INFO] [stdout] 747 |     pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int;
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:526:30
[INFO] [stdout]     |
[INFO] [stdout] 526 |             fd = libc::open( "/dev/mem".as_ptr() as *const u8, libc::O_RDWR | libc::O_SYNC | libc::O_CLOEXEC );
[INFO] [stdout]     |                  ----------  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `*const i8`, found `*const u8`
[INFO] [stdout]     |                  |
[INFO] [stdout]     |                  arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected raw pointer `*const i8`
[INFO] [stdout]                found raw pointer `*const u8`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:747:12
[INFO] [stdout]     |
[INFO] [stdout] 747 |     pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int;
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bcm2709-spi` (lib) due to 2 previous errors; 13 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `bcm2709-spi` (lib test) due to 2 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "7ce234ef9bf56cfec41344c39b5dd743c4f255ae454c2258e29aca3116079c06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ce234ef9bf56cfec41344c39b5dd743c4f255ae454c2258e29aca3116079c06", kill_on_drop: false }`
[INFO] [stdout] 7ce234ef9bf56cfec41344c39b5dd743c4f255ae454c2258e29aca3116079c06
