[INFO] fetching crate pit-basic 0.4.0... [INFO] building pit-basic-0.4.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate pit-basic 0.4.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate pit-basic 0.4.0 [INFO] finished tweaking crates.io crate pit-basic 0.4.0 [INFO] tweaked toml for crates.io crate pit-basic 0.4.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pit-basic 0.4.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pit-basic 0.4.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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 232e59bcd999da97a9987a509955a1ec53575fd15ef926f490c293cdda2044d3 [INFO] running `Command { std: "docker" "start" "-a" "232e59bcd999da97a9987a509955a1ec53575fd15ef926f490c293cdda2044d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "232e59bcd999da97a9987a509955a1ec53575fd15ef926f490c293cdda2044d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "232e59bcd999da97a9987a509955a1ec53575fd15ef926f490c293cdda2044d3", kill_on_drop: false }` [INFO] [stdout] 232e59bcd999da97a9987a509955a1ec53575fd15ef926f490c293cdda2044d3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fb56d0fab2caeb528d81a853db6e120095da79e23cfa74312b7d805eb1c903c [INFO] running `Command { std: "docker" "start" "-a" "1fb56d0fab2caeb528d81a853db6e120095da79e23cfa74312b7d805eb1c903c", kill_on_drop: false }` [INFO] [stderr] Compiling tpit-rt v0.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling externref-macro v0.2.0 [INFO] [stderr] Compiling externref v0.2.0 [INFO] [stderr] Compiling pit-basic v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, and `sync::Mutex` [INFO] [stdout] --> src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] 3 | sync::Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn read8(&mut self, p0: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - fn read8(&mut self, p0: u32) -> (u32); [INFO] [stdout] 2 + fn read8(&mut self, p0: u32) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn size(&mut self) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3 - fn size(&mut self) -> (u32); [INFO] [stdout] 3 + fn size(&mut self) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 96 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | fn go(this: u32, p0: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn go(this: u32, p0: u32) -> (u32); [INFO] [stdout] 102 + fn go(this: u32, p0: u32) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - fn size(&mut self) -> (u32) { [INFO] [stdout] 106 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn go(this: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - fn go(this: u32) -> (u32); [INFO] [stdout] 112 + fn go(this: u32) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | extern "C" fn read8(id: u32, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - extern "C" fn read8(id: u32, p0: u32) -> (u32) { [INFO] [stdout] 132 + extern "C" fn read8(id: u32, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | extern "C" fn size(id: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - extern "C" fn size(id: u32) -> (u32) { [INFO] [stdout] 136 + extern "C" fn size(id: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 90 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - fn size(&mut self) -> (u32) { [INFO] [stdout] 94 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 103 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - fn size(&mut self) -> (u64) { [INFO] [stdout] 107 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 121 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - fn size(&mut self) -> (u32) { [INFO] [stdout] 125 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn read8(&mut self, p0: u64) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - fn read8(&mut self, p0: u64) -> (u32); [INFO] [stdout] 2 + fn read8(&mut self, p0: u64) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn size(&mut self) -> (u64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3 - fn size(&mut self) -> (u64); [INFO] [stdout] 3 + fn size(&mut self) -> u64 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 96 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | fn go(this: u32, p0: u64) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn go(this: u32, p0: u64) -> (u32); [INFO] [stdout] 102 + fn go(this: u32, p0: u64) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - fn size(&mut self) -> (u64) { [INFO] [stdout] 106 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn go(this: u32) -> (u64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - fn go(this: u32) -> (u64); [INFO] [stdout] 112 + fn go(this: u32) -> u64 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | extern "C" fn read8(id: u32, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - extern "C" fn read8(id: u32, p0: u64) -> (u32) { [INFO] [stdout] 132 + extern "C" fn read8(id: u32, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | extern "C" fn size(id: u32) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - extern "C" fn size(id: u32) -> (u64) { [INFO] [stdout] 136 + extern "C" fn size(id: u32) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 92 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn size(&mut self) -> (u64) { [INFO] [stdout] 96 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer64.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer64.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer64.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer64.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SECTION_CONTENT` is never used [INFO] [stdout] --> src/buffer/ffi.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | static SECTION_CONTENT: [u8; 60usize] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SECTION_CONTENT` is never used [INFO] [stdout] --> src/buffer64/ffi.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | static SECTION_CONTENT: [u8; 60usize] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `read8` with a different signature [INFO] [stdout] --> src/buffer64/ffi.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | #[link_name = "read8"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/buffer/ffi.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | #[link_name = "read8"] [INFO] [stdout] | ---------------------- `read8` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32, u32) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(u32, u64) -> u32` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `size` with a different signature [INFO] [stdout] --> src/buffer64/ffi.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | #[link_name = "size"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/buffer/ffi.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | #[link_name = "size"] [INFO] [stdout] | --------------------- `size` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(u32) -> u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `write8` with a different signature [INFO] [stdout] --> src/buffer64/ffi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[link_name = "write8"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/buffer/ffi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[link_name = "write8"] [INFO] [stdout] | ----------------------- `write8` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32, u32, u32)` [INFO] [stdout] found `unsafe extern "C" fn(u32, u64, u32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.64s [INFO] running `Command { std: "docker" "inspect" "1fb56d0fab2caeb528d81a853db6e120095da79e23cfa74312b7d805eb1c903c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fb56d0fab2caeb528d81a853db6e120095da79e23cfa74312b7d805eb1c903c", kill_on_drop: false }` [INFO] [stdout] 1fb56d0fab2caeb528d81a853db6e120095da79e23cfa74312b7d805eb1c903c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a73c0d35349e3d30e6dc2f70aff4fe2c0e38fd53c839dacd093b75f086a5070f [INFO] running `Command { std: "docker" "start" "-a" "a73c0d35349e3d30e6dc2f70aff4fe2c0e38fd53c839dacd093b75f086a5070f", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, and `sync::Mutex` [INFO] [stdout] --> src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] 3 | sync::Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn read8(&mut self, p0: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - fn read8(&mut self, p0: u32) -> (u32); [INFO] [stdout] 2 + fn read8(&mut self, p0: u32) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn size(&mut self) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3 - fn size(&mut self) -> (u32); [INFO] [stdout] 3 + fn size(&mut self) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 96 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | fn go(this: u32, p0: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn go(this: u32, p0: u32) -> (u32); [INFO] [stdout] 102 + fn go(this: u32, p0: u32) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - fn size(&mut self) -> (u32) { [INFO] [stdout] 106 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn go(this: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - fn go(this: u32) -> (u32); [INFO] [stdout] 112 + fn go(this: u32) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | extern "C" fn read8(id: u32, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - extern "C" fn read8(id: u32, p0: u32) -> (u32) { [INFO] [stdout] 132 + extern "C" fn read8(id: u32, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | extern "C" fn size(id: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - extern "C" fn size(id: u32) -> (u32) { [INFO] [stdout] 136 + extern "C" fn size(id: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 90 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - fn size(&mut self) -> (u32) { [INFO] [stdout] 94 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 103 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - fn size(&mut self) -> (u64) { [INFO] [stdout] 107 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 121 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - fn size(&mut self) -> (u32) { [INFO] [stdout] 125 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn read8(&mut self, p0: u64) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - fn read8(&mut self, p0: u64) -> (u32); [INFO] [stdout] 2 + fn read8(&mut self, p0: u64) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn size(&mut self) -> (u64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3 - fn size(&mut self) -> (u64); [INFO] [stdout] 3 + fn size(&mut self) -> u64 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 96 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | fn go(this: u32, p0: u64) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn go(this: u32, p0: u64) -> (u32); [INFO] [stdout] 102 + fn go(this: u32, p0: u64) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - fn size(&mut self) -> (u64) { [INFO] [stdout] 106 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn go(this: u32) -> (u64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - fn go(this: u32) -> (u64); [INFO] [stdout] 112 + fn go(this: u32) -> u64 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | extern "C" fn read8(id: u32, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - extern "C" fn read8(id: u32, p0: u64) -> (u32) { [INFO] [stdout] 132 + extern "C" fn read8(id: u32, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | extern "C" fn size(id: u32) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - extern "C" fn size(id: u32) -> (u64) { [INFO] [stdout] 136 + extern "C" fn size(id: u32) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pit-basic v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 92 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn size(&mut self) -> (u64) { [INFO] [stdout] 96 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer64.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer64.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer64.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer64.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SECTION_CONTENT` is never used [INFO] [stdout] --> src/buffer/ffi.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | static SECTION_CONTENT: [u8; 60usize] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SECTION_CONTENT` is never used [INFO] [stdout] --> src/buffer64/ffi.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | static SECTION_CONTENT: [u8; 60usize] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `read8` with a different signature [INFO] [stdout] --> src/buffer64/ffi.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | #[link_name = "read8"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/buffer/ffi.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | #[link_name = "read8"] [INFO] [stdout] | ---------------------- `read8` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32, u32) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(u32, u64) -> u32` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `size` with a different signature [INFO] [stdout] --> src/buffer64/ffi.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | #[link_name = "size"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/buffer/ffi.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | #[link_name = "size"] [INFO] [stdout] | --------------------- `size` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(u32) -> u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `write8` with a different signature [INFO] [stdout] --> src/buffer64/ffi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[link_name = "write8"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/buffer/ffi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[link_name = "write8"] [INFO] [stdout] | ----------------------- `write8` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32, u32, u32)` [INFO] [stdout] found `unsafe extern "C" fn(u32, u64, u32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Deref`, and `sync::Mutex` [INFO] [stdout] --> src/lib.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | ops::{Deref, DerefMut}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] 3 | sync::Mutex, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn read8(&mut self, p0: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - fn read8(&mut self, p0: u32) -> (u32); [INFO] [stdout] 2 + fn read8(&mut self, p0: u32) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn size(&mut self) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3 - fn size(&mut self) -> (u32); [INFO] [stdout] 3 + fn size(&mut self) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 96 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | fn go(this: u32, p0: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn go(this: u32, p0: u32) -> (u32); [INFO] [stdout] 102 + fn go(this: u32, p0: u32) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - fn size(&mut self) -> (u32) { [INFO] [stdout] 106 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn go(this: u32) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - fn go(this: u32) -> (u32); [INFO] [stdout] 112 + fn go(this: u32) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | extern "C" fn read8(id: u32, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - extern "C" fn read8(id: u32, p0: u32) -> (u32) { [INFO] [stdout] 132 + extern "C" fn read8(id: u32, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer/ffi.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | extern "C" fn size(id: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - extern "C" fn size(id: u32) -> (u32) { [INFO] [stdout] 136 + extern "C" fn size(id: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 90 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - fn size(&mut self) -> (u32) { [INFO] [stdout] 94 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 103 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 103 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 107 - fn size(&mut self) -> (u64) { [INFO] [stdout] 107 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - fn read8(&mut self, p0: u32) -> (u32) { [INFO] [stdout] 121 + fn read8(&mut self, p0: u32) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | fn size(&mut self) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 125 - fn size(&mut self) -> (u32) { [INFO] [stdout] 125 + fn size(&mut self) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:2:37 [INFO] [stdout] | [INFO] [stdout] 2 | fn read8(&mut self, p0: u64) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2 - fn read8(&mut self, p0: u64) -> (u32); [INFO] [stdout] 2 + fn read8(&mut self, p0: u64) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn size(&mut self) -> (u64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 3 - fn size(&mut self) -> (u64); [INFO] [stdout] 3 + fn size(&mut self) -> u64 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:96:41 [INFO] [stdout] | [INFO] [stdout] 96 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 96 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 102 | fn go(this: u32, p0: u64) -> (u32); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - fn go(this: u32, p0: u64) -> (u32); [INFO] [stdout] 102 + fn go(this: u32, p0: u64) -> u32 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 106 - fn size(&mut self) -> (u64) { [INFO] [stdout] 106 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:112:37 [INFO] [stdout] | [INFO] [stdout] 112 | fn go(this: u32) -> (u64); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 112 - fn go(this: u32) -> (u64); [INFO] [stdout] 112 + fn go(this: u32) -> u64 ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:132:46 [INFO] [stdout] | [INFO] [stdout] 132 | extern "C" fn read8(id: u32, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 132 - extern "C" fn read8(id: u32, p0: u64) -> (u32) { [INFO] [stdout] 132 + extern "C" fn read8(id: u32, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64/ffi.rs:136:36 [INFO] [stdout] | [INFO] [stdout] 136 | extern "C" fn size(id: u32) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 136 - extern "C" fn size(id: u32) -> (u64) { [INFO] [stdout] 136 + extern "C" fn size(id: u32) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | buffer_slice_impl!(Vec); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | buffer_slice_impl!(Box<[u8]>); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | buffer_slice_impl!(&'static mut [u8]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:30:45 [INFO] [stdout] | [INFO] [stdout] 30 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 92 - fn read8(&mut self, p0: u64) -> (u32) { [INFO] [stdout] 92 + fn read8(&mut self, p0: u64) -> u32 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/buffer64.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 96 | fn size(&mut self) -> (u64) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn size(&mut self) -> (u64) { [INFO] [stdout] 96 + fn size(&mut self) -> u64 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u32, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer64.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer64.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 45 | buffer_ro_slice_impl!(&'static [u8]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p0` [INFO] [stdout] --> src/buffer64.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p0` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/buffer64.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | fn write8(&mut self, p0: u64, p1: u32) -> () { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] ... [INFO] [stdout] 44 | buffer_ro_slice_impl!(Arc<[u8]>); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `buffer_ro_slice_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SECTION_CONTENT` is never used [INFO] [stdout] --> src/buffer/ffi.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | static SECTION_CONTENT: [u8; 60usize] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SECTION_CONTENT` is never used [INFO] [stdout] --> src/buffer64/ffi.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | static SECTION_CONTENT: [u8; 60usize] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `read8` with a different signature [INFO] [stdout] --> src/buffer64/ffi.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | #[link_name = "read8"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/buffer/ffi.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | #[link_name = "read8"] [INFO] [stdout] | ---------------------- `read8` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32, u32) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(u32, u64) -> u32` [INFO] [stdout] = note: `#[warn(clashing_extern_declarations)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `size` with a different signature [INFO] [stdout] --> src/buffer64/ffi.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | #[link_name = "size"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/buffer/ffi.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | #[link_name = "size"] [INFO] [stdout] | --------------------- `size` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32) -> u32` [INFO] [stdout] found `unsafe extern "C" fn(u32) -> u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `go` redeclares `write8` with a different signature [INFO] [stdout] --> src/buffer64/ffi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[link_name = "write8"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this signature doesn't match the previous declaration [INFO] [stdout] | [INFO] [stdout] ::: src/buffer/ffi.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | #[link_name = "write8"] [INFO] [stdout] | ----------------------- `write8` previously declared here [INFO] [stdout] | [INFO] [stdout] = note: expected `unsafe extern "C" fn(u32, u32, u32)` [INFO] [stdout] found `unsafe extern "C" fn(u32, u64, u32)` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "a73c0d35349e3d30e6dc2f70aff4fe2c0e38fd53c839dacd093b75f086a5070f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a73c0d35349e3d30e6dc2f70aff4fe2c0e38fd53c839dacd093b75f086a5070f", kill_on_drop: false }` [INFO] [stdout] a73c0d35349e3d30e6dc2f70aff4fe2c0e38fd53c839dacd093b75f086a5070f