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/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1 --libdir=/nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/lib --libexecdir=/nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/libexec --bindir=/nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/bin --sbindir=/nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/sbin --includedir=/nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/include --mandir=/nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/share/man --infodir=/nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/share/info --localedir=/nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-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/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/bin buildtype : plain includedir : /nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/include infodir : /nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/share/info libdir : /nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/lib libexecdir : /nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/libexec localedir : /nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/share/locale mandir : /nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1/share/man prefix : /nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-squeekboard-1.43.1 sbindir : /nix/store/l5l7ggmzn4cypwzzalvkzrn0cb916idz-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 smallvec v1.13.2 Compiling pkg-config v0.3.31 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 futures-io v0.3.31 Compiling pin-project-lite v0.2.15 Compiling memchr v2.7.4 Compiling once_cell v1.20.2 Compiling futures-sink v0.3.31 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 io-lifetimes v1.0.11 Compiling crossbeam-utils v0.8.20 Compiling bitflags v1.3.2 Compiling rustix v0.37.27 Compiling cfg-if v1.0.0 Compiling parking v2.2.1 Compiling log v0.4.22 Compiling waker-fn v1.2.0 Compiling fastrand v1.9.0 Compiling futures-channel v0.3.31 Compiling linux-raw-sys v0.3.8 Compiling event-listener v2.5.3 Compiling clap_lex v0.7.3 Compiling byteorder v1.5.0 Compiling anstyle v1.0.10 Compiling static_assertions v1.1.0 Compiling unsafe-libyaml v0.2.11 Compiling itoa v1.0.11 Compiling xkeysym v0.2.1 Compiling scoped-tls v1.0.1 Compiling ryu v1.0.18 Compiling maplit v1.0.2 Compiling async-lock v2.8.0 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling clap_builder v4.5.21 Compiling slab v0.4.9 Compiling memoffset v0.6.5 Compiling polling v2.8.0 Compiling memoffset v0.9.1 Compiling async-io v1.13.0 Compiling gtk v0.18.1 Compiling futures-lite v1.13.0 Compiling indexmap v2.6.0 Compiling rustc_version v0.4.1 Compiling concurrent-queue v2.5.0 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 futures-macro v0.3.31 Compiling thiserror-impl v1.0.69 Compiling serde_derive v1.0.215 Compiling serde_repr v0.1.19 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 enumflags2_derive v0.6.4 Compiling derivative v2.2.0 Compiling futures-util v0.3.31 Compiling proc-macro-crate v0.1.5 Compiling zbus_macros v1.9.3 Compiling toml v0.8.2 Compiling proc-macro-crate v2.0.2 Compiling glib-macros v0.18.5 Compiling system-deps v6.2.2 Compiling proc-macro-crate v1.3.1 Compiling glib-sys v0.18.1 Compiling gobject-sys v0.18.0 Compiling gio-sys v0.18.1 Compiling atk-sys v0.18.0 Compiling gdk-pixbuf-sys v0.18.0 Compiling cairo-sys-rs v0.18.2 Compiling gdk-sys v0.18.0 Compiling pango-sys v0.18.0 Compiling gtk-sys v0.18.0 Compiling zvariant_derive v2.10.0 Compiling gtk3-macros 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 | +++++++ error: invalid definition of the runtime `close` symbol used by the standard library --> /build/source/src/vkeyboard.rs:49:9 | 49 | fn close(fd: i32); | ^^^^^^^^^^^^^^^^^^ | = note: expected `unsafe extern "C" fn(i32) -> i32` (for the current target) found `unsafe extern "C" fn(i32)` = help: either fix the signature or remove any attributes like `#[unsafe(no_mangle)]`, `#[unsafe(export_name = "close")]`, or `#[link_name = "close"]` = note: `#[deny(invalid_runtime_symbol_definitions)]` on by default warning: `rs` (lib) generated 22 warnings error: could not compile `rs` (lib) due to 1 previous error; 22 warnings emitted Traceback (most recent call last): File "/build/source/cargo_build.py", line 37, in subprocess.run(['sh', "{}/cargo.sh".format(source_dir.as_posix()), 'build'] ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + args, ^^^^^^^ check=True) ^^^^^^^^^^^ File "/nix/store/xahxrjs30p3mw0a42bqg9ikgkikskw8m-python3-3.14.8/lib/python3.14/subprocess.py", line 578, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['sh', '/build/source/cargo.sh', 'build', '--lib', '--features', 'zbus_v1_5,clap_v4']' returned non-zero exit status 101. [90/93] Compiling C object src/squeekboard.p/server-main.c.o FAILED: [code=1] src/librs.a /nix/store/xahxrjs30p3mw0a42bqg9ikgkikskw8m-python3-3.14.8/bin/python3.14 /build/source/cargo_build.py src/librs.a --lib --features zbus_v1_5,clap_v4 ninja: build stopped: subcommand failed.