Running phase: unpackPhase unpacking source archive /nix/store/9wqwrxsz42118ay5s8cimspnkla4scsj-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook Running phase: patchPhase applying patch /nix/store/r5a8ppzc0yqinybwgqh0gkjbw6kz6cvi-82c754a92807ffa851defd59dea99bee652a2b2b.patch patching file src/vkeyboard.rs Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/squeekboard-1.43.1-vendor/Cargo.lock Finished cargoSetupPostPatchHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase mesonConfigurePhase flags: --prefix=/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1 --libdir=/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/lib --libexecdir=/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/libexec --bindir=/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin --sbindir=/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/sbin --includedir=/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/include --mandir=/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/man --infodir=/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/info --localedir=/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale -Dauto_features=enabled -Dwrap_mode=nodownload --buildtype=plain The Meson build system Version: 1.12.1 Source dir: /build/source Build dir: /build/source/build Build type: native build Project name: squeekboard Project version: 1.43.1 C compiler for the host machine: gcc (gcc 16.2.0 "gcc (GCC) 16.2.0") C linker for the host machine: gcc ld.bfd 2.46 Rust compiler for the host machine: rustc -C linker=gcc (rustc 1.99.0 "1.99.0") Rust linker for the host machine: ld.bfd 2.46 Host machine cpu family: x86_64 Host machine cpu: x86_64 meson.build:44: WARNING: Consider using the built-in werror option instead of using "-Werror". Message: ------------------ squeekboard 1.43.1 ------------------ Program cp found: YES (/nix/store/cb987zkxvsv0490753ilrvn5yk7ylgxi-coreutils-9.12/bin/cp) Program sed found: YES (/nix/store/9wc73n5izv0m7ppjbibi4hbr68rba1lj-gnused-4.10/bin/sed) Configuring Cargo.toml using configuration Program cargo found: YES (/nix/store/l3jrya2cdjmzxgdpnxzwvx3h416lcbr6-cargo-1.99.0/bin/cargo) Program cargo.sh found: YES (/build/source/cargo.sh) Program cargo_build.py found: YES (/nix/store/xahxrjs30p3mw0a42bqg9ikgkikskw8m-python3-3.14.8/bin/python3.14 /build/source/cargo_build.py) Program glib-compile-schemas found: YES (/nix/store/83xd689yld0y8lgk0fc06f542yid4yh7-glib-2.88.3-dev/bin/glib-compile-schemas) Program glib-compile-schemas found: YES (/nix/store/83xd689yld0y8lgk0fc06f542yid4yh7-glib-2.88.3-dev/bin/glib-compile-schemas) Found pkg-config: YES (/nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Found pkg-config: YES (/nix/store/s70gz6bvz74c36xigh5m2ab2cqli08cv-pkg-config-wrapper-0.29.2/bin/pkg-config) 0.29.2 Run-time dependency gio-2.0 found: YES 2.88.3 Program /nix/store/83xd689yld0y8lgk0fc06f542yid4yh7-glib-2.88.3-dev/bin/glib-compile-resources found: YES (/nix/store/83xd689yld0y8lgk0fc06f542yid4yh7-glib-2.88.3-dev/bin/glib-compile-resources) Configuring sm.puri.Squeekboard.desktop.in using configuration Program msgfmt found: YES (/nix/store/8qdw9shgr7dd3315jim8sfva2dnhq86c-gettext-1.0/bin/msgfmt) Program msginit found: YES (/nix/store/8qdw9shgr7dd3315jim8sfva2dnhq86c-gettext-1.0/bin/msginit) Program msgmerge found: YES (/nix/store/8qdw9shgr7dd3315jim8sfva2dnhq86c-gettext-1.0/bin/msgmerge) Program xgettext found: YES (/nix/store/8qdw9shgr7dd3315jim8sfva2dnhq86c-gettext-1.0/bin/xgettext) Run-time dependency wayland-protocols found: YES 1.49 Program wayland-scanner found: YES (/nix/store/hdqa5pkvhfz2j48psb2d5axr81xc5gnq-wayland-scanner-1.26.0-bin/bin/wayland-scanner) Dependency gio-2.0 for host machine found: YES 2.88.3 (cached) Program /nix/store/83xd689yld0y8lgk0fc06f542yid4yh7-glib-2.88.3-dev/bin/gdbus-codegen found: YES (/nix/store/83xd689yld0y8lgk0fc06f542yid4yh7-glib-2.88.3-dev/bin/gdbus-codegen) Configuring config.h using configuration Dependency gio-2.0 for host machine found: YES 2.88.3 (cached) Run-time dependency gio-unix-2.0 found: YES 2.88.3 Run-time dependency gnome-desktop-3.0 found: YES 44.5 Run-time dependency gtk+-3.0 found: YES 3.24.52 Run-time dependency libbsd found: YES 0.12.2 Run-time dependency libfeedback-0.0 found: YES 0.8.10 Run-time dependency wayland-client found: YES 1.26.0 Run-time dependency xkbcommon found: YES 1.13.2 Library m found: YES Library rt found: YES Library dl found: YES Library pthread found: YES Dependency gio-2.0 for host machine found: YES 2.88.3 (cached) Program /nix/store/83xd689yld0y8lgk0fc06f542yid4yh7-glib-2.88.3-dev/bin/glib-compile-schemas found: YES (/nix/store/83xd689yld0y8lgk0fc06f542yid4yh7-glib-2.88.3-dev/bin/glib-compile-schemas) Build targets in project: 49 squeekboard 1.43.1 User defined options auto_features: enabled bindir : /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin buildtype : plain includedir : /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/include infodir : /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/info libdir : /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/lib libexecdir : /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/libexec localedir : /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale mandir : /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/man prefix : /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1 sbindir : /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/sbin wrap_mode : nodownload Found ninja-1.13.2 at /nix/store/nyjr5b3ib747yls4n9jq5ijr6wqg6wdc-ninja-1.13.2/bin/ninja mesonConfigurePhase: enabled\ parallel\ building Running phase: buildPhase build flags: -j32 [0/93] Generating src/rslibs with a custom command Locking 143 packages to highest compatible versions Adding bitflags v1.3.2 (available: v2.6.0) Compiling serde v1.0.215 Compiling equivalent v1.0.1 Compiling hashbrown v0.15.1 Compiling winnow v0.5.40 Compiling target-lexicon v0.12.16 Compiling pkg-config v0.3.31 Compiling smallvec v1.13.2 Compiling heck v0.5.0 Compiling version-compare v0.2.0 Compiling proc-macro2 v1.0.89 Compiling unicode-ident v1.0.13 Compiling libc v0.2.162 Compiling autocfg v1.4.0 Compiling syn v1.0.109 Compiling version_check v0.9.5 Compiling futures-core v0.3.31 Compiling pin-project-lite v0.2.15 Compiling memchr v2.7.4 Compiling futures-io v0.3.31 Compiling futures-sink v0.3.31 Compiling once_cell v1.20.2 Compiling futures-task v0.3.31 Compiling pin-utils v0.1.0 Compiling thiserror v1.0.69 Compiling heck v0.4.1 Compiling bitflags v2.6.0 Compiling semver v1.0.23 Compiling gio v0.18.4 Compiling crossbeam-utils v0.8.20 Compiling io-lifetimes v1.0.11 Compiling cfg-if v1.0.0 Compiling bitflags v1.3.2 Compiling rustix v0.37.27 Compiling event-listener v2.5.3 Compiling parking v2.2.1 Compiling futures-channel v0.3.31 Compiling waker-fn v1.2.0 Compiling fastrand v1.9.0 Compiling log v0.4.22 Compiling linux-raw-sys v0.3.8 Compiling static_assertions v1.1.0 Compiling clap_lex v0.7.3 Compiling async-lock v2.8.0 Compiling anstyle v1.0.10 Compiling byteorder v1.5.0 Compiling scoped-tls v1.0.1 Compiling unsafe-libyaml v0.2.11 Compiling itoa v1.0.11 Compiling xkeysym v0.2.1 Compiling ryu v1.0.18 Compiling maplit v1.0.2 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling slab v0.4.9 Compiling memoffset v0.6.5 Compiling memoffset v0.9.1 Compiling polling v2.8.0 Compiling async-io v1.13.0 Compiling gtk v0.18.1 Compiling clap_builder v4.5.21 Compiling futures-lite v1.13.0 Compiling indexmap v2.6.0 Compiling concurrent-queue v2.5.0 Compiling rustc_version v0.4.1 Compiling field-offset v0.3.6 Compiling cfg-expr v0.15.8 Compiling quote v1.0.37 Compiling syn v2.0.87 Compiling socket2 v0.4.10 Compiling nix v0.22.3 Compiling memmap2 v0.9.5 Compiling clap v4.5.21 Compiling xkbcommon v0.8.0 Compiling nb-connect v1.2.0 Compiling toml_datetime v0.6.3 Compiling serde_spanned v0.6.8 Compiling toml v0.5.11 Compiling toml_edit v0.20.2 Compiling toml_edit v0.19.15 Compiling futures-macro v0.3.31 Compiling thiserror-impl v1.0.69 Compiling serde_derive v1.0.215 Compiling serde_repr v0.1.19 Compiling proc-macro-crate v0.1.5 Compiling proc-macro-crate v1.3.1 Compiling toml v0.8.2 Compiling proc-macro-crate v2.0.2 Compiling enumflags2_derive v0.6.4 Compiling zbus_macros v1.9.3 Compiling derivative v2.2.0 Compiling zvariant_derive v2.10.0 Compiling gtk3-macros v0.18.0 Compiling futures-util v0.3.31 Compiling system-deps v6.2.2 Compiling glib-macros v0.18.5 Compiling glib-sys v0.18.1 Compiling gobject-sys v0.18.0 Compiling gio-sys v0.18.1 Compiling cairo-sys-rs v0.18.2 Compiling atk-sys v0.18.0 Compiling gdk-pixbuf-sys v0.18.0 Compiling gdk-sys v0.18.0 Compiling pango-sys v0.18.0 Compiling gtk-sys v0.18.0 Compiling futures-executor v0.3.31 Compiling futures v0.3.31 Compiling glib v0.18.5 Compiling enumflags2 v0.6.4 Compiling serde_yaml v0.9.34+deprecated Compiling zvariant v2.10.0 Compiling zbus v1.9.3 Compiling cairo-rs v0.18.5 Compiling atk v0.18.0 Compiling pango v0.18.3 Compiling gdk-pixbuf v0.18.5 Compiling gdk v0.18.0 Compiling rs v0.1.0 (/build/source/build) warning: found module declaration for main.rs --> /build/source/src/lib.rs:37:1 | 37 | mod main; | ^^^^^^^^^ | = note: a binary crate cannot be used as library = note: `#[warn(special_module_name)]` on by default warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:44:19 | 44 | geometry: extern fn( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:56:15 | 56 | mode: extern fn( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:64:15 | 64 | done: extern fn( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:68:16 | 68 | scale: extern fn( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:132:5 | 132 | extern fn outputs_handle_geometry( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:174:5 | 174 | extern fn outputs_handle_mode( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:207:5 | 207 | extern fn outputs_handle_done( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:236:5 | 236 | extern fn outputs_handle_scale( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: use of deprecated associated function `glib::main_context_channel::::channel`: Use an async channel, from async-channel for example, on the main context using spawn_future_local() instead --> /build/source/src/main.rs:106:47 | 106 | let (sender, receiver) = MainContext::channel(Priority::default()); | ^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: a method with this name may be added to the standard library in the future --> /build/source/src/outputs.rs:331:21 | 331 | Self(self.0.div_ceil(other)) | ^^^^^^^^ | = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default warning: irrefutable `if let` pattern --> /build/source/src/actors/external/screensaver.rs:28:12 | 28 | if let Err(e) = start(destination) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this pattern will always match, so the `if let` is useless = help: consider replacing the `if let` with a `let` = note: `#[warn(irrefutable_let_patterns)]` on by default warning: struct `ProblemPanic` is never constructed --> /build/source/src/logging.rs:191:12 | 191 | pub struct ProblemPanic; | ^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read --> /build/source/src/imservice.rs:301:5 | 300 | struct IMProtocolState { | --------------- fields in this struct 301 | surrounding_text: CString, | ^^^^^^^^^^^^^^^^ 302 | surrounding_cursor: u32, | ^^^^^^^^^^^^^^^^^^ ... 305 | text_change_cause: ChangeCause, | ^^^^^^^^^^^^^^^^^ | = note: `IMProtocolState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: struct `Spacing` is never constructed --> /build/source/src/layout.rs:536:12 | 536 | pub struct Spacing { | ^^^^^^^ warning: field `0` is never read --> /build/source/src/locale.rs:46:22 | 46 | StringConversion(Utf8Error), | ---------------- ^^^^^^^^^ | | | field in this variant | = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 46 - StringConversion(Utf8Error), 46 + StringConversion(()), | warning: call to `.clone()` on a reference in this situation does nothing --> /build/source/src/data/parsing.rs:460:34 | 460 | let cname = CString::new(name.clone()) | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed = note: `#[warn(noop_method_call)]` on by default warning: unnecessary transmute --> /build/source/src/float_ord.rs:29:34 | 29 | let u = unsafe { transmute::<$f, $i>(self.0) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 62 | float_ord_impl!(f32, u32, 32); | ----------------------------- in this macro invocation | = note: `#[warn(unnecessary_transmutes)]` on by default = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: replace this with | 29 - let u = unsafe { transmute::<$f, $i>(self.0) }; 29 + let u = unsafe { f32::to_bits(self.0) }; | warning: unnecessary transmute --> /build/source/src/float_ord.rs:29:34 | 29 | let u = unsafe { transmute::<$f, $i>(self.0) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 63 | float_ord_impl!(f64, u64, 64); | ----------------------------- in this macro invocation | = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: replace this with | 29 - let u = unsafe { transmute::<$f, $i>(self.0) }; 29 + let u = unsafe { f64::to_bits(self.0) }; | warning: hiding a lifetime that's elided elsewhere is confusing --> /build/source/src/layout.rs:785:26 | 785 | fn find_button_place(&self, button: &ButtonPosition) -> Option { | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 785 | fn find_button_place(&self, button: &ButtonPosition) -> Option> { | ++++ warning: unused return value of `std::boxed::Box::::from_raw` that must be used --> /build/source/src/layout.rs:207:18 | 207 | unsafe { Box::from_raw(layout) }; | ^^^^^^^^^^^^^^^^^^^^^ | = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default help: use `let _ = ...` to ignore the resulting value | 207 | unsafe { let _ = Box::from_raw(layout); }; | +++++++ + warning: unused return value of `Rc::::into_raw` that must be used --> /build/source/src/util.rs:108:13 | 108 | Rc::into_raw(used_rc); // prevent dropping the original reference | ^^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 108 | let _ = Rc::into_raw(used_rc); // prevent dropping the original reference | +++++++ warning: `rs` (lib) generated 22 warnings (run `cargo fix --lib -p rs` to apply 12 suggestions) Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [90/93] Linking static target src/liblibsqueekboard.a [91/93] Generating tools/squeekboard-test-layout with a custom command warning: found module declaration for main.rs --> /build/source/src/lib.rs:37:1 | 37 | mod main; | ^^^^^^^^^ | = note: a binary crate cannot be used as library = note: `#[warn(special_module_name)]` on by default warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:44:19 | 44 | geometry: extern fn( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` | = note: `#[warn(missing_abi)]` on by default warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:56:15 | 56 | mode: extern fn( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:64:15 | 64 | done: extern fn( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:68:16 | 68 | scale: extern fn( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:132:5 | 132 | extern fn outputs_handle_geometry( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:174:5 | 174 | extern fn outputs_handle_mode( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:207:5 | 207 | extern fn outputs_handle_done( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: `extern` declarations without an explicit ABI are deprecated --> /build/source/src/outputs.rs:236:5 | 236 | extern fn outputs_handle_scale( | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` warning: use of deprecated associated function `glib::main_context_channel::::channel`: Use an async channel, from async-channel for example, on the main context using spawn_future_local() instead --> /build/source/src/main.rs:106:47 | 106 | let (sender, receiver) = MainContext::channel(Priority::default()); | ^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: a method with this name may be added to the standard library in the future --> /build/source/src/outputs.rs:331:21 | 331 | Self(self.0.div_ceil(other)) | ^^^^^^^^ | = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default warning: irrefutable `if let` pattern --> /build/source/src/actors/external/screensaver.rs:28:12 | 28 | if let Err(e) = start(destination) { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this pattern will always match, so the `if let` is useless = help: consider replacing the `if let` with a `let` = note: `#[warn(irrefutable_let_patterns)]` on by default warning: struct `ProblemPanic` is never constructed --> /build/source/src/logging.rs:191:12 | 191 | pub struct ProblemPanic; | ^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read --> /build/source/src/imservice.rs:301:5 | 300 | struct IMProtocolState { | --------------- fields in this struct 301 | surrounding_text: CString, | ^^^^^^^^^^^^^^^^ 302 | surrounding_cursor: u32, | ^^^^^^^^^^^^^^^^^^ ... 305 | text_change_cause: ChangeCause, | ^^^^^^^^^^^^^^^^^ | = note: `IMProtocolState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis warning: struct `Spacing` is never constructed --> /build/source/src/layout.rs:536:12 | 536 | pub struct Spacing { | ^^^^^^^ warning: field `0` is never read --> /build/source/src/locale.rs:46:22 | 46 | StringConversion(Utf8Error), | ---------------- ^^^^^^^^^ | | | field in this variant | = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 46 - StringConversion(Utf8Error), 46 + StringConversion(()), | warning: call to `.clone()` on a reference in this situation does nothing --> /build/source/src/data/parsing.rs:460:34 | 460 | let cname = CString::new(name.clone()) | ^^^^^^^^ help: remove this redundant call | = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed = note: `#[warn(noop_method_call)]` on by default warning: unnecessary transmute --> /build/source/src/float_ord.rs:29:34 | 29 | let u = unsafe { transmute::<$f, $i>(self.0) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 62 | float_ord_impl!(f32, u32, 32); | ----------------------------- in this macro invocation | = note: `#[warn(unnecessary_transmutes)]` on by default = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: replace this with | 29 - let u = unsafe { transmute::<$f, $i>(self.0) }; 29 + let u = unsafe { f32::to_bits(self.0) }; | warning: unnecessary transmute --> /build/source/src/float_ord.rs:29:34 | 29 | let u = unsafe { transmute::<$f, $i>(self.0) }; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 63 | float_ord_impl!(f64, u64, 64); | ----------------------------- in this macro invocation | = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) help: replace this with | 29 - let u = unsafe { transmute::<$f, $i>(self.0) }; 29 + let u = unsafe { f64::to_bits(self.0) }; | warning: hiding a lifetime that's elided elsewhere is confusing --> /build/source/src/layout.rs:785:26 | 785 | fn find_button_place(&self, button: &ButtonPosition) -> Option { | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 785 | fn find_button_place(&self, button: &ButtonPosition) -> Option> { | ++++ warning: unused return value of `std::boxed::Box::::from_raw` that must be used --> /build/source/src/layout.rs:207:18 | 207 | unsafe { Box::from_raw(layout) }; | ^^^^^^^^^^^^^^^^^^^^^ | = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default help: use `let _ = ...` to ignore the resulting value | 207 | unsafe { let _ = Box::from_raw(layout); }; | +++++++ + warning: unused return value of `Rc::::into_raw` that must be used --> /build/source/src/util.rs:108:13 | 108 | Rc::into_raw(used_rc); // prevent dropping the original reference | ^^^^^^^^^^^^^^^^^^^^^ | = note: losing the pointer will leak memory help: use `let _ = ...` to ignore the resulting value | 108 | let _ = Rc::into_raw(used_rc); // prevent dropping the original reference | +++++++ warning: `rs` (lib) generated 22 warnings (run `cargo fix --lib -p rs` to apply 12 suggestions) Compiling rs v0.1.0 (/build/source/build) Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.94s [93/93] Linking target src/squeekboard buildPhase completed in 1 minutes 24 seconds Running phase: glibPreInstallPhase Running phase: installPhase mesonInstallPhase flags: '' Installing data/sm.puri.Squeekboard.desktop to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/applications Installing po/be/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/be/LC_MESSAGES Installing po/bg/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/bg/LC_MESSAGES Installing po/ca/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/ca/LC_MESSAGES Installing po/cs/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/cs/LC_MESSAGES Installing po/de/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/de/LC_MESSAGES Installing po/el/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/el/LC_MESSAGES Installing po/es/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/es/LC_MESSAGES Installing po/eu/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/eu/LC_MESSAGES Installing po/fa/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/fa/LC_MESSAGES Installing po/fi/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/fi/LC_MESSAGES Installing po/fr/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/fr/LC_MESSAGES Installing po/fur/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/fur/LC_MESSAGES Installing po/gl/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/gl/LC_MESSAGES Installing po/he/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/he/LC_MESSAGES Installing po/hi/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/hi/LC_MESSAGES Installing po/hr/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/hr/LC_MESSAGES Installing po/ht/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/ht/LC_MESSAGES Installing po/hu/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/hu/LC_MESSAGES Installing po/it/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/it/LC_MESSAGES Installing po/ka/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/ka/LC_MESSAGES Installing po/ko/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/ko/LC_MESSAGES Installing po/nl/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/nl/LC_MESSAGES Installing po/oc/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/oc/LC_MESSAGES Installing po/pl/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/pl/LC_MESSAGES Installing po/pt/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/pt/LC_MESSAGES Installing po/pt_BR/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/pt_BR/LC_MESSAGES Installing po/ro/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/ro/LC_MESSAGES Installing po/ru/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/ru/LC_MESSAGES Installing po/sl/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/sl/LC_MESSAGES Installing po/sr/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/sr/LC_MESSAGES Installing po/tr/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/tr/LC_MESSAGES Installing po/uk/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/uk/LC_MESSAGES Installing po/sv/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/sv/LC_MESSAGES Installing po/zh_CN/LC_MESSAGES/squeekboard.mo to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/locale/zh_CN/LC_MESSAGES Installing src/squeekboard to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin Installing tools/squeekboard-test-layout to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin Installing /build/source/data/sm.puri.Squeekboard.gschema.xml to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/glib-2.0/schemas Installing /build/source/data/sm.puri.Squeekboard.gschema.xml to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/glib-2.0/schemas Installing /build/source/build/tools/squeekboard-entry to /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin Running custom install script '/nix/store/83xd689yld0y8lgk0fc06f542yid4yh7-glib-2.88.3-dev/bin/glib-compile-schemas /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/share/glib-2.0/schemas' Running phase: gappsWrapperArgsHook Running phase: dropIconThemeCache Running phase: fixupPhase Wrapping program '/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin/squeekboard' Wrapping program '/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin/squeekboard-test-layout' Wrapping program '/nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin/squeekboard-entry' shrinking RPATHs of ELF executables and libraries in /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1 shrinking /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin/.squeekboard-wrapped shrinking /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin/squeekboard shrinking /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin/.squeekboard-test-layout-wrapped shrinking /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin/squeekboard-test-layout shrinking /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin/squeekboard-entry checking for references to /build/ in /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1... patching script interpreter paths in /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1 stripping (with command strip and flags -S -p) in /nix/store/2nlff1ihvilmsckz1crpsn8glfi7sf5f-squeekboard-1.43.1/bin