[INFO] crate pangocairo 0.6.0 is already in cache [INFO] extracting crate pangocairo 0.6.0 into work/ex/clippy-test-run/sources/stable/reg/pangocairo/0.6.0 [INFO] extracting crate pangocairo 0.6.0 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/pangocairo/0.6.0 [INFO] validating manifest of pangocairo-0.6.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 pangocairo-0.6.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 pangocairo-0.6.0 [INFO] finished frobbing pangocairo-0.6.0 [INFO] frobbed toml for pangocairo-0.6.0 written to work/ex/clippy-test-run/sources/stable/reg/pangocairo/0.6.0/Cargo.toml [INFO] started frobbing pangocairo-0.6.0 [INFO] finished frobbing pangocairo-0.6.0 [INFO] frobbed toml for pangocairo-0.6.0 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/pangocairo/0.6.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 pangocairo-0.6.0 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-2/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/pangocairo/0.6.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] 40b1df3f6f713a6c6886574b9658067f87205719b5041291266f52a5ef1f238c [INFO] running `"docker" "start" "-a" "40b1df3f6f713a6c6886574b9658067f87205719b5041291266f52a5ef1f238c"` [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Compiling pangocairo v0.6.0 (/opt/crater/workdir) [INFO] [stderr] Checking gir-format-check v0.1.1 [INFO] [stderr] Compiling glib-sys v0.7.0 [INFO] [stderr] Compiling gobject-sys v0.7.0 [INFO] [stderr] Compiling pango-sys v0.7.0 [INFO] [stderr] Compiling cairo-sys-rs v0.7.0 [INFO] [stderr] Compiling pangocairo-sys v0.8.0 [INFO] [stderr] Checking glib v0.6.1 [INFO] [stderr] Checking pango v0.5.0 [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/lib.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | #[cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::too_many_arguments` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `useless_transmute` 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:22:44 [INFO] [stderr] | [INFO] [stderr] 22 | #[cfg_attr(feature = "cargo-clippy", allow(useless_transmute))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::useless_transmute` [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/lib.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | #[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 `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/lib.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | #[cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::too_many_arguments` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(renamed_and_removed_lints)] on by default [INFO] [stderr] [INFO] [stderr] warning: lint name `useless_transmute` 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:22:44 [INFO] [stderr] | [INFO] [stderr] 22 | #[cfg_attr(feature = "cargo-clippy", allow(useless_transmute))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: change it to: `clippy::useless_transmute` [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/lib.rs:21:44 [INFO] [stderr] | [INFO] [stderr] 21 | #[cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: change it to: `clippy::too_many_arguments` [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/fc_font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FcFontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | FontMap, [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/auto/fc_font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FcFontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | FontMap, [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/fc_font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FcFontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | FontMap, [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/fc_font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FcFontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | FontMap, [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/font.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Font(Object): [ [INFO] [stderr] 18 | | pango::Font => pango_ffi::PangoFont, [INFO] [stderr] 19 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/font.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Font(Object): [ [INFO] [stderr] 18 | | pango::Font => pango_ffi::PangoFont, [INFO] [stderr] 19 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/font.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Font(Object): [ [INFO] [stderr] 18 | | pango::Font => pango_ffi::PangoFont, [INFO] [stderr] 19 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/font.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Font(Object): [ [INFO] [stderr] 18 | | pango::Font => pango_ffi::PangoFont, [INFO] [stderr] 19 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [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/font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [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/font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [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/font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [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: methods called `new` usually return `Self` [INFO] [stderr] --> src/font_map.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | / pub fn new() -> Option { [INFO] [stderr] 32 | | unsafe { [INFO] [stderr] 33 | | from_glib_full(ffi::pango_cairo_font_map_new()) [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_ret_no_self)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self [INFO] [stderr] [INFO] [stderr] warning: use of `offset` with a `usize` casted to an `isize` [INFO] [stderr] --> src/auto/fc_font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FcFontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | FontMap, [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/auto/fc_font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FcFontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | FontMap, [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/fc_font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FcFontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | FontMap, [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/fc_font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FcFontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | FontMap, [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/font.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Font(Object): [ [INFO] [stderr] 18 | | pango::Font => pango_ffi::PangoFont, [INFO] [stderr] 19 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/font.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Font(Object): [ [INFO] [stderr] 18 | | pango::Font => pango_ffi::PangoFont, [INFO] [stderr] 19 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/font.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Font(Object): [ [INFO] [stderr] 18 | | pango::Font => pango_ffi::PangoFont, [INFO] [stderr] 19 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/font.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | / glib_wrapper! { [INFO] [stderr] 17 | | pub struct Font(Object): [ [INFO] [stderr] 18 | | pango::Font => pango_ffi::PangoFont, [INFO] [stderr] 19 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 23 | | } [INFO] [stderr] 24 | | } [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/font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [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/font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [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/font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [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/font_map.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / glib_wrapper! { [INFO] [stderr] 16 | | pub struct FontMap(Object): [ [INFO] [stderr] 17 | | pango::FontMap => pango_ffi::PangoFontMap, [INFO] [stderr] 18 | | ]; [INFO] [stderr] ... | [INFO] [stderr] 22 | | } [INFO] [stderr] 23 | | } [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: methods called `new` usually return `Self` [INFO] [stderr] --> src/font_map.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | / pub fn new() -> Option { [INFO] [stderr] 32 | | unsafe { [INFO] [stderr] 33 | | from_glib_full(ffi::pango_cairo_font_map_new()) [INFO] [stderr] 34 | | } [INFO] [stderr] 35 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::new_ret_no_self)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.03s [INFO] running `"docker" "inspect" "40b1df3f6f713a6c6886574b9658067f87205719b5041291266f52a5ef1f238c"` [INFO] running `"docker" "rm" "-f" "40b1df3f6f713a6c6886574b9658067f87205719b5041291266f52a5ef1f238c"` [INFO] [stdout] 40b1df3f6f713a6c6886574b9658067f87205719b5041291266f52a5ef1f238c