Diff of the two buildlogs: -- --- b1/build.log 2025-11-26 06:58:24.548366541 +0000 +++ b2/build.log 2025-11-26 07:06:44.704900661 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 29 00:51:46 -12 2026 -I: pbuilder-time-stamp: 1798548706 +I: Current time: Wed Nov 26 20:58:29 +14 2025 +I: pbuilder-time-stamp: 1764140309 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,53 +27,85 @@ dpkg-source: info: applying 0004-src-data-parsing-fix-build-with-recent-Rust.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2414613/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1440343/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 26 06:58 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1440343/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1440343/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="3" [2]="3" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.3.3(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 nocheck' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='ef363a159b654bcb86bd182cad95e74e' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2414613' - PS1='# ' - PS2='> ' + INVOCATION_ID=618f7bb51c4b4c4c931aceb3a9c867da + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1440343 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.U6O60P0o/pbuilderrc_PBwd --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.U6O60P0o/b1 --logfile b1/build.log squeekboard_1.43.1-2.dsc' - SUDO_GID='111' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.U6O60P0o/pbuilderrc_XO5j --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.U6O60P0o/b2 --logfile b2/build.log squeekboard_1.43.1-2.dsc' + SUDO_GID=111 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos15-amd64 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.57+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2414613/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1440343/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -1028,7 +1060,7 @@ Get: 855 http://deb.debian.org/debian unstable/main amd64 python3-ruamel.yaml.clib amd64 0.2.12+ds-1+b1 [135 kB] Get: 856 http://deb.debian.org/debian unstable/main amd64 python3-ruamel.yaml all 0.18.10+ds-1 [147 kB] Get: 857 http://deb.debian.org/debian unstable/main amd64 systemd-dev all 259~rc1-1 [77.1 kB] -Fetched 322 MB in 2min 17s (2357 kB/s) +Fetched 322 MB in 3s (97.2 MB/s) Preconfiguring packages ... Selecting previously unselected package libsystemd-shared:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19866 files and directories currently installed.) @@ -3737,8 +3769,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Tue Dec 29 13:15:26 UTC 2026. -Universal Time is now: Tue Dec 29 13:15:26 UTC 2026. +Local time is now: Wed Nov 26 07:02:10 UTC 2025. +Universal Time is now: Wed Nov 26 07:02:10 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:amd64 (1.17.0-2+b1) ... @@ -4512,7 +4544,11 @@ Solving dependencies... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/squeekboard-1.43.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../squeekboard_1.43.1-2_source.changes +I: user script /srv/workspace/pbuilder/1440343/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1440343/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/squeekboard-1.43.1/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../squeekboard_1.43.1-2_source.changes dpkg-buildpackage: info: source package squeekboard dpkg-buildpackage: info: source version 1.43.1-2 dpkg-buildpackage: info: source distribution unstable @@ -4606,7 +4642,7 @@ Found ninja-1.13.2 at /usr/bin/ninja dh_auto_build -a -O--builddirectory=_build -O--buildsystem=meson - cd _build && LC_ALL=C.UTF-8 ninja -j42 -v + cd _build && LC_ALL=C.UTF-8 ninja -j40 -v [0/93] /usr/bin/python3 /build/reproducible-path/squeekboard-1.43.1/cargo_build.py src/librs.a --lib --features zbus_v1_5,clap_v4 warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` @@ -4615,13 +4651,13 @@ Compiling proc-macro2 v1.0.101 Compiling unicode-ident v1.0.13 Compiling serde v1.0.219 - Compiling hashbrown v0.16.0 - Compiling equivalent v1.0.1 Compiling winnow v0.7.13 + Compiling equivalent v1.0.1 + Compiling hashbrown v0.16.0 Compiling target-lexicon v0.12.16 - Compiling heck v0.5.0 Compiling smallvec v1.15.1 Compiling pkg-config v0.3.32 + Compiling heck v0.5.0 Compiling version-compare v0.1.1 Compiling libc v0.2.175 Compiling pin-project-lite v0.2.16 @@ -4629,8 +4665,8 @@ Compiling futures-core v0.3.31 Compiling version_check v0.9.5 Compiling bitflags v2.9.4 - Compiling once_cell v1.21.3 Compiling crossbeam-utils v0.8.21 + Compiling once_cell v1.21.3 Compiling syn v1.0.109 Compiling parking v2.2.0 Compiling futures-io v0.3.31 @@ -4638,50 +4674,50 @@ Compiling pin-utils v0.1.0 Compiling futures-task v0.3.31 Compiling memchr v2.7.5 + Compiling rustix v1.1.2 Compiling semver v1.0.26 Compiling fastrand v2.3.0 - Compiling rustix v1.1.2 Compiling cfg-if v1.0.3 - Compiling endi v1.1.0 - Compiling gio v0.18.4 Compiling linux-raw-sys v0.11.0 + Compiling gio v0.18.4 + Compiling endi v1.1.0 + Compiling async-task v4.7.1 Compiling cfg_aliases v0.2.1 Compiling static_assertions v1.1.0 - Compiling async-task v4.7.1 Compiling atomic-waker v1.1.2 Compiling clap_lex v0.7.4 Compiling anstyle v1.0.11 - Compiling ryu v1.0.19 + Compiling nix v0.30.1 + Compiling unsafe-libyaml v0.2.11 Compiling xkeysym v0.2.1 + Compiling ryu v1.0.19 + Compiling itoa v1.0.15 Compiling hex v0.4.3 - Compiling unsafe-libyaml v0.2.11 + Compiling maplit v1.0.2 Compiling futures-channel v0.3.31 Compiling ordered-stream v0.2.0 - Compiling itoa v1.0.15 - Compiling nix v0.30.1 - Compiling maplit v1.0.2 Compiling bitflags v1.3.2 - Compiling tracing-core v0.1.34 Compiling clap_builder v4.5.48 - Compiling slab v0.4.9 - Compiling memoffset v0.8.0 + Compiling futures-lite v2.6.1 + Compiling tracing-core v0.1.34 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 - Compiling futures-lite v2.6.1 + Compiling slab v0.4.9 + Compiling memoffset v0.8.0 Compiling gtk v0.18.1 + Compiling rustc_version v0.4.1 Compiling indexmap v2.11.4 Compiling concurrent-queue v2.5.0 - Compiling rustc_version v0.4.1 - Compiling event-listener v5.4.1 + Compiling field-offset v0.3.6 Compiling cfg-expr v0.17.2 + Compiling event-listener v5.4.1 Compiling quote v1.0.40 - Compiling field-offset v0.3.6 + Compiling async-executor v1.13.3 Compiling event-listener-strategy v0.5.4 Compiling syn v2.0.105 Compiling async-lock v3.4.1 Compiling async-channel v2.5.0 Compiling async-broadcast v0.7.1 - Compiling async-executor v1.13.3 Compiling blocking v1.6.2 Compiling clap v4.5.48 Compiling signal-hook-registry v1.4.0 @@ -4695,14 +4731,14 @@ Compiling serde_repr v0.1.20 Compiling async-trait v0.1.89 Compiling polling v3.10.0 - Compiling futures-util v0.3.31 Compiling async-io v2.5.0 - Compiling tracing v0.1.41 + Compiling futures-util v0.3.31 Compiling async-signal v0.2.13 Compiling async-process v2.5.0 + Compiling tracing v0.1.41 Compiling futures-executor v0.3.31 - Compiling toml_datetime v0.6.11 Compiling serde_spanned v0.6.9 + Compiling toml_datetime v0.6.11 Compiling zvariant_utils v3.2.1 Compiling enumflags2 v0.7.10 Compiling uuid v1.18.1 @@ -4711,18 +4747,18 @@ Compiling toml v0.8.20 Compiling proc-macro-crate v1.3.1 Compiling proc-macro-crate v3.2.0 - Compiling zvariant_derive v5.8.0 Compiling glib-macros v0.18.2 + Compiling zvariant_derive v5.8.0 Compiling gtk3-macros v0.18.0 Compiling system-deps v7.0.5 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 atk-sys v0.18.0 Compiling pango-sys v0.18.0 - Compiling cairo-sys-rs v0.18.2 Compiling gtk-sys v0.18.0 Compiling zvariant v5.8.0 Compiling glib v0.18.5 @@ -4731,8 +4767,8 @@ Compiling zbus v5.12.0 Compiling cairo-rs v0.18.5 Compiling atk v0.18.0 - Compiling pango v0.18.3 Compiling gdk-pixbuf v0.18.5 + Compiling pango v0.18.3 Compiling gdk v0.18.0 Compiling rs v0.1.0 (/build/reproducible-path/squeekboard-1.43.1/_build) warning: found module declaration for main.rs @@ -4972,10 +5008,10 @@ | +++++++ warning: `rs` (lib) generated 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 15s -[27/93] /usr/bin/glib-compile-resources ../data/squeekboard.gresources.xml --sourcedir ../data --c-name squeekboard --internal --generate --target data/squeekboard-resources.c --dependency-file data/squeekboard-resources.c.d + Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 51s +[25/93] /usr/bin/glib-compile-resources ../data/squeekboard.gresources.xml --sourcedir ../data --c-name squeekboard --internal --generate --target data/squeekboard-resources.h xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH -[28/93] /usr/bin/glib-compile-resources ../data/squeekboard.gresources.xml --sourcedir ../data --c-name squeekboard --internal --generate --target data/squeekboard-resources.h +[61/93] /usr/bin/glib-compile-resources ../data/squeekboard.gresources.xml --sourcedir ../data --c-name squeekboard --internal --generate --target data/squeekboard-resources.c --dependency-file data/squeekboard-resources.c.d xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH [90/93] rm -f src/liblibsqueekboard.a && gcc-ar csrDT src/liblibsqueekboard.a src/liblibsqueekboard.a.p/meson-generated_.._sm.puri.OSK0.c.o src/liblibsqueekboard.a.p/meson-generated_.._.._data_squeekboard-resources.c.o src/liblibsqueekboard.a.p/meson-generated_xdg-shell-protocol.c.o src/liblibsqueekboard.a.p/meson-generated_wlr-layer-shell-unstable-v1-protocol.c.o src/liblibsqueekboard.a.p/meson-generated_virtual-keyboard-unstable-v1-protocol.c.o src/liblibsqueekboard.a.p/meson-generated_input-method-unstable-v2-protocol.c.o src/liblibsqueekboard.a.p/meson-generated_text-input-unstable-v3-protocol.c.o src/liblibsqueekboard.a.p/dbus.c.o src/liblibsqueekboard.a.p/imservice.c.o src/liblibsqueekboard.a.p/panel.c.o src/liblibsqueekboard.a.p/popover.c.o src/liblibsqueekboard.a.p/server-context-service.c.o src/liblibsqueekboard.a.p/wayland.c.o src/liblibsqueekboard.a.p/.._eek_eek.c.o src/liblibsqueekboard.a.p/.._eek_eek-gtk-keyboard.c.o src/liblibsqueekboard.a.p/.._eek_eek-keyboard.c.o src/liblibsqueekboard.a.p/.._eek_eek-renderer.c.o src/liblibsqueekboard.a.p/.._eek_eek-types.c.o src/liblibsqueekboard.a.p/.._eek_layersurface.c.o src/liblibsqueekboard.a.p/.._eekboard_eekboard-context-service.c.o [91/93] /usr/bin/python3 /build/reproducible-path/squeekboard-1.43.1/cargo_build.py --rename test_layout tools/squeekboard-test-layout --bin test_layout --features zbus_v1_5,clap_v4 @@ -5219,4158 +5255,16 @@ warning: `rs` (lib) generated 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) Compiling rs v0.1.0 (/build/reproducible-path/squeekboard-1.43.1/_build) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.74s + Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.37s [93/93] cc -o src/squeekboard src/squeekboard.p/meson-generated_.._sm.puri.OSK0.c.o src/squeekboard.p/meson-generated_.._.._data_squeekboard-resources.c.o src/squeekboard.p/meson-generated_xdg-shell-protocol.c.o src/squeekboard.p/meson-generated_wlr-layer-shell-unstable-v1-protocol.c.o src/squeekboard.p/meson-generated_virtual-keyboard-unstable-v1-protocol.c.o src/squeekboard.p/meson-generated_input-method-unstable-v2-protocol.c.o src/squeekboard.p/meson-generated_text-input-unstable-v3-protocol.c.o src/squeekboard.p/server-main.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/squeekboard-1.43.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 '-Wl,-rpath,$ORIGIN/' -Wl,--start-group src/liblibsqueekboard.a src/librs.a /usr/lib/x86_64-linux-gnu/libgio-2.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /usr/lib/x86_64-linux-gnu/libgnome-desktop-3.so /usr/lib/x86_64-linux-gnu/libgtk-3.so /usr/lib/x86_64-linux-gnu/libgdk-3.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so /usr/lib/x86_64-linux-gnu/libpango-1.0.so /usr/lib/x86_64-linux-gnu/libharfbuzz.so /usr/lib/x86_64-linux-gnu/libatk-1.0.so /usr/lib/x86_64-linux-gnu/libcairo-gobject.so /usr/lib/x86_64-linux-gnu/libcairo.so /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so /usr/lib/x86_64-linux-gnu/libbsd.so /usr/lib/x86_64-linux-gnu/libfeedback-0.0.so /usr/lib/x86_64-linux-gnu/libwayland-client.so -lm /usr/lib/x86_64-linux-gnu/libxkbcommon.so -lrt -ldl -lpthread -Wl,--end-group - debian/rules override_dh_auto_test -make[2]: Entering directory '/build/reproducible-path/squeekboard-1.43.1' -dh_auto_test --no-parallel -- --timeout-multiplier 3 - cd _build && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 MESON_TESTTHREADS=1 meson test --verbose --timeout-multiplier 3 -ninja: Entering directory `/build/reproducible-path/squeekboard-1.43.1/_build' -[0/2] Generating src/rslibs with a custom command -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s -[1/2] Generating src/build_rstests with a custom command -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 - | +++++++ - - Compiling rs v0.1.0 (/build/reproducible-path/squeekboard-1.43.1/_build) -warning: `rs` (lib) generated 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) -warning: a method with this name may be added to the standard library in the future - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - = note: `#[warn(dead_code)]` on by default - -warning: function `scaling_test_base` is never used - --> /remap-pwd/src/state.rs:756:8 - | -756 | fn scaling_test_base(pixel_width: i32, pixel_height: i32, physical_width: i32, physical_height: i32, scale: i32, expected_pixel_heigh... - | ^^^^^^^^^^^^^^^^^ - -warning: function `scaling_test_wide` is never used - --> /remap-pwd/src/state.rs:805:8 - | -805 | fn scaling_test_wide(pixel_width: i32, pixel_height: i32, physical_width: i32, physical_height: i32, scale: i32, expected_pixel_heigh... - | ^^^^^^^^^^^^^^^^^ - -warning: unused return value of `std::rc::Rc::::into_raw` that must be used - --> /remap-pwd/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 test) generated 27 warnings (22 duplicates) - Finished `test` profile [unoptimized + debuginfo] target(s) in 21.53s - Executable unittests /build/reproducible-path/squeekboard-1.43.1/src/lib.rs (_build/debug/deps/rs-48e7be2a7281ed4c) - Executable unittests /build/reproducible-path/squeekboard-1.43.1/src/bin/test_layout.rs (_build/debug/deps/test_layout-f3167523ea047230) - 1/124 Validate schema file RUNNING ->>> MALLOC_PERTURB_=240 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /usr/bin/glib-compile-schemas --strict --dry-run /build/reproducible-path/squeekboard-1.43.1/data -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 1/124 Validate schema file OK 0.01s - - 2/124 rstest RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 SOURCE_DIR=/build/reproducible-path/squeekboard-1.43.1 MALLOC_PERTURB_=82 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh test --features zbus_v1_5,clap_v4 -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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: a method with this name may be added to the standard library in the future - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - = note: `#[warn(dead_code)]` on by default - -warning: function `scaling_test_base` is never used - --> /remap-pwd/src/state.rs:756:8 - | -756 | fn scaling_test_base(pixel_width: i32, pixel_height: i32, physical_width: i32, physical_height: i32, scale: i32, expected_pixel_heigh... - | ^^^^^^^^^^^^^^^^^ - -warning: function `scaling_test_wide` is never used - --> /remap-pwd/src/state.rs:805:8 - | -805 | fn scaling_test_wide(pixel_width: i32, pixel_height: i32, physical_width: i32, physical_height: i32, scale: i32, expected_pixel_heigh... - | ^^^^^^^^^^^^^^^^^ - -warning: unused return value of `std::rc::Rc::::into_raw` that must be used - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) -warning: `rs` (lib test) generated 27 warnings (22 duplicates) - Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s - Running unittests /build/reproducible-path/squeekboard-1.43.1/src/lib.rs (_build/debug/deps/rs-48e7be2a7281ed4c) - -running 59 tests -test assert_matches::test::test_assert_panic_0 - should panic ... ok -test assert_matches::test::test_assert_panic_2 - should panic ... ok -test assert_matches::test::assert_with_message ... ok -test assert_matches::test::test_assert_panic_4 - should panic ... ok -test assert_matches::test::test_assert_no_move ... ok -test assert_matches::test::test_assert_panic_1 - should panic ... ok -test assert_matches::test::test_assert_panic_6 - should panic ... ok -test assert_matches::test::test_assert_succeed ... ok -test data::loading::tests::test_fallback_basic_builtin ... ok -test data::loading::tests::test_preferences_order_arrangement ... ok -test data::loading::tests::test_preferences_order_base ... ok -test data::loading::tests::test_preferences_order_hint ... ok -test data::loading::tests::test_preferences_order_overlay ... ok -test assert_matches::test::test_assert_panic_5 - should panic ... ok -test assert_matches::test::test_panic_message ... ok -test data::loading::tests::test_preferences_order_path ... ok -test assert_matches::test::test_assert_panic_3 - should panic ... ok -test data::parsing::tests::test_extract_symbols ... ok -test data::parsing::tests::test_key_unicode ... ok -test drawing::test::test_exit_only ... ok -test data::parsing::tests::test_empty_views ... ok -test event_loop::test::schedule_hide ... ok -test data::parsing::tests::test_layout_margins ... ok -test data::parsing::tests::test_layout_unicode ... ok -test data::parsing::tests::test_layout_punctuation ... ok -test data::parsing::tests::test_parse_path ... ok -test data::parsing::tests::test_extra_field ... ok -test data::parsing::tests::test_extract_symbols_erase ... ok -test float_ord::tests::test_sort_nan ... ok -test float_ord::tests::test_ord ... ok -test data::parsing::tests::test_layout_erase ... ok -test float_ord::tests::test_hash ... ok -test data::parsing::tests::test_layout_unicode_multi ... ok -test data::parsing::tests::unicode_keysym ... ok -test layout::c::procedures::test::transform_back ... ok -test keyboard::tests::test_keymap_second_resolve ... ok -test keyboard::tests::test_keymap_single_resolve ... ok -test layout::test::check_centering ... ok -test layout::procedures::test::view_has_button ... ok -test layout::test::latch_pop_layout ... ok -test keyboard::tests::test_symbolmap_overflow ... ok -test layout::test::latch_lock_unlock ... ok -test resources::test::check_overlays_present ... ok -test state::test::avoid_hide ... ok -test state::test::false_show ... ok -test state::test::hide ... ok -test state::test::keyboard_present ... ok -test util::c::tests::test_null_cstring ... ok -test util::c::tests::test_null_str ... ok -test util::tests::check_rational_cmp ... ok -test data::loading::tests::parsing_fallback ... ok -test util::tests::check_count ... ok -test layout::test::reverse_unlatch_layout ... ok -test util::tests::check_set ... ok -test state::test::force_visible ... ok -test panel::tests::resize_before_configured ... ok -test layout::test::latch_twopop_layout ... ok -test layout::test::check_bottom_margin ... ok -test layout::test::check_stretching ... ok - -test result: ok. 59 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s - - Running unittests /build/reproducible-path/squeekboard-1.43.1/src/bin/test_layout.rs (_build/debug/deps/test_layout-f3167523ea047230) - -running 0 tests - -test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s - - Doc-tests rs -warning: found module declaration for main.rs - --> /build/reproducible-path/squeekboard-1.43.1/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: 1 warning emitted - - -running 2 tests -test /build/reproducible-path/squeekboard-1.43.1/src/imservice.rs - imservice::ContentPurpose (line 225) ... ok -test /build/reproducible-path/squeekboard-1.43.1/src/float_ord.rs - float_ord::sort (line 73) ... ok - -test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.57s - -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 2/124 rstest OK 8.28s - - 3/124 test_layout_us RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=137 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- us -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s - Running `_build/debug/examples/test_layout us` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 3/124 test_layout_us OK 0.45s - - 4/124 test_layout_us_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=59 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- us_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s - Running `_build/debug/examples/test_layout us_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 4/124 test_layout_us_wide OK 0.43s - - 5/124 test_layout_am RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=217 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- am -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout am` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 5/124 test_layout_am OK 0.48s - - 6/124 test_layout_am_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 MALLOC_PERTURB_=150 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- am_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout am_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 6/124 test_layout_am_wide OK 0.56s - - 7/124 test_layout_am+phonetic RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=29 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- am+phonetic -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s - Running `_build/debug/examples/test_layout am+phonetic` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 7/124 test_layout_am+phonetic OK 0.45s - - 8/124 test_layout_am+phonetic_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=220 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- am+phonetic_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout am+phonetic_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 8/124 test_layout_am+phonetic_wide OK 0.37s - - 9/124 test_layout_ara RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=35 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ara -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s - Running `_build/debug/examples/test_layout ara` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 9/124 test_layout_ara OK 0.36s - - 10/124 test_layout_ara_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=231 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ara_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout ara_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 10/124 test_layout_ara_wide OK 0.32s - - 11/124 test_layout_be RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=66 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- be -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s - Running `_build/debug/examples/test_layout be` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 11/124 test_layout_be OK 0.37s - - 12/124 test_layout_be_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=217 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- be_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s - Running `_build/debug/examples/test_layout be_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 12/124 test_layout_be_wide OK 0.35s - - 13/124 test_layout_bg RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=68 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- bg -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s - Running `_build/debug/examples/test_layout bg` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 13/124 test_layout_bg OK 0.56s - - 14/124 test_layout_bg_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=149 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- bg_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout bg_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 14/124 test_layout_bg_wide OK 0.34s - - 15/124 test_layout_bg+phonetic RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=99 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- bg+phonetic -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s - Running `_build/debug/examples/test_layout bg+phonetic` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 15/124 test_layout_bg+phonetic OK 0.35s - - 16/124 test_layout_bg+phonetic_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=34 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- bg+phonetic_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― +dh: command-omitted: The call to "debian/rules override_dh_auto_test" was omitted due to "DEB_BUILD_OPTIONS=nocheck" + create-stamp debian/debhelper-build-stamp +make[1]: Leaving directory '/build/reproducible-path/squeekboard-1.43.1' + dh_testroot -O--builddirectory=_build -O--buildsystem=meson + dh_prep -O--builddirectory=_build -O--buildsystem=meson + dh_auto_install -O--builddirectory=_build -O--buildsystem=meson + cd _build && DESTDIR=/build/reproducible-path/squeekboard-1.43.1/debian/tmp LC_ALL=C.UTF-8 ninja install +[0/4] Generating src/rslibs with a custom command warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` warning: found module declaration for main.rs @@ -9610,14 +5504,8 @@ | +++++++ warning: `rs` (lib) generated 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s - Running `_build/debug/examples/test_layout bg+phonetic_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 16/124 test_layout_bg+phonetic_wide OK 0.30s - - 17/124 test_layout_br RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=113 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- br -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― + Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s +[1/3] Generating tools/squeekboard-test-layout with a custom command warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` warning: found module declaration for main.rs @@ -9857,26936 +5745,7 @@ | +++++++ warning: `rs` (lib) generated 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout br` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 17/124 test_layout_br OK 0.36s - - 18/124 test_layout_br_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=232 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- br_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s - Running `_build/debug/examples/test_layout br_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 18/124 test_layout_br_wide OK 0.32s - - 19/124 test_layout_by RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=168 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- by -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s - Running `_build/debug/examples/test_layout by` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 19/124 test_layout_by OK 0.33s - - 20/124 test_layout_by_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=83 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- by_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout by_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 20/124 test_layout_by_wide OK 0.32s - - 21/124 test_layout_ca RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=183 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ca -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s - Running `_build/debug/examples/test_layout ca` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 21/124 test_layout_ca OK 0.45s - - 22/124 test_layout_ca_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=102 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ca_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout ca_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 22/124 test_layout_ca_wide OK 0.33s - - 23/124 test_layout_ch+fr RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=162 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ch+fr -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout ch+fr` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 23/124 test_layout_ch+fr OK 0.42s - - 24/124 test_layout_ch+fr_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=222 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ch+fr_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s - Running `_build/debug/examples/test_layout ch+fr_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 24/124 test_layout_ch+fr_wide OK 0.38s - - 25/124 test_layout_ch+de RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=217 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ch+de -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout ch+de` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 25/124 test_layout_ch+de OK 0.44s - - 26/124 test_layout_ch+de_wide RUNNING ->>> MALLOC_PERTURB_=143 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ch+de_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s - Running `_build/debug/examples/test_layout ch+de_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 26/124 test_layout_ch+de_wide OK 0.44s - - 27/124 test_layout_ch RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=227 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ch -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout ch` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 27/124 test_layout_ch OK 0.40s - - 28/124 test_layout_ch_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=72 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ch_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.50s - Running `_build/debug/examples/test_layout ch_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 28/124 test_layout_ch_wide OK 0.66s - - 29/124 test_layout_cz RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=117 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- cz -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout cz` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 29/124 test_layout_cz OK 0.34s - - 30/124 test_layout_cz_wide RUNNING ->>> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=152 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- cz_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout cz_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 30/124 test_layout_cz_wide OK 0.33s - - 31/124 test_layout_cz+qwerty RUNNING ->>> MALLOC_PERTURB_=114 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- cz+qwerty -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s - Running `_build/debug/examples/test_layout cz+qwerty` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 31/124 test_layout_cz+qwerty OK 0.35s - - 32/124 test_layout_cz+qwerty_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=5 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- cz+qwerty_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s - Running `_build/debug/examples/test_layout cz+qwerty_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 32/124 test_layout_cz+qwerty_wide OK 0.45s - - 33/124 test_layout_de RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=148 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- de -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout de` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 33/124 test_layout_de OK 0.42s - - 34/124 test_layout_de_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=172 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- de_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout de_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 34/124 test_layout_de_wide OK 0.40s - - 35/124 test_layout_de+bone RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=130 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- de+bone -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s - Running `_build/debug/examples/test_layout de+bone` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 35/124 test_layout_de+bone OK 0.39s - - 36/124 test_layout_de+bone_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=46 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- de+bone_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout de+bone_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 36/124 test_layout_de+bone_wide OK 0.41s - - 37/124 test_layout_de+neo RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=144 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- de+neo -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout de+neo` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 37/124 test_layout_de+neo OK 0.39s - - 38/124 test_layout_de+neo_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=53 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- de+neo_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s - Running `_build/debug/examples/test_layout de+neo_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 38/124 test_layout_de+neo_wide OK 0.42s - - 39/124 test_layout_dk RUNNING ->>> MALLOC_PERTURB_=115 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- dk -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout dk` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 39/124 test_layout_dk OK 0.42s - - 40/124 test_layout_dk_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=20 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- dk_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s - Running `_build/debug/examples/test_layout dk_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 40/124 test_layout_dk_wide OK 0.45s - - 41/124 test_layout_epo RUNNING ->>> MALLOC_PERTURB_=240 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- epo -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout epo` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 41/124 test_layout_epo OK 0.43s - - 42/124 test_layout_epo_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=36 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- epo_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout epo_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 42/124 test_layout_epo_wide OK 0.42s - - 43/124 test_layout_es RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=157 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- es -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s - Running `_build/debug/examples/test_layout es` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 43/124 test_layout_es OK 0.48s - - 44/124 test_layout_es_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=51 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- es_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s - Running `_build/debug/examples/test_layout es_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 44/124 test_layout_es_wide OK 0.45s - - 45/124 test_layout_es+cat RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=118 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- es+cat -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s - Running `_build/debug/examples/test_layout es+cat` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 45/124 test_layout_es+cat OK 0.41s - - 46/124 test_layout_es+cat_wide RUNNING ->>> MALLOC_PERTURB_=143 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- es+cat_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout es+cat_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 46/124 test_layout_es+cat_wide OK 0.42s - - 47/124 test_layout_fi RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=144 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- fi -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s - Running `_build/debug/examples/test_layout fi` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 47/124 test_layout_fi OK 0.39s - - 48/124 test_layout_fi_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=145 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- fi_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout fi_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 48/124 test_layout_fi_wide OK 0.44s - - 49/124 test_layout_fr RUNNING ->>> MALLOC_PERTURB_=114 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- fr -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout fr` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 49/124 test_layout_fr OK 0.32s - - 50/124 test_layout_fr_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=206 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- fr_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout fr_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 50/124 test_layout_fr_wide OK 0.45s - - 51/124 test_layout_fr+bepo RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=247 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- fr+bepo -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s - Running `_build/debug/examples/test_layout fr+bepo` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 51/124 test_layout_fr+bepo OK 0.55s - - 52/124 test_layout_fr+bepo_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 MALLOC_PERTURB_=105 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- fr+bepo_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s - Running `_build/debug/examples/test_layout fr+bepo_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 52/124 test_layout_fr+bepo_wide OK 0.43s - - 53/124 test_layout_ge RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=252 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ge -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s - Running `_build/debug/examples/test_layout ge` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 53/124 test_layout_ge OK 0.41s - - 54/124 test_layout_ge_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=27 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ge_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s - Running `_build/debug/examples/test_layout ge_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 54/124 test_layout_ge_wide OK 0.34s - - 55/124 test_layout_gr RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=121 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- gr -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout gr` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 55/124 test_layout_gr OK 0.42s - - 56/124 test_layout_gr_wide RUNNING ->>> MALLOC_PERTURB_=194 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- gr_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s - Running `_build/debug/examples/test_layout gr_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 56/124 test_layout_gr_wide OK 0.30s - - 57/124 test_layout_gr+polytonic RUNNING ->>> MALLOC_PERTURB_=193 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- gr+polytonic -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s - Running `_build/debug/examples/test_layout gr+polytonic` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 57/124 test_layout_gr+polytonic OK 0.32s - - 58/124 test_layout_gr+polytonic_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=32 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- gr+polytonic_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout gr+polytonic_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 58/124 test_layout_gr+polytonic_wide OK 0.42s - - 59/124 test_layout_hu RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=106 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- hu -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout hu` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 59/124 test_layout_hu OK 0.33s - - 60/124 test_layout_hu_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=10 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- hu_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s - Running `_build/debug/examples/test_layout hu_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 60/124 test_layout_hu_wide OK 0.35s - - 61/124 test_layout_il RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=151 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- il -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s - Running `_build/debug/examples/test_layout il` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 61/124 test_layout_il OK 0.37s - - 62/124 test_layout_il_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=224 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- il_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s - Running `_build/debug/examples/test_layout il_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 62/124 test_layout_il_wide OK 0.39s - - 63/124 test_layout_in+mal RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=148 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- in+mal -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout in+mal` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 63/124 test_layout_in+mal OK 0.35s - - 64/124 test_layout_in+mal_wide RUNNING ->>> MALLOC_PERTURB_=250 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- in+mal_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s - Running `_build/debug/examples/test_layout in+mal_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 64/124 test_layout_in+mal_wide OK 0.36s - - 65/124 test_layout_ir RUNNING ->>> MALLOC_PERTURB_=158 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ir -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s - Running `_build/debug/examples/test_layout ir` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 65/124 test_layout_ir OK 0.36s - - 66/124 test_layout_ir_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=195 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ir_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s - Running `_build/debug/examples/test_layout ir_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 66/124 test_layout_ir_wide OK 0.31s - - 67/124 test_layout_it RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=222 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- it -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s - Running `_build/debug/examples/test_layout it` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 67/124 test_layout_it OK 0.36s - - 68/124 test_layout_it_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=63 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- it_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s - Running `_build/debug/examples/test_layout it_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 68/124 test_layout_it_wide OK 0.31s - - 69/124 test_layout_it+fur RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=3 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- it+fur -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout it+fur` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 69/124 test_layout_it+fur OK 0.34s - - 70/124 test_layout_it+fur_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=60 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- it+fur_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s - Running `_build/debug/examples/test_layout it+fur_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 70/124 test_layout_it+fur_wide OK 0.50s - - 71/124 test_layout_jp RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=77 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- jp -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout jp` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 71/124 test_layout_jp OK 0.38s - - 72/124 test_layout_jp_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=140 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- jp_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s - Running `_build/debug/examples/test_layout jp_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 72/124 test_layout_jp_wide OK 0.35s - - 73/124 test_layout_jp+kana RUNNING ->>> MALLOC_PERTURB_=119 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- jp+kana -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout jp+kana` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 73/124 test_layout_jp+kana OK 0.38s - - 74/124 test_layout_jp+kana_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=222 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- jp+kana_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout jp+kana_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 74/124 test_layout_jp+kana_wide OK 0.38s - - 75/124 test_layout_no RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=11 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- no -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout no` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 75/124 test_layout_no OK 0.33s - - 76/124 test_layout_no_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=206 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- no_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s - Running `_build/debug/examples/test_layout no_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 76/124 test_layout_no_wide OK 0.37s - - 77/124 test_layout_pt RUNNING ->>> MALLOC_PERTURB_=58 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- pt -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout pt` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 77/124 test_layout_pt OK 0.35s - - 78/124 test_layout_pt_wide RUNNING ->>> MALLOC_PERTURB_=194 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- pt_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout pt_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 78/124 test_layout_pt_wide OK 0.32s - - 79/124 test_layout_pl RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=179 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- pl -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s - Running `_build/debug/examples/test_layout pl` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 79/124 test_layout_pl OK 0.32s - - 80/124 test_layout_pl_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=56 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- pl_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s - Running `_build/debug/examples/test_layout pl_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 80/124 test_layout_pl_wide OK 0.37s - - 81/124 test_layout_ro RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=126 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ro -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s - Running `_build/debug/examples/test_layout ro` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 81/124 test_layout_ro OK 0.33s - - 82/124 test_layout_ro_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=144 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ro_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s - Running `_build/debug/examples/test_layout ro_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 82/124 test_layout_ro_wide OK 0.30s - - 83/124 test_layout_rs RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=12 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- rs -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s - Running `_build/debug/examples/test_layout rs` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 83/124 test_layout_rs OK 0.40s - - 84/124 test_layout_rs_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=220 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- rs_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s - Running `_build/debug/examples/test_layout rs_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 84/124 test_layout_rs_wide OK 0.58s - - 85/124 test_layout_rs+latin RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=72 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- rs+latin -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s - Running `_build/debug/examples/test_layout rs+latin` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 85/124 test_layout_rs+latin OK 0.39s - - 86/124 test_layout_rs+latin_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=231 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- rs+latin_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout rs+latin_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 86/124 test_layout_rs+latin_wide OK 0.27s - - 87/124 test_layout_rs+latinunicode RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=167 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- rs+latinunicode -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout rs+latinunicode` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 87/124 test_layout_rs+latinunicode OK 0.38s - - 88/124 test_layout_rs+latinunicode_wide RUNNING ->>> MALLOC_PERTURB_=176 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- rs+latinunicode_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s - Running `_build/debug/examples/test_layout rs+latinunicode_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 88/124 test_layout_rs+latinunicode_wide OK 0.52s - - 89/124 test_layout_ru RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=170 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ru -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s - Running `_build/debug/examples/test_layout ru` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 89/124 test_layout_ru OK 0.32s - - 90/124 test_layout_ru_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=226 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ru_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s - Running `_build/debug/examples/test_layout ru_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 90/124 test_layout_ru_wide OK 0.35s - - 91/124 test_layout_se RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=18 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- se -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s - Running `_build/debug/examples/test_layout se` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 91/124 test_layout_se OK 0.40s - - 92/124 test_layout_se_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=162 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- se_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout se_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 92/124 test_layout_se_wide OK 0.43s - - 93/124 test_layout_si RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=187 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- si -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout si` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 93/124 test_layout_si OK 0.43s - - 94/124 test_layout_si_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=109 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- si_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s - Running `_build/debug/examples/test_layout si_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 94/124 test_layout_si_wide OK 0.43s - - 95/124 test_layout_th RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=47 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- th -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s - Running `_build/debug/examples/test_layout th` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 95/124 test_layout_th OK 0.58s - - 96/124 test_layout_th_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=225 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- th_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout th_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 96/124 test_layout_th_wide OK 0.41s - - 97/124 test_layout_tr RUNNING ->>> MALLOC_PERTURB_=14 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- tr -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout tr` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 97/124 test_layout_tr OK 0.42s - - 98/124 test_layout_tr_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=63 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- tr_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout tr_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 98/124 test_layout_tr_wide OK 0.42s - - 99/124 test_layout_tr+f RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=177 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- tr+f -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout tr+f` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― - 99/124 test_layout_tr+f OK 0.42s - -100/124 test_layout_tr+f_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=91 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- tr+f_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout tr+f_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -100/124 test_layout_tr+f_wide OK 0.44s - -101/124 test_layout_ua RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=135 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ua -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s - Running `_build/debug/examples/test_layout ua` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -101/124 test_layout_ua OK 0.37s - -102/124 test_layout_ua_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=203 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- ua_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout ua_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -102/124 test_layout_ua_wide OK 0.40s - -103/124 test_layout_us+colemak RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=19 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- us+colemak -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout us+colemak` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -103/124 test_layout_us+colemak OK 0.42s - -104/124 test_layout_us+colemak_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=45 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- us+colemak_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout us+colemak_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -104/124 test_layout_us+colemak_wide OK 0.44s - -105/124 test_layout_us+dvorak RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=228 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- us+dvorak -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s - Running `_build/debug/examples/test_layout us+dvorak` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -105/124 test_layout_us+dvorak OK 0.40s - -106/124 test_layout_us+dvorak_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=174 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- us+dvorak_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout us+dvorak_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -106/124 test_layout_us+dvorak_wide OK 0.41s - -107/124 test_layout_terminal/de RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=34 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/de -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s - Running `_build/debug/examples/test_layout terminal/de` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -107/124 test_layout_terminal/de OK 0.44s - -108/124 test_layout_terminal/de_wide RUNNING ->>> MALLOC_PERTURB_=237 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/de_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout terminal/de_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -108/124 test_layout_terminal/de_wide OK 0.42s - -109/124 test_layout_terminal/es RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=88 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/es -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s - Running `_build/debug/examples/test_layout terminal/es` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -109/124 test_layout_terminal/es OK 0.42s - -110/124 test_layout_terminal/es_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=24 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/es_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout terminal/es_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -110/124 test_layout_terminal/es_wide OK 0.42s - -111/124 test_layout_terminal/fr RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=246 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/fr -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s - Running `_build/debug/examples/test_layout terminal/fr` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -111/124 test_layout_terminal/fr OK 0.43s - -112/124 test_layout_terminal/fr_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=9 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/fr_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout terminal/fr_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -112/124 test_layout_terminal/fr_wide OK 0.41s - -113/124 test_layout_terminal/fr+bepo RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 MALLOC_PERTURB_=150 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/fr+bepo -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.23s - Running `_build/debug/examples/test_layout terminal/fr+bepo` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -113/124 test_layout_terminal/fr+bepo OK 0.33s - -114/124 test_layout_terminal/fr+bepo_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 MALLOC_PERTURB_=8 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/fr+bepo_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout terminal/fr+bepo_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -114/124 test_layout_terminal/fr+bepo_wide OK 0.43s - -115/124 test_layout_terminal/us RUNNING ->>> MALLOC_PERTURB_=114 ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/us -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout terminal/us` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -115/124 test_layout_terminal/us OK 0.40s - -116/124 test_layout_terminal/us_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=218 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/us_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s - Running `_build/debug/examples/test_layout terminal/us_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -116/124 test_layout_terminal/us_wide OK 0.48s - -117/124 test_layout_terminal/us+dvorak RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=133 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/us+dvorak -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s - Running `_build/debug/examples/test_layout terminal/us+dvorak` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -117/124 test_layout_terminal/us+dvorak OK 0.45s - -118/124 test_layout_terminal/us+dvorak_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=81 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- terminal/us+dvorak_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout terminal/us+dvorak_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -118/124 test_layout_terminal/us+dvorak_wide OK 0.41s - -119/124 test_layout_emoji/us RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=22 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- emoji/us allow_missing_return -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s - Running `_build/debug/examples/test_layout emoji/us allow_missing_return` -Surprise: There's no way to input the keysym Return on this layout -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -119/124 test_layout_emoji/us OK 0.56s - -120/124 test_layout_emoji/us_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=191 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- emoji/us_wide allow_missing_return -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s - Running `_build/debug/examples/test_layout emoji/us_wide allow_missing_return` -Surprise: There's no way to input the keysym Return on this layout -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -120/124 test_layout_emoji/us_wide OK 0.58s - -121/124 test_layout_number/us RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=101 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- number/us -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s - Running `_build/debug/examples/test_layout number/us` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -121/124 test_layout_number/us OK 0.41s - -122/124 test_layout_number/us_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MALLOC_PERTURB_=104 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- number/us_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s - Running `_build/debug/examples/test_layout number/us_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -122/124 test_layout_number/us_wide OK 0.45s - -123/124 test_layout_pin/us RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=146 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- pin/us -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s - Running `_build/debug/examples/test_layout pin/us` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -123/124 test_layout_pin/us OK 0.39s - -124/124 test_layout_pin/us_wide RUNNING ->>> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 MESON_TEST_ITERATION=1 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MALLOC_PERTURB_=6 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 /build/reproducible-path/squeekboard-1.43.1/cargo.sh run --features zbus_v1_5,clap_v4 --example test_layout -- pin/us_wide -――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――― -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.29s - Running `_build/debug/examples/test_layout pin/us_wide` -―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― -124/124 test_layout_pin/us_wide OK 0.41s - - -Ok: 124 -Fail: 0 - -Full log written to /build/reproducible-path/squeekboard-1.43.1/_build/meson-logs/testlog.txt -make[2]: Leaving directory '/build/reproducible-path/squeekboard-1.43.1' - create-stamp debian/debhelper-build-stamp -make[1]: Leaving directory '/build/reproducible-path/squeekboard-1.43.1' - dh_testroot -O--builddirectory=_build -O--buildsystem=meson - dh_prep -O--builddirectory=_build -O--buildsystem=meson - dh_auto_install -O--builddirectory=_build -O--buildsystem=meson - cd _build && DESTDIR=/build/reproducible-path/squeekboard-1.43.1/debian/tmp LC_ALL=C.UTF-8 ninja install -[0/4] Generating src/rslibs with a custom command -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s -[1/3] Generating tools/squeekboard-test-layout with a custom command -warning: `/build/reproducible-path/squeekboard-1.43.1/debian/cargo/config` is deprecated in favor of `config.toml` -note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` -warning: found module declaration for main.rs - --> /remap-pwd/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: unused import: `ObjectServer` - --> /remap-pwd/src/actors/external/debug.rs:10:34 - | -10 | use zbus::{blocking::Connection, ObjectServer}; - | ^^^^^^^^^^^^ - | - = note: `#[warn(unused_imports)]` on by default - -warning: unused import: `super::Void` - --> /remap-pwd/src/actors/external/debug.rs:12:5 - | -12 | use super::Void; - | ^^^^^^^^^^^ - -warning: unused import: `std::convert::TryInto` - --> /remap-pwd/src/actors/external/debug.rs:14:5 - | -14 | use std::convert::TryInto; - | ^^^^^^^^^^^^^^^^^^^^^ - -warning: `extern` declarations without an explicit ABI are deprecated - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/outputs.rs:331:21 - | -331 | Self(self.0.div_ceil(other)) - | ^^^^^^^^ - | - = 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 - = help: call with fully qualified syntax `util::DivCeil::div_ceil(...)` to keep using the current method - = note: `#[warn(unstable_name_collisions)]` on by default - -warning: irrefutable `if let` pattern - --> /remap-pwd/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: variable does not need to be mutable - --> /remap-pwd/src/actors/external/screensaver.rs:42:9 - | -42 | let mut active_changed = manager.receive_active_changed()?; - | ----^^^^^^^^^^^^^^ - | | - | help: remove this `mut` - | - = note: `#[warn(unused_mut)]` on by default - -warning: struct `ProblemPanic` is never constructed - --> /remap-pwd/src/logging.rs:191:12 - | -191 | pub struct ProblemPanic; - | ^^^^^^^^^^^^ - | - = note: `#[warn(dead_code)]` on by default - -warning: fields `surrounding_text`, `surrounding_cursor`, and `text_change_cause` are never read - --> /remap-pwd/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 - --> /remap-pwd/src/layout.rs:536:12 - | -536 | pub struct Spacing { - | ^^^^^^^ - -warning: field `0` is never read - --> /remap-pwd/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 - --> /remap-pwd/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 - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f32::to_bits` -... -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) - -warning: unnecessary transmute - --> /remap-pwd/src/float_ord.rs:29:34 - | -29 | let u = unsafe { transmute::<$f, $i>(self.0) }; - | -------------------^^^^^^^^ - | | - | help: replace this with: `f64::to_bits` -... -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) - -warning: hiding a lifetime that's elided elsewhere is confusing - --> /remap-pwd/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 - --> /remap-pwd/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)]` 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 - --> /remap-pwd/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 26 warnings (run `cargo fix --lib -p rs` to apply 15 suggestions) - Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s + Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [2/3] Installing files Installing data/sm.puri.Squeekboard.desktop to /build/reproducible-path/squeekboard-1.43.1/debian/tmp/usr/share/applications Installing po/be/LC_MESSAGES/squeekboard.mo to /build/reproducible-path/squeekboard-1.43.1/debian/tmp/usr/share/locale/be/LC_MESSAGES @@ -36840,40 +5799,40 @@ dh_perl -O--builddirectory=_build -O--buildsystem=meson dh_link -O--builddirectory=_build -O--buildsystem=meson dh_strip_nondeterminism -O--builddirectory=_build -O--buildsystem=meson - Normalized debian/squeekboard/usr/share/locale/fr/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/fi/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/fa/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/sr/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/uk/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/nl/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/he/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/pt/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/hu/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/zh_CN/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/tr/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/de/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/pl/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/ht/LC_MESSAGES/squeekboard.mo Normalized debian/squeekboard/usr/share/locale/ko/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/es/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/gl/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/hu/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/hr/LC_MESSAGES/squeekboard.mo Normalized debian/squeekboard/usr/share/locale/sv/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/it/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/ro/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/fur/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/be/LC_MESSAGES/squeekboard.mo Normalized debian/squeekboard/usr/share/locale/cs/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/oc/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/bg/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/fi/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/fr/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/gl/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/ht/LC_MESSAGES/squeekboard.mo Normalized debian/squeekboard/usr/share/locale/el/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/be/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/hi/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/ca/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/sl/LC_MESSAGES/squeekboard.mo Normalized debian/squeekboard/usr/share/locale/ka/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/es/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/he/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/hi/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/tr/LC_MESSAGES/squeekboard.mo Normalized debian/squeekboard/usr/share/locale/eu/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/zh_CN/LC_MESSAGES/squeekboard.mo Normalized debian/squeekboard/usr/share/locale/pt_BR/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/sl/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/oc/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/nl/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/pt/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/bg/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/fa/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/de/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/fur/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/uk/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/it/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/pl/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/ca/LC_MESSAGES/squeekboard.mo Normalized debian/squeekboard/usr/share/locale/ru/LC_MESSAGES/squeekboard.mo - Normalized debian/squeekboard/usr/share/locale/hr/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/sr/LC_MESSAGES/squeekboard.mo + Normalized debian/squeekboard/usr/share/locale/ro/LC_MESSAGES/squeekboard.mo dh_compress -O--builddirectory=_build -O--buildsystem=meson dh_fixperms -O--builddirectory=_build -O--buildsystem=meson dh_missing -O--builddirectory=_build -O--buildsystem=meson @@ -36889,23 +5848,23 @@ diversion by libc6 from: /lib64/ld-linux-x86-64.so.2 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib64/ld-linux-x86-64.so.2.usr-is-merged -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libgdk_pixbuf-2.0.so.0 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libcairo-gobject.so.2 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libgio-2.0.so.0 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libglib-2.0.so.0 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libgtk-3.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libcairo.so.2 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libgio-2.0.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libgdk-3.so.0 (it uses none of the library's symbols) -dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libgobject-2.0.so.0 (it uses none of the library's symbols) dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libpango-1.0.so.0 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libcairo-gobject.so.2 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libgobject-2.0.so.0 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libgtk-3.so.0 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libglib-2.0.so.0 (it uses none of the library's symbols) +dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/squeekboard-devel/usr/bin/squeekboard-test-layout was not linked against libgdk_pixbuf-2.0.so.0 (it uses none of the library's symbols) dh_installdeb -O--builddirectory=_build -O--buildsystem=meson dh_gencontrol -O--builddirectory=_build -O--buildsystem=meson dh_md5sums -O--builddirectory=_build -O--buildsystem=meson dh_builddeb -O--builddirectory=_build -O--buildsystem=meson -dpkg-deb: building package 'squeekboard-devel' in '../squeekboard-devel_1.43.1-2_amd64.deb'. -dpkg-deb: building package 'squeekboard' in '../squeekboard_1.43.1-2_amd64.deb'. dpkg-deb: building package 'squeekboard-dbgsym' in '../squeekboard-dbgsym_1.43.1-2_amd64.deb'. +dpkg-deb: building package 'squeekboard-devel' in '../squeekboard-devel_1.43.1-2_amd64.deb'. dpkg-deb: building package 'squeekboard-devel-dbgsym' in '../squeekboard-devel-dbgsym_1.43.1-2_amd64.deb'. +dpkg-deb: building package 'squeekboard' in '../squeekboard_1.43.1-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../squeekboard_1.43.1-2_amd64.buildinfo dpkg-genchanges --build=binary -O../squeekboard_1.43.1-2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -36913,12 +5872,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/1440343/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1440343/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2414613 and its subdirectories -I: Current time: Tue Dec 29 01:21:23 -12 2026 -I: pbuilder-time-stamp: 1798550483 +I: removing directory /srv/workspace/pbuilder/1440343 and its subdirectories +I: Current time: Wed Nov 26 21:06:44 +14 2025 +I: pbuilder-time-stamp: 1764140804