[INFO] cloning repository https://github.com/redox-os/orbital [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/redox-os/orbital" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Forbital", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Forbital'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3fd0125fa224e0448e85ea116e114ec53539cd27 [INFO] checking redox-os/orbital/3fd0125fa224e0448e85ea116e114ec53539cd27 against master#068609ce766e55d2e7371cd2a86143a6d7e8e2e4 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fredox-os%2Forbital" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/redox-os/orbital on toolchain 068609ce766e55d2e7371cd2a86143a6d7e8e2e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/redox-os/orbital [INFO] finished tweaking git repo https://github.com/redox-os/orbital [INFO] tweaked toml for git repo https://github.com/redox-os/orbital written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/redox-os/orbital 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" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox-log v0.1.4 [INFO] [stderr] Downloaded orbfont v0.1.12 [INFO] [stderr] Downloaded font-loader v0.11.0 [INFO] [stderr] Downloaded orbimage v0.1.17 [INFO] [stderr] Downloaded redox_event v0.4.1 [INFO] [stderr] Downloaded redox-daemon v0.1.3 [INFO] [stderr] Downloaded resize v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8698d564f7bf91731cb731f219cc5bcbf44de84c7af2c511227ad63fa45217c [INFO] running `Command { std: "docker" "start" "-a" "b8698d564f7bf91731cb731f219cc5bcbf44de84c7af2c511227ad63fa45217c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8698d564f7bf91731cb731f219cc5bcbf44de84c7af2c511227ad63fa45217c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8698d564f7bf91731cb731f219cc5bcbf44de84c7af2c511227ad63fa45217c", kill_on_drop: false }` [INFO] [stdout] b8698d564f7bf91731cb731f219cc5bcbf44de84c7af2c511227ad63fa45217c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32b4c6063440fde18c79ee6786fcab16b2313a091e720ea6c6abf0be866c0816 [INFO] running `Command { std: "docker" "start" "-a" "32b4c6063440fde18c79ee6786fcab16b2313a091e720ea6c6abf0be866c0816", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.160 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling orbclient v0.3.48 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking redox_syscall v0.5.7 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking libredox v0.1.3 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking numtoa v0.2.4 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking termion v4.0.3 [INFO] [stderr] Checking image v0.21.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking font-loader v0.11.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking resize v0.3.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking redox-daemon v0.1.3 [INFO] [stderr] Checking redox_event v0.4.1 [INFO] [stderr] Checking redox-log v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking orbimage v0.1.17 [INFO] [stderr] Checking orbfont v0.1.12 [INFO] [stderr] Checking orbital v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cell::RefCell`, `iter`, `path::PathBuf`, and `rc::Rc` [INFO] [stdout] --> src/core/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | iter, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/core/mod.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ESKMSG`, `KSMSG_MMAP_PREP`, `KSMSG_MMAP`, `KSMSG_MSYNC`, `KSMSG_MUNMAP`, `MapFlags`, `O_CLOEXEC`, `O_CREAT`, `O_NONBLOCK`, `O_RDWR`, `PAGE_SIZE`, and `SKMSG_PROVIDE_MMAP` [INFO] [stdout] --> src/core/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | flag::{O_CLOEXEC, O_CREAT, O_NONBLOCK, O_RDWR}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 25 | flag::EventFlags, [INFO] [stdout] 26 | SchemeMut, PAGE_SIZE, KSMSG_MMAP_PREP, KSMSG_MMAP, KSMSG_MSYNC, KSMSG_MUNMAP, MapFlags, ESKMSG, SKMSG_PROVIDE_MMAP, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/image.rs:142:64 [INFO] [stdout] | [INFO] [stdout] 141 | impl<'a> ImageRef<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 142 | pub fn from_data(w: i32, h: i32, data: &'a mut [Color]) -> ImageRef { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | self [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell`, `iter`, `path::PathBuf`, and `rc::Rc` [INFO] [stdout] --> src/core/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | cell::RefCell, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | iter, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | path::PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> src/core/mod.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use log::{debug, error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ESKMSG`, `KSMSG_MMAP_PREP`, `KSMSG_MMAP`, `KSMSG_MSYNC`, `KSMSG_MUNMAP`, `MapFlags`, `O_CLOEXEC`, `O_CREAT`, `O_NONBLOCK`, `O_RDWR`, `PAGE_SIZE`, and `SKMSG_PROVIDE_MMAP` [INFO] [stdout] --> src/core/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | flag::{O_CLOEXEC, O_CREAT, O_NONBLOCK, O_RDWR}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 25 | flag::EventFlags, [INFO] [stdout] 26 | SchemeMut, PAGE_SIZE, KSMSG_MMAP_PREP, KSMSG_MMAP, KSMSG_MSYNC, KSMSG_MUNMAP, MapFlags, ESKMSG, SKMSG_PROVIDE_MMAP, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/core/image.rs:142:64 [INFO] [stdout] | [INFO] [stdout] 141 | impl<'a> ImageRef<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 142 | pub fn from_data(w: i32, h: i32, data: &'a mut [Color]) -> ImageRef { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/window.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | self [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/mod.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut event_queue = EventQueue::::new()?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/core/mod.rs:611:40 [INFO] [stdout] | [INFO] [stdout] 611 | fn mmap_prep(&mut self, id: usize, offset: u64, size: usize, flags: syscall::MapFlags) -> syscall::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/core/mod.rs:611:66 [INFO] [stdout] | [INFO] [stdout] 611 | fn mmap_prep(&mut self, id: usize, offset: u64, size: usize, flags: syscall::MapFlags) -> syscall::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/core/mod.rs:621:37 [INFO] [stdout] | [INFO] [stdout] 621 | fn munmap(&mut self, id: usize, offset: u64, size: usize, flags: syscall::MunmapFlags) -> syscall::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/core/mod.rs:621:50 [INFO] [stdout] | [INFO] [stdout] 621 | fn munmap(&mut self, id: usize, offset: u64, size: usize, flags: syscall::MunmapFlags) -> syscall::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/core/mod.rs:621:63 [INFO] [stdout] | [INFO] [stdout] 621 | fn munmap(&mut self, id: usize, offset: u64, size: usize, flags: syscall::MunmapFlags) -> syscall::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/scheme.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let window = self.windows.get_mut(&id).ok_or(Error::new(EBADF))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orb` [INFO] [stdout] --> src/scheme.rs:296:38 [INFO] [stdout] | [INFO] [stdout] 296 | fn handle_window_drag(&mut self, orb: &mut Orbital, id: usize /*TODO: resize sides */) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_orb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/mod.rs:313:13 [INFO] [stdout] | [INFO] [stdout] 313 | let mut event_queue = EventQueue::::new()?; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scheme.rs:1510:30 [INFO] [stdout] | [INFO] [stdout] 1510 | fn window_new(&mut self, mut x: i32, mut y: i32, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scheme.rs:1510:42 [INFO] [stdout] | [INFO] [stdout] 1510 | fn window_new(&mut self, mut x: i32, mut y: i32, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/core/mod.rs:611:40 [INFO] [stdout] | [INFO] [stdout] 611 | fn mmap_prep(&mut self, id: usize, offset: u64, size: usize, flags: syscall::MapFlags) -> syscall::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/core/mod.rs:611:66 [INFO] [stdout] | [INFO] [stdout] 611 | fn mmap_prep(&mut self, id: usize, offset: u64, size: usize, flags: syscall::MapFlags) -> syscall::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/core/mod.rs:621:37 [INFO] [stdout] | [INFO] [stdout] 621 | fn munmap(&mut self, id: usize, offset: u64, size: usize, flags: syscall::MunmapFlags) -> syscall::Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/core/mod.rs:621:50 [INFO] [stdout] | [INFO] [stdout] 621 | fn munmap(&mut self, id: usize, offset: u64, size: usize, flags: syscall::MunmapFlags) -> syscall::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flags` [INFO] [stdout] --> src/core/mod.rs:621:63 [INFO] [stdout] | [INFO] [stdout] 621 | fn munmap(&mut self, id: usize, offset: u64, size: usize, flags: syscall::MunmapFlags) -> syscall::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `maps` is never read [INFO] [stdout] --> src/core/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct Orbital { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | pub maps: BTreeMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 44 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 44 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/scheme.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let window = self.windows.get_mut(&id).ok_or(Error::new(EBADF))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `orb` [INFO] [stdout] --> src/scheme.rs:296:38 [INFO] [stdout] | [INFO] [stdout] 296 | fn handle_window_drag(&mut self, orb: &mut Orbital, id: usize /*TODO: resize sides */) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_orb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scheme.rs:1510:30 [INFO] [stdout] | [INFO] [stdout] 1510 | fn window_new(&mut self, mut x: i32, mut y: i32, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scheme.rs:1510:42 [INFO] [stdout] | [INFO] [stdout] 1510 | fn window_new(&mut self, mut x: i32, mut y: i32, [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `maps` is never read [INFO] [stdout] --> src/core/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct Orbital { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | pub maps: BTreeMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 44 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/core/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 44 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 28s [INFO] running `Command { std: "docker" "inspect" "32b4c6063440fde18c79ee6786fcab16b2313a091e720ea6c6abf0be866c0816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b4c6063440fde18c79ee6786fcab16b2313a091e720ea6c6abf0be866c0816", kill_on_drop: false }` [INFO] [stdout] 32b4c6063440fde18c79ee6786fcab16b2313a091e720ea6c6abf0be866c0816