[INFO] crate gdk 0.9.0 is already in cache [INFO] extracting crate gdk 0.9.0 into work/ex/clippy-test-run/sources/stable/reg/gdk/0.9.0 [INFO] extracting crate gdk 0.9.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/gdk/0.9.0 [INFO] validating manifest of gdk-0.9.0 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of gdk-0.9.0 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing gdk-0.9.0 [INFO] finished frobbing gdk-0.9.0 [INFO] frobbed toml for gdk-0.9.0 written to work/ex/clippy-test-run/sources/stable/reg/gdk/0.9.0/Cargo.toml [INFO] started frobbing gdk-0.9.0 [INFO] finished frobbing gdk-0.9.0 [INFO] frobbed toml for gdk-0.9.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/gdk/0.9.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting gdk-0.9.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-3/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/gdk/0.9.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] f0411e51b6c1a61da179d6ef35b3bfc3364742ad04941a1ceac9aa5142881a73 [INFO] running `"docker" "start" "-a" "f0411e51b6c1a61da179d6ef35b3bfc3364742ad04941a1ceac9aa5142881a73"` [INFO] [stderr] Compiling gdk v0.9.0 (/opt/crater/workdir) [INFO] [stderr] Checking gir-format-check v0.1.1 [INFO] [stderr] Checking pango v0.5.0 [INFO] [stderr] Checking gdk-sys v0.7.0 [INFO] [stderr] Checking gdk-pixbuf v0.5.0 [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | #![cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `transmute_int_to_char` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:7:45 [INFO] [stderr] | [INFO] [stderr] 7 | #![cfg_attr(feature = "cargo-clippy", allow(transmute_int_to_char))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::transmute_int_to_char` [INFO] [stderr] [INFO] [stderr] warning: lint name `transmute_ptr_to_ptr` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:8:45 [INFO] [stderr] | [INFO] [stderr] 8 | #![cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ptr))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::transmute_ptr_to_ptr` [INFO] [stderr] [INFO] [stderr] warning: lint name `trivially_copy_pass_by_ref` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:9:45 [INFO] [stderr] | [INFO] [stderr] 9 | #![cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::trivially_copy_pass_by_ref` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | #![cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `transmute_int_to_char` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:7:45 [INFO] [stderr] | [INFO] [stderr] 7 | #![cfg_attr(feature = "cargo-clippy", allow(transmute_int_to_char))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::transmute_int_to_char` [INFO] [stderr] [INFO] [stderr] warning: lint name `transmute_ptr_to_ptr` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:8:45 [INFO] [stderr] | [INFO] [stderr] 8 | #![cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ptr))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::transmute_ptr_to_ptr` [INFO] [stderr] [INFO] [stderr] warning: lint name `trivially_copy_pass_by_ref` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:9:45 [INFO] [stderr] | [INFO] [stderr] 9 | #![cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::trivially_copy_pass_by_ref` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | #![cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_ptr_alignment` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | #![cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::cast_ptr_alignment` [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_lossless` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/event.rs:310:48 [INFO] [stderr] | [INFO] [stderr] 310 | #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))] [INFO] [stderr] | ^^^^^^^^^^^^^ help: change it to: `clippy::cast_lossless` [INFO] [stderr] [INFO] [stderr] warning: lint name `transmute_ptr_to_ref` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:31:44 [INFO] [stderr] | [INFO] [stderr] 31 | #[cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ref))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::transmute_ptr_to_ref` [INFO] [stderr] [INFO] [stderr] warning: lint name `type_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:32:44 [INFO] [stderr] | [INFO] [stderr] 32 | #[cfg_attr(feature = "cargo-clippy", allow(type_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `unreadable_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:33:44 [INFO] [stderr] | [INFO] [stderr] 33 | #[cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::unreadable_literal` [INFO] [stderr] [INFO] [stderr] warning: unused import: `glib::Quark` [INFO] [stderr] --> src/auto/enums.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use glib::Quark; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `glib::error::ErrorDomain` [INFO] [stderr] --> src/auto/enums.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use glib::error::ErrorDomain; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint name `cast_lossless` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/event.rs:310:48 [INFO] [stderr] | [INFO] [stderr] 310 | #[cfg_attr(feature = "cargo-clippy", allow(cast_lossless))] [INFO] [stderr] | ^^^^^^^^^^^^^ help: change it to: `clippy::cast_lossless` [INFO] [stderr] [INFO] [stderr] warning: lint name `transmute_ptr_to_ref` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:31:44 [INFO] [stderr] | [INFO] [stderr] 31 | #[cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ref))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::transmute_ptr_to_ref` [INFO] [stderr] [INFO] [stderr] warning: lint name `type_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:32:44 [INFO] [stderr] | [INFO] [stderr] 32 | #[cfg_attr(feature = "cargo-clippy", allow(type_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `unreadable_literal` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/lib.rs:33:44 [INFO] [stderr] | [INFO] [stderr] 33 | #[cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::unreadable_literal` [INFO] [stderr] [INFO] [stderr] warning: unused import: `glib::Quark` [INFO] [stderr] --> src/auto/enums.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use glib::Quark; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `glib::error::ErrorDomain` [INFO] [stderr] --> src/auto/enums.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use glib::error::ErrorDomain; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lint name `too_many_arguments` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/drag_context.rs:29:48 [INFO] [stderr] | [INFO] [stderr] 29 | #[cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::too_many_arguments` [INFO] [stderr] [INFO] [stderr] warning: lint name `type_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/window.rs:72:44 [INFO] [stderr] | [INFO] [stderr] 72 | #[cfg_attr(feature = "cargo-clippy", allow(type_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `mut_from_ref` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/window.rs:128:48 [INFO] [stderr] | [INFO] [stderr] 128 | #[cfg_attr(feature = "cargo-clippy", allow(mut_from_ref))] [INFO] [stderr] | ^^^^^^^^^^^^ help: change it to: `clippy::mut_from_ref` [INFO] [stderr] [INFO] [stderr] warning: lint name `too_many_arguments` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/drag_context.rs:29:48 [INFO] [stderr] | [INFO] [stderr] 29 | #[cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::too_many_arguments` [INFO] [stderr] [INFO] [stderr] warning: lint name `type_complexity` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/window.rs:72:44 [INFO] [stderr] | [INFO] [stderr] 72 | #[cfg_attr(feature = "cargo-clippy", allow(type_complexity))] [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: change it to: `clippy::type_complexity` [INFO] [stderr] [INFO] [stderr] warning: lint name `mut_from_ref` is deprecated and may not have an effect in the future. Also `cfg_attr(cargo-clippy)` won't be necessary anymore [INFO] [stderr] --> src/window.rs:128:48 [INFO] [stderr] | [INFO] [stderr] 128 | #[cfg_attr(feature = "cargo-clippy", allow(mut_from_ref))] [INFO] [stderr] | ^^^^^^^^^^^^ help: change it to: `clippy::mut_from_ref` [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/event.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / glib_wrapper! { [INFO] [stderr] 30 | | /// A generic GDK event. [INFO] [stderr] 31 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 32 | | pub struct Event(Boxed); [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_offset_with_cast)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/event.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / glib_wrapper! { [INFO] [stderr] 30 | | /// A generic GDK event. [INFO] [stderr] 31 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 32 | | pub struct Event(Boxed); [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/event.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / glib_wrapper! { [INFO] [stderr] 30 | | /// A generic GDK event. [INFO] [stderr] 31 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 32 | | pub struct Event(Boxed); [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/event.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / glib_wrapper! { [INFO] [stderr] 30 | | /// A generic GDK event. [INFO] [stderr] 31 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 32 | | pub struct Event(Boxed); [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/event.rs:449:8 [INFO] [stderr] | [INFO] [stderr] 449 | if ptr != ptr::null_mut() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cmp_null)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/event.rs:458:8 [INFO] [stderr] | [INFO] [stderr] 458 | if ptr != ptr::null_mut() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/app_launch_context.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / glib_wrapper! { [INFO] [stderr] 26 | | pub struct AppLaunchContext(Object): [ [INFO] [stderr] 27 | | gio::AppLaunchContext => gio_ffi::GAppLaunchContext, [INFO] [stderr] 28 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/app_launch_context.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / glib_wrapper! { [INFO] [stderr] 26 | | pub struct AppLaunchContext(Object): [ [INFO] [stderr] 27 | | gio::AppLaunchContext => gio_ffi::GAppLaunchContext, [INFO] [stderr] 28 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/app_launch_context.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / glib_wrapper! { [INFO] [stderr] 26 | | pub struct AppLaunchContext(Object): [ [INFO] [stderr] 27 | | gio::AppLaunchContext => gio_ffi::GAppLaunchContext, [INFO] [stderr] 28 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/app_launch_context.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / glib_wrapper! { [INFO] [stderr] 26 | | pub struct AppLaunchContext(Object): [ [INFO] [stderr] 27 | | gio::AppLaunchContext => gio_ffi::GAppLaunchContext, [INFO] [stderr] 28 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/cursor.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Cursor(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_cursor_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/cursor.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Cursor(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_cursor_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/cursor.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Cursor(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_cursor_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/cursor.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Cursor(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_cursor_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / glib_wrapper! { [INFO] [stderr] 42 | | pub struct Device(Object); [INFO] [stderr] 43 | | [INFO] [stderr] 44 | | match fn { [INFO] [stderr] 45 | | get_type => || ffi::gdk_device_get_type(), [INFO] [stderr] 46 | | } [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / glib_wrapper! { [INFO] [stderr] 42 | | pub struct Device(Object); [INFO] [stderr] 43 | | [INFO] [stderr] 44 | | match fn { [INFO] [stderr] 45 | | get_type => || ffi::gdk_device_get_type(), [INFO] [stderr] 46 | | } [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / glib_wrapper! { [INFO] [stderr] 42 | | pub struct Device(Object); [INFO] [stderr] 43 | | [INFO] [stderr] 44 | | match fn { [INFO] [stderr] 45 | | get_type => || ffi::gdk_device_get_type(), [INFO] [stderr] 46 | | } [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / glib_wrapper! { [INFO] [stderr] 42 | | pub struct Device(Object); [INFO] [stderr] 43 | | [INFO] [stderr] 44 | | match fn { [INFO] [stderr] 45 | | get_type => || ffi::gdk_device_get_type(), [INFO] [stderr] 46 | | } [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device_manager.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / glib_wrapper! { [INFO] [stderr] 23 | | pub struct DeviceManager(Object); [INFO] [stderr] 24 | | [INFO] [stderr] 25 | | match fn { [INFO] [stderr] 26 | | get_type => || ffi::gdk_device_manager_get_type(), [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device_manager.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / glib_wrapper! { [INFO] [stderr] 23 | | pub struct DeviceManager(Object); [INFO] [stderr] 24 | | [INFO] [stderr] 25 | | match fn { [INFO] [stderr] 26 | | get_type => || ffi::gdk_device_manager_get_type(), [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device_manager.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / glib_wrapper! { [INFO] [stderr] 23 | | pub struct DeviceManager(Object); [INFO] [stderr] 24 | | [INFO] [stderr] 25 | | match fn { [INFO] [stderr] 26 | | get_type => || ffi::gdk_device_manager_get_type(), [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device_manager.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / glib_wrapper! { [INFO] [stderr] 23 | | pub struct DeviceManager(Object); [INFO] [stderr] 24 | | [INFO] [stderr] 25 | | match fn { [INFO] [stderr] 26 | | get_type => || ffi::gdk_device_manager_get_type(), [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / glib_wrapper! { [INFO] [stderr] 32 | | pub struct Display(Object); [INFO] [stderr] 33 | | [INFO] [stderr] 34 | | match fn { [INFO] [stderr] 35 | | get_type => || ffi::gdk_display_get_type(), [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / glib_wrapper! { [INFO] [stderr] 32 | | pub struct Display(Object); [INFO] [stderr] 33 | | [INFO] [stderr] 34 | | match fn { [INFO] [stderr] 35 | | get_type => || ffi::gdk_display_get_type(), [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / glib_wrapper! { [INFO] [stderr] 32 | | pub struct Display(Object); [INFO] [stderr] 33 | | [INFO] [stderr] 34 | | match fn { [INFO] [stderr] 35 | | get_type => || ffi::gdk_display_get_type(), [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / glib_wrapper! { [INFO] [stderr] 32 | | pub struct Display(Object); [INFO] [stderr] 33 | | [INFO] [stderr] 34 | | match fn { [INFO] [stderr] 35 | | get_type => || ffi::gdk_display_get_type(), [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display_manager.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / glib_wrapper! { [INFO] [stderr] 21 | | pub struct DisplayManager(Object); [INFO] [stderr] 22 | | [INFO] [stderr] 23 | | match fn { [INFO] [stderr] 24 | | get_type => || ffi::gdk_display_manager_get_type(), [INFO] [stderr] 25 | | } [INFO] [stderr] 26 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display_manager.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / glib_wrapper! { [INFO] [stderr] 21 | | pub struct DisplayManager(Object); [INFO] [stderr] 22 | | [INFO] [stderr] 23 | | match fn { [INFO] [stderr] 24 | | get_type => || ffi::gdk_display_manager_get_type(), [INFO] [stderr] 25 | | } [INFO] [stderr] 26 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display_manager.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / glib_wrapper! { [INFO] [stderr] 21 | | pub struct DisplayManager(Object); [INFO] [stderr] 22 | | [INFO] [stderr] 23 | | match fn { [INFO] [stderr] 24 | | get_type => || ffi::gdk_display_manager_get_type(), [INFO] [stderr] 25 | | } [INFO] [stderr] 26 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display_manager.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / glib_wrapper! { [INFO] [stderr] 21 | | pub struct DisplayManager(Object); [INFO] [stderr] 22 | | [INFO] [stderr] 23 | | match fn { [INFO] [stderr] 24 | | get_type => || ffi::gdk_display_manager_get_type(), [INFO] [stderr] 25 | | } [INFO] [stderr] 26 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/drag_context.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / glib_wrapper! { [INFO] [stderr] 34 | | pub struct DragContext(Object); [INFO] [stderr] 35 | | [INFO] [stderr] 36 | | match fn { [INFO] [stderr] 37 | | get_type => || ffi::gdk_drag_context_get_type(), [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/drag_context.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / glib_wrapper! { [INFO] [stderr] 34 | | pub struct DragContext(Object); [INFO] [stderr] 35 | | [INFO] [stderr] 36 | | match fn { [INFO] [stderr] 37 | | get_type => || ffi::gdk_drag_context_get_type(), [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/drag_context.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / glib_wrapper! { [INFO] [stderr] 34 | | pub struct DragContext(Object); [INFO] [stderr] 35 | | [INFO] [stderr] 36 | | match fn { [INFO] [stderr] 37 | | get_type => || ffi::gdk_drag_context_get_type(), [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/drag_context.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / glib_wrapper! { [INFO] [stderr] 34 | | pub struct DragContext(Object); [INFO] [stderr] 35 | | [INFO] [stderr] 36 | | match fn { [INFO] [stderr] 37 | | get_type => || ffi::gdk_drag_context_get_type(), [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/screen.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Screen(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_screen_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/screen.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Screen(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_screen_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/screen.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Screen(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_screen_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/screen.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Screen(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_screen_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/visual.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Visual(Object); [INFO] [stderr] 18 | | [INFO] [stderr] 19 | | match fn { [INFO] [stderr] 20 | | get_type => || ffi::gdk_visual_get_type(), [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/visual.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Visual(Object); [INFO] [stderr] 18 | | [INFO] [stderr] 19 | | match fn { [INFO] [stderr] 20 | | get_type => || ffi::gdk_visual_get_type(), [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/visual.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Visual(Object); [INFO] [stderr] 18 | | [INFO] [stderr] 19 | | match fn { [INFO] [stderr] 20 | | get_type => || ffi::gdk_visual_get_type(), [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/visual.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Visual(Object); [INFO] [stderr] 18 | | [INFO] [stderr] 19 | | match fn { [INFO] [stderr] 20 | | get_type => || ffi::gdk_visual_get_type(), [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/window.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / glib_wrapper! { [INFO] [stderr] 55 | | pub struct Window(Object); [INFO] [stderr] 56 | | [INFO] [stderr] 57 | | match fn { [INFO] [stderr] 58 | | get_type => || ffi::gdk_window_get_type(), [INFO] [stderr] 59 | | } [INFO] [stderr] 60 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/window.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / glib_wrapper! { [INFO] [stderr] 55 | | pub struct Window(Object); [INFO] [stderr] 56 | | [INFO] [stderr] 57 | | match fn { [INFO] [stderr] 58 | | get_type => || ffi::gdk_window_get_type(), [INFO] [stderr] 59 | | } [INFO] [stderr] 60 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/window.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / glib_wrapper! { [INFO] [stderr] 55 | | pub struct Window(Object); [INFO] [stderr] 56 | | [INFO] [stderr] 57 | | match fn { [INFO] [stderr] 58 | | get_type => || ffi::gdk_window_get_type(), [INFO] [stderr] 59 | | } [INFO] [stderr] 60 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/window.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / glib_wrapper! { [INFO] [stderr] 55 | | pub struct Window(Object); [INFO] [stderr] 56 | | [INFO] [stderr] 57 | | match fn { [INFO] [stderr] 58 | | get_type => || ffi::gdk_window_get_type(), [INFO] [stderr] 59 | | } [INFO] [stderr] 60 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/event.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / glib_wrapper! { [INFO] [stderr] 30 | | /// A generic GDK event. [INFO] [stderr] 31 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 32 | | pub struct Event(Boxed); [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::ptr_offset_with_cast)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/event.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / glib_wrapper! { [INFO] [stderr] 30 | | /// A generic GDK event. [INFO] [stderr] 31 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 32 | | pub struct Event(Boxed); [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/event.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / glib_wrapper! { [INFO] [stderr] 30 | | /// A generic GDK event. [INFO] [stderr] 31 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 32 | | pub struct Event(Boxed); [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/event.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | / glib_wrapper! { [INFO] [stderr] 30 | | /// A generic GDK event. [INFO] [stderr] 31 | | #[derive(PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 32 | | pub struct Event(Boxed); [INFO] [stderr] ... | [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/event.rs:449:8 [INFO] [stderr] | [INFO] [stderr] 449 | if ptr != ptr::null_mut() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cmp_null)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] [INFO] [stderr] warning: Comparing with null is better expressed by the .is_null() method [INFO] [stderr] --> src/event.rs:458:8 [INFO] [stderr] | [INFO] [stderr] 458 | if ptr != ptr::null_mut() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_null [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/app_launch_context.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / glib_wrapper! { [INFO] [stderr] 26 | | pub struct AppLaunchContext(Object): [ [INFO] [stderr] 27 | | gio::AppLaunchContext => gio_ffi::GAppLaunchContext, [INFO] [stderr] 28 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/app_launch_context.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / glib_wrapper! { [INFO] [stderr] 26 | | pub struct AppLaunchContext(Object): [ [INFO] [stderr] 27 | | gio::AppLaunchContext => gio_ffi::GAppLaunchContext, [INFO] [stderr] 28 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/app_launch_context.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / glib_wrapper! { [INFO] [stderr] 26 | | pub struct AppLaunchContext(Object): [ [INFO] [stderr] 27 | | gio::AppLaunchContext => gio_ffi::GAppLaunchContext, [INFO] [stderr] 28 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/app_launch_context.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | / glib_wrapper! { [INFO] [stderr] 26 | | pub struct AppLaunchContext(Object): [ [INFO] [stderr] 27 | | gio::AppLaunchContext => gio_ffi::GAppLaunchContext, [INFO] [stderr] 28 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 32 | | } [INFO] [stderr] 33 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/cursor.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Cursor(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_cursor_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/cursor.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Cursor(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_cursor_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/cursor.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Cursor(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_cursor_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/event_sequence.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / glib_wrapper! { [INFO] [stderr] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 14 | | pub struct EventSequence(Boxed); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/event_sequence.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / glib_wrapper! { [INFO] [stderr] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 14 | | pub struct EventSequence(Boxed); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/cursor.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Cursor(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_cursor_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/event_sequence.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / glib_wrapper! { [INFO] [stderr] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 14 | | pub struct EventSequence(Boxed); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/event_sequence.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / glib_wrapper! { [INFO] [stderr] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 14 | | pub struct EventSequence(Boxed); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / glib_wrapper! { [INFO] [stderr] 42 | | pub struct Device(Object); [INFO] [stderr] 43 | | [INFO] [stderr] 44 | | match fn { [INFO] [stderr] 45 | | get_type => || ffi::gdk_device_get_type(), [INFO] [stderr] 46 | | } [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / glib_wrapper! { [INFO] [stderr] 42 | | pub struct Device(Object); [INFO] [stderr] 43 | | [INFO] [stderr] 44 | | match fn { [INFO] [stderr] 45 | | get_type => || ffi::gdk_device_get_type(), [INFO] [stderr] 46 | | } [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / glib_wrapper! { [INFO] [stderr] 42 | | pub struct Device(Object); [INFO] [stderr] 43 | | [INFO] [stderr] 44 | | match fn { [INFO] [stderr] 45 | | get_type => || ffi::gdk_device_get_type(), [INFO] [stderr] 46 | | } [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device.rs:41:1 [INFO] [stderr] | [INFO] [stderr] 41 | / glib_wrapper! { [INFO] [stderr] 42 | | pub struct Device(Object); [INFO] [stderr] 43 | | [INFO] [stderr] 44 | | match fn { [INFO] [stderr] 45 | | get_type => || ffi::gdk_device_get_type(), [INFO] [stderr] 46 | | } [INFO] [stderr] 47 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device_manager.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / glib_wrapper! { [INFO] [stderr] 23 | | pub struct DeviceManager(Object); [INFO] [stderr] 24 | | [INFO] [stderr] 25 | | match fn { [INFO] [stderr] 26 | | get_type => || ffi::gdk_device_manager_get_type(), [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device_manager.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / glib_wrapper! { [INFO] [stderr] 23 | | pub struct DeviceManager(Object); [INFO] [stderr] 24 | | [INFO] [stderr] 25 | | match fn { [INFO] [stderr] 26 | | get_type => || ffi::gdk_device_manager_get_type(), [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device_manager.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / glib_wrapper! { [INFO] [stderr] 23 | | pub struct DeviceManager(Object); [INFO] [stderr] 24 | | [INFO] [stderr] 25 | | match fn { [INFO] [stderr] 26 | | get_type => || ffi::gdk_device_manager_get_type(), [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/device_manager.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | / glib_wrapper! { [INFO] [stderr] 23 | | pub struct DeviceManager(Object); [INFO] [stderr] 24 | | [INFO] [stderr] 25 | | match fn { [INFO] [stderr] 26 | | get_type => || ffi::gdk_device_manager_get_type(), [INFO] [stderr] 27 | | } [INFO] [stderr] 28 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / glib_wrapper! { [INFO] [stderr] 32 | | pub struct Display(Object); [INFO] [stderr] 33 | | [INFO] [stderr] 34 | | match fn { [INFO] [stderr] 35 | | get_type => || ffi::gdk_display_get_type(), [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / glib_wrapper! { [INFO] [stderr] 32 | | pub struct Display(Object); [INFO] [stderr] 33 | | [INFO] [stderr] 34 | | match fn { [INFO] [stderr] 35 | | get_type => || ffi::gdk_display_get_type(), [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / glib_wrapper! { [INFO] [stderr] 32 | | pub struct Display(Object); [INFO] [stderr] 33 | | [INFO] [stderr] 34 | | match fn { [INFO] [stderr] 35 | | get_type => || ffi::gdk_display_get_type(), [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display.rs:31:1 [INFO] [stderr] | [INFO] [stderr] 31 | / glib_wrapper! { [INFO] [stderr] 32 | | pub struct Display(Object); [INFO] [stderr] 33 | | [INFO] [stderr] 34 | | match fn { [INFO] [stderr] 35 | | get_type => || ffi::gdk_display_get_type(), [INFO] [stderr] 36 | | } [INFO] [stderr] 37 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display_manager.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / glib_wrapper! { [INFO] [stderr] 21 | | pub struct DisplayManager(Object); [INFO] [stderr] 22 | | [INFO] [stderr] 23 | | match fn { [INFO] [stderr] 24 | | get_type => || ffi::gdk_display_manager_get_type(), [INFO] [stderr] 25 | | } [INFO] [stderr] 26 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display_manager.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / glib_wrapper! { [INFO] [stderr] 21 | | pub struct DisplayManager(Object); [INFO] [stderr] 22 | | [INFO] [stderr] 23 | | match fn { [INFO] [stderr] 24 | | get_type => || ffi::gdk_display_manager_get_type(), [INFO] [stderr] 25 | | } [INFO] [stderr] 26 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display_manager.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / glib_wrapper! { [INFO] [stderr] 21 | | pub struct DisplayManager(Object); [INFO] [stderr] 22 | | [INFO] [stderr] 23 | | match fn { [INFO] [stderr] 24 | | get_type => || ffi::gdk_display_manager_get_type(), [INFO] [stderr] 25 | | } [INFO] [stderr] 26 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/display_manager.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | / glib_wrapper! { [INFO] [stderr] 21 | | pub struct DisplayManager(Object); [INFO] [stderr] 22 | | [INFO] [stderr] 23 | | match fn { [INFO] [stderr] 24 | | get_type => || ffi::gdk_display_manager_get_type(), [INFO] [stderr] 25 | | } [INFO] [stderr] 26 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/drag_context.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / glib_wrapper! { [INFO] [stderr] 34 | | pub struct DragContext(Object); [INFO] [stderr] 35 | | [INFO] [stderr] 36 | | match fn { [INFO] [stderr] 37 | | get_type => || ffi::gdk_drag_context_get_type(), [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/drag_context.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / glib_wrapper! { [INFO] [stderr] 34 | | pub struct DragContext(Object); [INFO] [stderr] 35 | | [INFO] [stderr] 36 | | match fn { [INFO] [stderr] 37 | | get_type => || ffi::gdk_drag_context_get_type(), [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/drag_context.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / glib_wrapper! { [INFO] [stderr] 34 | | pub struct DragContext(Object); [INFO] [stderr] 35 | | [INFO] [stderr] 36 | | match fn { [INFO] [stderr] 37 | | get_type => || ffi::gdk_drag_context_get_type(), [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/drag_context.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / glib_wrapper! { [INFO] [stderr] 34 | | pub struct DragContext(Object); [INFO] [stderr] 35 | | [INFO] [stderr] 36 | | match fn { [INFO] [stderr] 37 | | get_type => || ffi::gdk_drag_context_get_type(), [INFO] [stderr] 38 | | } [INFO] [stderr] 39 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/screen.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Screen(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_screen_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/screen.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Screen(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_screen_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/screen.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Screen(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_screen_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/screen.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | / glib_wrapper! { [INFO] [stderr] 25 | | pub struct Screen(Object); [INFO] [stderr] 26 | | [INFO] [stderr] 27 | | match fn { [INFO] [stderr] 28 | | get_type => || ffi::gdk_screen_get_type(), [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/visual.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Visual(Object); [INFO] [stderr] 18 | | [INFO] [stderr] 19 | | match fn { [INFO] [stderr] 20 | | get_type => || ffi::gdk_visual_get_type(), [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/visual.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Visual(Object); [INFO] [stderr] 18 | | [INFO] [stderr] 19 | | match fn { [INFO] [stderr] 20 | | get_type => || ffi::gdk_visual_get_type(), [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/visual.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Visual(Object); [INFO] [stderr] 18 | | [INFO] [stderr] 19 | | match fn { [INFO] [stderr] 20 | | get_type => || ffi::gdk_visual_get_type(), [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/visual.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Visual(Object); [INFO] [stderr] 18 | | [INFO] [stderr] 19 | | match fn { [INFO] [stderr] 20 | | get_type => || ffi::gdk_visual_get_type(), [INFO] [stderr] 21 | | } [INFO] [stderr] 22 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/window.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / glib_wrapper! { [INFO] [stderr] 55 | | pub struct Window(Object); [INFO] [stderr] 56 | | [INFO] [stderr] 57 | | match fn { [INFO] [stderr] 58 | | get_type => || ffi::gdk_window_get_type(), [INFO] [stderr] 59 | | } [INFO] [stderr] 60 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/window.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / glib_wrapper! { [INFO] [stderr] 55 | | pub struct Window(Object); [INFO] [stderr] 56 | | [INFO] [stderr] 57 | | match fn { [INFO] [stderr] 58 | | get_type => || ffi::gdk_window_get_type(), [INFO] [stderr] 59 | | } [INFO] [stderr] 60 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/window.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / glib_wrapper! { [INFO] [stderr] 55 | | pub struct Window(Object); [INFO] [stderr] 56 | | [INFO] [stderr] 57 | | match fn { [INFO] [stderr] 58 | | get_type => || ffi::gdk_window_get_type(), [INFO] [stderr] 59 | | } [INFO] [stderr] 60 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/window.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | / glib_wrapper! { [INFO] [stderr] 55 | | pub struct Window(Object); [INFO] [stderr] 56 | | [INFO] [stderr] 57 | | match fn { [INFO] [stderr] 58 | | get_type => || ffi::gdk_window_get_type(), [INFO] [stderr] 59 | | } [INFO] [stderr] 60 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/event_sequence.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / glib_wrapper! { [INFO] [stderr] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 14 | | pub struct EventSequence(Boxed); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/event_sequence.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / glib_wrapper! { [INFO] [stderr] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 14 | | pub struct EventSequence(Boxed); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/event_sequence.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / glib_wrapper! { [INFO] [stderr] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 14 | | pub struct EventSequence(Boxed); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/event_sequence.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | / glib_wrapper! { [INFO] [stderr] 13 | | #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] [INFO] [stderr] 14 | | pub struct EventSequence(Boxed); [INFO] [stderr] 15 | | [INFO] [stderr] ... | [INFO] [stderr] 20 | | } [INFO] [stderr] 21 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/atom.rs:99:28 [INFO] [stderr] | [INFO] [stderr] 99 | ptr::write(v_ptr.offset(i as isize), s.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `v_ptr.add(i)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/atom.rs:133:47 [INFO] [stderr] | [INFO] [stderr] 133 | res.push(from_glib_none(ptr::read(ptr.offset(i as isize)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `ptr.add(i)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/atom.rs:151:47 [INFO] [stderr] | [INFO] [stderr] 151 | res.push(from_glib_full(ptr::read(ptr.offset(i as isize)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `ptr.add(i)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] [INFO] [stderr] warning: item `change_data::ChangeData<'a>` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/change_data.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / impl<'a> ChangeData<'a> { [INFO] [stderr] 19 | | pub fn to_glib(&'a self) -> *const u8 { [INFO] [stderr] 20 | | match *self { [INFO] [stderr] 21 | | ChangeData::UChars(d) => d.as_ptr() as *const _, [INFO] [stderr] ... | [INFO] [stderr] 39 | | } [INFO] [stderr] 40 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_without_is_empty)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stderr] [INFO] [stderr] warning: casting i16 to i32 may become silently lossy if types change [INFO] [stderr] --> src/event_focus.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | from_glib(self.as_ref().in_ as _) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `i32::from(self.as_ref().in_)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: casting i16 to i32 may become silently lossy if types change [INFO] [stderr] --> src/event_motion.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | from_glib(self.as_ref().is_hint as _) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `i32::from(self.as_ref().is_hint)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/atom.rs:99:28 [INFO] [stderr] | [INFO] [stderr] 99 | ptr::write(v_ptr.offset(i as isize), s.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `v_ptr.add(i)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/atom.rs:133:47 [INFO] [stderr] | [INFO] [stderr] 133 | res.push(from_glib_none(ptr::read(ptr.offset(i as isize)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `ptr.add(i)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/atom.rs:151:47 [INFO] [stderr] | [INFO] [stderr] 151 | res.push(from_glib_full(ptr::read(ptr.offset(i as isize)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `ptr.add(i)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_offset_with_cast [INFO] [stderr] [INFO] [stderr] warning: item `change_data::ChangeData<'a>` has a public `len` method but no corresponding `is_empty` method [INFO] [stderr] --> src/change_data.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | / impl<'a> ChangeData<'a> { [INFO] [stderr] 19 | | pub fn to_glib(&'a self) -> *const u8 { [INFO] [stderr] 20 | | match *self { [INFO] [stderr] 21 | | ChangeData::UChars(d) => d.as_ptr() as *const _, [INFO] [stderr] ... | [INFO] [stderr] 39 | | } [INFO] [stderr] 40 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::len_without_is_empty)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stderr] [INFO] [stderr] warning: casting i16 to i32 may become silently lossy if types change [INFO] [stderr] --> src/event_focus.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | from_glib(self.as_ref().in_ as _) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try: `i32::from(self.as_ref().in_)` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::cast_lossless)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/functions.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | if done == true { [INFO] [stderr] | ^^^^^^^^^^^^ help: try simplifying it as shown: `done` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::bool_comparison)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/screen.rs:33:16 [INFO] [stderr] | [INFO] [stderr] 33 | if done == true { [INFO] [stderr] | ^^^^^^^^^^^^ help: try simplifying it as shown: `done` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: casting i16 to i32 may become silently lossy if types change [INFO] [stderr] --> src/event_motion.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | from_glib(self.as_ref().is_hint as _) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `i32::from(self.as_ref().is_hint)` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/functions.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | if done == true { [INFO] [stderr] | ^^^^^^^^^^^^ help: try simplifying it as shown: `done` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::bool_comparison)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] warning: equality checks against true are unnecessary [INFO] [stderr] --> src/screen.rs:33:16 [INFO] [stderr] | [INFO] [stderr] 33 | if done == true { [INFO] [stderr] | ^^^^^^^^^^^^ help: try simplifying it as shown: `done` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.20s [INFO] running `"docker" "inspect" "f0411e51b6c1a61da179d6ef35b3bfc3364742ad04941a1ceac9aa5142881a73"` [INFO] running `"docker" "rm" "-f" "f0411e51b6c1a61da179d6ef35b3bfc3364742ad04941a1ceac9aa5142881a73"` [INFO] [stdout] f0411e51b6c1a61da179d6ef35b3bfc3364742ad04941a1ceac9aa5142881a73