[INFO] cloning repository https://github.com/adihodos/rust-opengl-particle-simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adihodos/rust-opengl-particle-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadihodos%2Frust-opengl-particle-simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadihodos%2Frust-opengl-particle-simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9334b43e04aeb3eb7ae8d4598e393f521830ce14 [INFO] checking adihodos/rust-opengl-particle-simulation against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied-retry-0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadihodos%2Frust-opengl-particle-simulation" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/adihodos/rust-opengl-particle-simulation [INFO] finished tweaking git repo https://github.com/adihodos/rust-opengl-particle-simulation [INFO] tweaked toml for git repo https://github.com/adihodos/rust-opengl-particle-simulation written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adihodos/rust-opengl-particle-simulation on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adihodos/rust-opengl-particle-simulation 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96ea7859f16dca05fbf8fe49154461debd5755a7b566be07b219b63aa2776761 [INFO] running `Command { std: "docker" "start" "-a" "96ea7859f16dca05fbf8fe49154461debd5755a7b566be07b219b63aa2776761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96ea7859f16dca05fbf8fe49154461debd5755a7b566be07b219b63aa2776761", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96ea7859f16dca05fbf8fe49154461debd5755a7b566be07b219b63aa2776761", kill_on_drop: false }` [INFO] [stdout] 96ea7859f16dca05fbf8fe49154461debd5755a7b566be07b219b63aa2776761 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a061aaf233b134c6d6c2283934732fa27f932cac0c4a96e4394a0c49b6cd99c [INFO] running `Command { std: "docker" "start" "-a" "0a061aaf233b134c6d6c2283934732fa27f932cac0c4a96e4394a0c49b6cd99c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Checking deflate v0.8.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking png v0.16.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_loader v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking math v0.1.0 (/opt/rustwide/workdir/math) [INFO] [stderr] Checking sys v0.1.0 (/opt/rustwide/workdir/sys) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sys/src/events.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sys/src/events.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ToPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sys/src/events.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sys/src/events.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ToPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GLXDrawable` [INFO] [stdout] --> sys/src/window_x11.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | glXQueryVersion, glXSwapBuffers, GLXContext, GLXDrawable, GLXFBConfig, GLX_BUFFER_SIZE, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlreadyGrabbed`, `Button5`, `FocusIn`, `FocusOut`, `GrabFrozen`, `GrabInvalidTime`, `GrabModeAsync`, `GrabNotViewable`, `PropModeReplace`, `Screen`, `XA_ATOM`, `XChangeProperty`, `XFocusChangeEvent`, `XGrabKeyboard`, `XQueryPointer`, `XSync`, `XUngrabKeyboard`, and `XWarpPointer` [INFO] [stdout] --> sys/src/window_x11.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | AllocNone, AlreadyGrabbed, Atom, Bool, Button1, Button1Mask, Button2, Button2Mask, Button3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | Button3Mask, Button4, Button4Mask, Button5, Button5Mask, ButtonPress, ButtonPressMask, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ExposureMask, False, FocusChangeMask, FocusIn, FocusOut, GrabFrozen, GrabInvalidTime, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | GrabModeAsync, GrabNotViewable, InputHint, InputOutput, KeyPress, KeyPressMask, KeyRelease, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | KeyReleaseMask, KeySym, LeaveWindowMask, MotionNotify, NoSymbol, PBaseSize, PMinSize, [INFO] [stdout] 30 | PointerMotionMask, PropModeReplace, RevertToNone, Screen, ShiftMask, StateHint, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | XAllocWMHints, XButtonEvent, XChangeProperty, XClearWindow, XClientMessageEvent, XCloseDisplay, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | XConfigureEvent, XCreateColormap, XCreateWindow, XDefaultRootWindow, XDefaultScreen, [INFO] [stdout] 35 | XDestroyWindow, XEvent, XEventsQueued, XFlush, XFocusChangeEvent, XFree, XGetGeometry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | XGrabKeyboard, XInternAtom, XKeyEvent, XLookupString, XMapRaised, XMotionEvent, XMoveWindow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | XNextEvent, XOpenDisplay, XQueryPointer, XRootWindow, XSendEvent, XSetInputFocus, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | XSetWMProperties, XSetWMProtocols, XSetWindowAttributes, XSizeHints, XSync, XUngrabKeyboard, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | XVisibilityEvent, XVisualInfo, XWMHints, XWarpPointer, XWhitePixel, XA_ATOM, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sys/src/events.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sys/src/events.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ToPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sys/src/events.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> sys/src/events.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ToPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GLXDrawable` [INFO] [stdout] --> sys/src/window_x11.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | glXQueryVersion, glXSwapBuffers, GLXContext, GLXDrawable, GLXFBConfig, GLX_BUFFER_SIZE, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlreadyGrabbed`, `Button5`, `FocusIn`, `FocusOut`, `GrabFrozen`, `GrabInvalidTime`, `GrabModeAsync`, `GrabNotViewable`, `PropModeReplace`, `Screen`, `XA_ATOM`, `XChangeProperty`, `XFocusChangeEvent`, `XGrabKeyboard`, `XQueryPointer`, `XSync`, `XUngrabKeyboard`, and `XWarpPointer` [INFO] [stdout] --> sys/src/window_x11.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | AllocNone, AlreadyGrabbed, Atom, Bool, Button1, Button1Mask, Button2, Button2Mask, Button3, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 24 | Button3Mask, Button4, Button4Mask, Button5, Button5Mask, ButtonPress, ButtonPressMask, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | ExposureMask, False, FocusChangeMask, FocusIn, FocusOut, GrabFrozen, GrabInvalidTime, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | GrabModeAsync, GrabNotViewable, InputHint, InputOutput, KeyPress, KeyPressMask, KeyRelease, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | KeyReleaseMask, KeySym, LeaveWindowMask, MotionNotify, NoSymbol, PBaseSize, PMinSize, [INFO] [stdout] 30 | PointerMotionMask, PropModeReplace, RevertToNone, Screen, ShiftMask, StateHint, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | XAllocWMHints, XButtonEvent, XChangeProperty, XClearWindow, XClientMessageEvent, XCloseDisplay, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | XConfigureEvent, XCreateColormap, XCreateWindow, XDefaultRootWindow, XDefaultScreen, [INFO] [stdout] 35 | XDestroyWindow, XEvent, XEventsQueued, XFlush, XFocusChangeEvent, XFree, XGetGeometry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | XGrabKeyboard, XInternAtom, XKeyEvent, XLookupString, XMapRaised, XMotionEvent, XMoveWindow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | XNextEvent, XOpenDisplay, XQueryPointer, XRootWindow, XSendEvent, XSetInputFocus, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | XSetWMProperties, XSetWMProtocols, XSetWindowAttributes, XSizeHints, XSync, XUngrabKeyboard, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | XVisibilityEvent, XVisualInfo, XWMHints, XWarpPointer, XWhitePixel, XA_ATOM, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> sys/src/unique_resource.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | / impl std::ops::Deref for UniqueResource [INFO] [stdout] 53 | | where [INFO] [stdout] 54 | | T: Copy + std::cmp::PartialEq, [INFO] [stdout] 55 | | D: ResourceDeleter + std::default::Default, [INFO] [stdout] | |__________________________________________________- trait implemented here [INFO] [stdout] 56 | { [INFO] [stdout] 57 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [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] --> sys/src/events.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ActionType` [INFO] [stdout] 7 | #[repr(u8)] [INFO] [stdout] 8 | pub enum ActionType { [INFO] [stdout] | ---------- `ActionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> sys/src/unique_resource.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | / impl std::ops::Deref for UniqueResource [INFO] [stdout] 53 | | where [INFO] [stdout] 54 | | T: Copy + std::cmp::PartialEq, [INFO] [stdout] 55 | | D: ResourceDeleter + std::default::Default, [INFO] [stdout] | |__________________________________________________- trait implemented here [INFO] [stdout] 56 | { [INFO] [stdout] 57 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [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] --> sys/src/events.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ActionType` [INFO] [stdout] 7 | #[repr(u8)] [INFO] [stdout] 8 | pub enum ActionType { [INFO] [stdout] | ---------- `ActionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> sys/src/events.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ActionType` [INFO] [stdout] 7 | #[repr(u8)] [INFO] [stdout] 8 | pub enum ActionType { [INFO] [stdout] | ---------- `ActionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> sys/src/events.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MouseButtonId` [INFO] [stdout] 14 | #[repr(u8)] [INFO] [stdout] 15 | pub enum MouseButtonId { [INFO] [stdout] | ------------- `MouseButtonId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> sys/src/events.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MouseButtonId` [INFO] [stdout] 14 | #[repr(u8)] [INFO] [stdout] 15 | pub enum MouseButtonId { [INFO] [stdout] | ------------- `MouseButtonId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> sys/src/events.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ActionType` [INFO] [stdout] 7 | #[repr(u8)] [INFO] [stdout] 8 | pub enum ActionType { [INFO] [stdout] | ---------- `ActionType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (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] --> sys/src/events.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MouseButtonId` [INFO] [stdout] 14 | #[repr(u8)] [INFO] [stdout] 15 | pub enum MouseButtonId { [INFO] [stdout] | ------------- `MouseButtonId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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] --> sys/src/events.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Copy, Debug, Clone, PartialEq, Eq, Hash, FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_MouseButtonId` [INFO] [stdout] 14 | #[repr(u8)] [INFO] [stdout] 15 | pub enum MouseButtonId { [INFO] [stdout] | ------------- `MouseButtonId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sys` (lib) due to 1 previous error; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sys` (lib test) due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0a061aaf233b134c6d6c2283934732fa27f932cac0c4a96e4394a0c49b6cd99c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a061aaf233b134c6d6c2283934732fa27f932cac0c4a96e4394a0c49b6cd99c", kill_on_drop: false }` [INFO] [stdout] 0a061aaf233b134c6d6c2283934732fa27f932cac0c4a96e4394a0c49b6cd99c