>>> java-libsignal-client: Building community/java-libsignal-client 0.48.0-r0 (using abuild 3.13.0-r3) started Tue, 28 May 2024 04:54:31 +0000 >>> java-libsignal-client: Checking sanity of /home/buildozer/aports/community/java-libsignal-client/APKBUILD... >>> java-libsignal-client: Analyzing dependencies... >>> java-libsignal-client: Installing for build: build-base java-jre-headless bash cargo clang-dev cmake openjdk17-jdk protoc rust zip (1/70) Installing readline (8.2.10-r0) (2/70) Installing bash (5.2.26-r0) Executing bash-5.2.26-r0.post-install (3/70) Installing xz-libs (5.6.1-r3) (4/70) Installing libxml2 (2.12.7-r0) (5/70) Installing llvm17-libs (17.0.6-r1) (6/70) Installing scudo-malloc (17.0.6-r0) (7/70) Installing rust (1.78.0-r0) (8/70) Installing cargo (1.78.0-r0) (9/70) Installing clang17-headers (17.0.6-r1) (10/70) Installing clang17-libs (17.0.6-r1) (11/70) Installing llvm17-linker-tools (17.0.6-r1) (12/70) Installing clang17 (17.0.6-r1) (13/70) Installing clang17-libclang (17.0.6-r1) (14/70) Installing clang17-extra-tools (17.0.6-r1) (15/70) Installing clang17-dev (17.0.6-r1) (16/70) Installing libarchive (3.7.4-r0) (17/70) Installing rhash-libs (1.4.4-r0) (18/70) Installing libuv (1.48.0-r0) (19/70) Installing cmake (3.29.3-r0) (20/70) Installing abseil-cpp-raw-logging-internal (20230802.1-r0) (21/70) Installing abseil-cpp-log-internal-globals (20230802.1-r0) (22/70) Installing abseil-cpp-time-zone (20230802.1-r0) (23/70) Installing abseil-cpp-log-initialize (20230802.1-r0) (24/70) Installing abseil-cpp-city (20230802.1-r0) (25/70) Installing abseil-cpp-low-level-hash (20230802.1-r0) (26/70) Installing abseil-cpp-hash (20230802.1-r0) (27/70) Installing abseil-cpp-log-internal-nullguard (20230802.1-r0) (28/70) Installing abseil-cpp-strings-internal (20230802.1-r0) (29/70) Installing abseil-cpp-strings (20230802.1-r0) (30/70) Installing abseil-cpp-log-internal-check-op (20230802.1-r0) (31/70) Installing abseil-cpp-spinlock-wait (20230802.1-r0) (32/70) Installing abseil-cpp-base (20230802.1-r0) (33/70) Installing abseil-cpp-log-internal-conditions (20230802.1-r0) (34/70) Installing abseil-cpp-debugging-internal (20230802.1-r0) (35/70) Installing abseil-cpp-stacktrace (20230802.1-r0) (36/70) Installing abseil-cpp-symbolize (20230802.1-r0) (37/70) Installing abseil-cpp-examine-stack (20230802.1-r0) (38/70) Installing abseil-cpp-log-globals (20230802.1-r0) (39/70) Installing abseil-cpp-int128 (20230802.1-r0) (40/70) Installing abseil-cpp-str-format-internal (20230802.1-r0) (41/70) Installing abseil-cpp-time (20230802.1-r0) (42/70) Installing abseil-cpp-log-internal-format (20230802.1-r0) (43/70) Installing abseil-cpp-log-sink (20230802.1-r0) (44/70) Installing abseil-cpp-kernel-timeout-internal (20230802.1-r0) (45/70) Installing abseil-cpp-malloc-internal (20230802.1-r0) (46/70) Installing abseil-cpp-synchronization (20230802.1-r0) (47/70) Installing abseil-cpp-log-internal-log-sink-set (20230802.1-r0) (48/70) Installing abseil-cpp-log-internal-proto (20230802.1-r0) (49/70) Installing abseil-cpp-strerror (20230802.1-r0) (50/70) Installing abseil-cpp-log-internal-message (20230802.1-r0) (51/70) Installing abseil-cpp-raw-hash-set (20230802.1-r0) (52/70) Installing abseil-cpp-crc-internal (20230802.1-r0) (53/70) Installing abseil-cpp-crc32c (20230802.1-r0) (54/70) Installing abseil-cpp-crc-cord-state (20230802.1-r0) (55/70) Installing abseil-cpp-throw-delegate (20230802.1-r0) (56/70) Installing abseil-cpp-cord-internal (20230802.1-r0) (57/70) Installing abseil-cpp-exponential-biased (20230802.1-r0) (58/70) Installing abseil-cpp-cordz-functions (20230802.1-r0) (59/70) Installing abseil-cpp-cordz-handle (20230802.1-r0) (60/70) Installing abseil-cpp-cordz-info (20230802.1-r0) (61/70) Installing abseil-cpp-cord (20230802.1-r0) (62/70) Installing abseil-cpp-status (20230802.1-r0) (63/70) Installing abseil-cpp-statusor (20230802.1-r0) (64/70) Installing abseil-cpp-die-if-null (20230802.1-r0) (65/70) Installing libprotobuf (24.4-r1) (66/70) Installing libprotoc (24.4-r1) (67/70) Installing protoc (24.4-r1) (68/70) Installing unzip (6.0-r14) (69/70) Installing zip (3.0-r12) (70/70) Installing .makedepends-java-libsignal-client (20240528.045431) Executing busybox-1.36.1-r28.trigger OK: 1748 MiB in 208 packages >>> java-libsignal-client: Cleaning up srcdir >>> java-libsignal-client: Cleaning up pkgdir >>> java-libsignal-client: Cleaning up tmpdir >>> java-libsignal-client: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/java-libsignal-client-0.48.0.tar.gz Connecting to distfiles.alpinelinux.org (172.105.82.32:443) wget: server returned error: HTTP/1.1 404 Not Found >>> java-libsignal-client: Fetching java-libsignal-client-0.48.0.tar.gz::https://github.com/signalapp/libsignal/archive/v0.48.0.tar.gz Connecting to github.com (140.82.121.3:443) Connecting to codeload.github.com (140.82.121.10:443) saving to '/var/cache/distfiles/v3.20/java-libsignal-client-0.48.0.tar.gz.part' java-libsignal-clien 100% |********************************| 1425k 0:00:00 ETA '/var/cache/distfiles/v3.20/java-libsignal-client-0.48.0.tar.gz.part' saved >>> java-libsignal-client: Fetching https://distfiles.alpinelinux.org/distfiles/v3.20/java-libsignal-client-0.48.0.tar.gz >>> java-libsignal-client: Checking sha512sums... java-libsignal-client-0.48.0.tar.gz: OK upgrade-gradle-fix-sigsegv-aarch64.patch: OK >>> java-libsignal-client: Unpacking /var/cache/distfiles/v3.20/java-libsignal-client-0.48.0.tar.gz... >>> java-libsignal-client: upgrade-gradle-fix-sigsegv-aarch64.patch patching file java/gradle/wrapper/gradle-wrapper.properties To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.8-20240411013326+0000/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation. Daemon will be stopped at the end of the build > Task :client:compileJava > Task :makeJniLibrariesDesktop cargo build -p libsignal-jni --release --features testing-fns Updating crates.io index Downloading crates ... Downloaded rustls-platform-verifier v0.3.1 Compiling proc-macro2 v1.0.78 Compiling unicode-ident v1.0.12 Compiling libc v0.2.153 Compiling cfg-if v1.0.0 Compiling version_check v0.9.4 Compiling typenum v1.17.0 Compiling memchr v2.7.1 Compiling subtle v2.5.0 Compiling bitflags v2.4.2 Compiling thiserror v1.0.57 Compiling autocfg v1.1.0 Compiling regex-syntax v0.8.2 Compiling either v1.10.0 Compiling anyhow v1.0.80 Compiling once_cell v1.19.0 Compiling equivalent v1.0.1 Compiling bytes v1.5.0 Compiling hashbrown v0.14.3 Compiling rustix v0.38.31 Compiling linux-raw-sys v0.4.13 Compiling fastrand v2.0.1 Compiling home v0.5.9 Compiling heck v0.4.1 Compiling pin-project-lite v0.2.13 Compiling log v0.4.21 Compiling semver v1.0.22 Compiling prettyplease v0.2.16 Compiling glob v0.3.1 Compiling fixedbitset v0.4.2 Compiling serde v1.0.197 Compiling futures-core v0.3.30 Compiling syn v1.0.109 Compiling multimap v0.8.3 Compiling futures-sink v0.3.30 Compiling futures-io v0.3.30 Compiling pin-utils v0.1.0 Compiling platforms v3.3.0 Compiling futures-task v0.3.30 Compiling opaque-debug v0.3.1 Compiling lazy_static v1.4.0 Compiling itoa v1.0.10 Compiling minimal-lexical v0.2.1 Compiling bindgen v0.68.1 Compiling crossbeam-utils v0.8.19 Compiling rustc-hash v1.1.0 Compiling shlex v1.3.0 Compiling fnv v1.0.7 Compiling peeking_take_while v0.1.2 Compiling lazycell v1.3.0 Compiling toml_datetime v0.6.5 Compiling fs_extra v1.3.0 Compiling protobuf v3.4.0 Compiling ident_case v1.0.1 Compiling strsim v0.10.0 Compiling ppv-lite86 v0.2.17 Compiling winnow v0.5.40 Compiling rayon-core v1.12.1 Compiling rustversion v1.0.14 Compiling dunce v1.0.4 Compiling uuid v1.7.0 Compiling tinyvec_macros v0.1.1 Compiling foreign-types-shared v0.3.1 Compiling static_assertions v1.1.0 Compiling convert_case v0.4.0 Compiling rustls-pki-types v1.4.1 Compiling adler v1.0.2 Compiling hashbrown v0.12.3 Compiling ciborium-io v0.2.2 Compiling unicode-bidi v0.3.15 Compiling libloading v0.8.3 Compiling half v2.4.0 Compiling untrusted v0.9.0 Compiling percent-encoding v2.3.1 Compiling hex-literal v0.4.1 Compiling async-trait v0.1.77 Compiling serde_json v1.0.114 Compiling httparse v1.8.0 Compiling utf8parse v0.2.1 Compiling crc32fast v1.4.0 Compiling spin v0.9.8 Compiling try-lock v0.2.5 Compiling rustls v0.23.4 Compiling futures-channel v0.3.30 Compiling tinyvec v1.6.0 Compiling paste v1.0.14 Compiling pqcrypto-traits v0.3.5 Compiling ryu v1.0.17 Compiling smallvec v1.13.2 Compiling colorchoice v1.0.0 Compiling iana-time-zone v0.1.60 Compiling unicode-segmentation v1.11.0 Compiling anstyle-query v1.0.2 Compiling miniz_oxide v0.7.2 Compiling anstyle v1.0.6 Compiling base64 v0.22.0 Compiling base64 v0.21.7 Compiling itertools v0.11.0 Compiling tracing-core v0.1.32 Compiling want v0.3.1 Compiling base64ct v1.6.0 Compiling anstyle-parse v0.2.3 Compiling arrayref v0.3.7 Compiling utf-8 v0.7.6 Compiling dyn-clone v1.0.17 Compiling bitstream-io v1.10.0 Compiling form_urlencoded v1.2.1 Compiling clap_lex v0.6.0 Compiling data-encoding v2.5.0 Compiling openssl-probe v0.1.5 Compiling byteorder v1.5.0 Compiling termcolor v1.4.1 Compiling gimli v0.28.1 Compiling assert_matches v1.5.0 Compiling humantime v2.1.0 Compiling downcast-rs v1.2.0 Compiling jni-sys v0.3.0 Compiling const-str v0.5.7 Compiling rustc-demangle v0.1.23 Compiling nonzero_ext v0.3.0 Compiling itertools v0.12.1 Compiling libsignal-bridge v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/bridge/shared) Compiling arrayvec v0.7.4 Compiling cesu8 v1.1.0 Compiling bytemuck v1.14.3 Compiling atomic-take v1.1.0 Compiling libsignal-jni v0.48.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/bridge/jni) Compiling scopeguard v1.2.0 Compiling generic-array v0.14.7 Compiling anstream v0.6.13 Compiling slab v0.4.9 Compiling num-traits v0.2.18 Compiling indexmap v1.9.3 Compiling ciborium-ll v0.2.2 Compiling clang-sys v1.7.0 Compiling aho-corasick v1.1.2 Compiling nom v7.1.3 Compiling rustls-pemfile v2.1.2 Compiling http v1.1.0 Compiling rustc_version v0.4.0 Compiling object v0.32.2 Compiling combine v4.6.6 Compiling heck v0.3.3 Compiling rustls-native-certs v0.7.0 Compiling clap_builder v4.4.18 Compiling tracing v0.1.40 Compiling flate2 v1.0.28 Compiling indexmap v2.2.5 Compiling curve25519-dalek v4.1.1 (https://github.com/signalapp/curve25519-dalek?tag=signal-curve25519-4.1.1#a12ab4e5) Compiling snow v0.9.6 Compiling quote v1.0.35 Compiling crossbeam-epoch v0.9.18 Compiling syn v2.0.52 Compiling crossbeam-deque v0.8.5 Compiling async-compression v0.4.6 Compiling jobserver v0.1.28 Compiling fslock v0.2.1 Compiling getrandom v0.2.12 Compiling cpufeatures v0.2.12 Compiling socket2 v0.5.6 Compiling num_cpus v1.16.0 Compiling mio v0.8.11 Compiling is-terminal v0.4.12 Compiling unicode-normalization v0.1.23 Compiling rand_core v0.6.4 Compiling cc v1.0.90 Compiling petgraph v0.6.4 Compiling http-body v1.0.0 Compiling rand_chacha v0.3.1 Compiling password-hash v0.5.0 Compiling http-body-util v0.1.1 Compiling rand v0.8.5 Compiling regex-automata v0.4.6 Compiling rayon v1.9.0 Compiling num-integer v0.1.46 Compiling idna v0.5.0 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling block-padding v0.3.3 Compiling cmake v0.1.48 Compiling universal-hash v0.5.1 Compiling aead v0.5.2 Compiling inout v0.1.3 Compiling digest v0.10.7 Compiling toml_edit v0.19.15 Compiling polyval v0.6.2 Compiling poly1305 v0.8.0 Compiling hmac v0.12.1 Compiling sha2 v0.10.8 Compiling sha1 v0.10.6 Compiling blake2 v0.10.6 Compiling hkdf v0.12.4 Compiling url v2.5.0 Compiling pqcrypto-internals v0.2.5 Compiling ring v0.17.8 Compiling pqcrypto-kyber v0.7.9 Compiling backtrace v0.3.69 Compiling cexpr v0.6.0 Compiling tempfile v3.10.1 Compiling which v4.4.2 Compiling addr2line v0.21.0 Compiling proc-macro-crate v1.3.1 Compiling darling_core v0.14.4 Compiling regex v1.10.3 Compiling log-panics v2.1.0 Compiling env_logger v0.10.2 Compiling syn-mid v0.6.0 Compiling rustls-webpki v0.102.2 Compiling derive_more v0.99.17 Compiling dyn-clonable-impl v0.9.0 Compiling mp4san-derive v0.5.1 Compiling dyn-clonable v0.9.0 Compiling thiserror-impl v1.0.57 Compiling zeroize_derive v1.4.2 Compiling prost-derive v0.12.3 Compiling serde_derive v1.0.197 Compiling futures-macro v0.3.30 Compiling tokio-macros v2.2.0 Compiling displaydoc v0.2.4 Compiling derive-where v1.2.7 Compiling foreign-types-macros v0.2.3 Compiling num_enum_derive v0.6.1 Compiling strum_macros v0.26.2 Compiling partial-default-derive v0.1.0 Compiling asn1_derive v0.16.1 Compiling clap_derive v4.4.7 Compiling libsignal-message-backup-macros v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/message-backup/macros) Compiling libsignal-bridge-macros v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/bridge/shared/macros) warning: struct `UnknownFieldVisitor` is never constructed --> rust/message-backup/macros/src/lib.rs:37:15 | 37 | tokens_alias!(UnknownFieldVisitor, crate::unknown::UnknownFieldVisitor); | ^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default = note: this warning originates in the macro `tokens_alias` (in Nightly builds, run with -Z macro-backtrace for more info) Compiling darling_macro v0.14.4 Compiling partial-default v0.1.0 warning: `libsignal-message-backup-macros` (lib) generated 1 warning Compiling foreign-types v0.5.0 Compiling zeroize v1.7.0 Compiling tokio v1.36.0 Compiling darling v0.14.4 Compiling cipher v0.4.4 Compiling ghash v0.5.1 Compiling argon2 v0.5.3 Compiling derive_builder_core v0.12.0 Compiling asn1 v0.16.1 Compiling futures-util v0.3.30 Compiling num_enum v0.6.1 Compiling aes v0.8.4 Compiling ctr v0.9.2 Compiling cbc v0.1.2 Compiling chacha20 v0.9.1 Compiling libsignal-core v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/core) Compiling chacha20poly1305 v0.10.1 Compiling protobuf-support v3.4.0 Compiling tungstenite v0.21.0 Compiling clap-stdin v0.3.0 Compiling jni v0.21.1 Compiling signal-pin v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/pin) Compiling signal-crypto v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/crypto) Compiling aes-gcm-siv v0.11.1 Compiling prost v0.12.3 Compiling derive_builder_macro v0.12.0 Compiling strum v0.26.2 Compiling prost-types v0.12.3 Compiling clap v4.4.18 Compiling derive_builder v0.12.0 Compiling prost-build v0.12.3 Compiling attest v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/attest) Compiling libsignal-protocol v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/protocol) Compiling libsignal-svr3 v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/svr3) Compiling usernames v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/usernames) Compiling libsignal-net v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/net) Compiling boring-sys v4.6.0 (https://github.com/signalapp/boring?tag=signal-v4.6.0#b9a75167) Compiling mediasan-common v0.5.1 Compiling futures-executor v0.3.30 Compiling futures v0.3.30 Compiling webpsan v0.5.1 Compiling mp4san v0.5.1 Compiling tokio-util v0.7.10 Compiling tokio-tungstenite v0.21.0 Compiling tokio-stream v0.1.14 Compiling protobuf-parse v3.4.0 Compiling signal-media v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/media) Compiling h2 v0.4.4 Compiling protobuf-codegen v3.4.0 Compiling hex v0.4.3 Compiling chrono v0.4.35 Compiling bincode v1.3.3 Compiling ciborium v0.2.2 Compiling x25519-dalek v2.0.1 Compiling poksho v0.7.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/poksho) Compiling zkcredential v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/zkcredential) Compiling libsignal-message-backup v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/message-backup) Compiling hyper v1.3.1 Compiling zkgroup v0.9.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/zkgroup) Compiling hyper-util v0.1.3 warning: method `shared_secret_length` is never used --> rust/protocol/src/kem.rs:101:8 | 97 | trait DynParameters { | ------------- method in this trait ... 101 | fn shared_secret_length(&self) -> usize; | ^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `libsignal-protocol` (lib) generated 1 warning warning: method `insert` is never used --> rust/message-backup/src/backup/method.rs:22:8 | 18 | pub trait Map: Contains + Default { | --- method in this trait ... 22 | fn insert(&mut self, key: K, value: V) -> Result<(), KeyExists>; | ^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: methods `has_unknown_fields` and `find_unknown_field` are never used --> rust/message-backup/src/unknown.rs:166:8 | 165 | pub(crate) trait VisitUnknownFieldsExt { | --------------------- methods in this trait 166 | fn has_unknown_fields(&self) -> bool; | ^^^^^^^^^^^^^^^^^^ 167 | fn collect_unknown_fields(&self) -> Vec<(Vec, UnknownValue)>; 168 | fn find_unknown_field(&self) -> Option<(Vec, UnknownValue)>; | ^^^^^^^^^^^^^^^^^^ Compiling rustls-platform-verifier v0.3.1 warning: `libsignal-message-backup` (lib) generated 2 warnings Compiling boring v4.6.0 (https://github.com/signalapp/boring?tag=signal-v4.6.0#b9a75167) Compiling tokio-boring v4.6.0 (https://github.com/signalapp/boring?tag=signal-v4.6.0#b9a75167) Compiling device-transfer v0.1.0 (/home/buildozer/aports/community/java-libsignal-client/src/libsignal-0.48.0/rust/device-transfer) warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. --> rust/device-transfer/src/lib.rs:88:38 | 88 | let valid_after_timestamp: libc::time_t = (SystemTime::now() | ^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. --> rust/device-transfer/src/lib.rs:106:34 | 106 | valid_after_timestamp: libc::time_t, | ^^^^^^ warning: `device-transfer` (lib) generated 2 warnings warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. --> rust/attest/src/util.rs:9:11 | 9 | use libc::time_t; | ^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated type alias `libc::time_t`: This type is changed to 64-bit in musl 1.2.0, we'll follow that change in the future release. See #1848 for more info. --> rust/attest/src/util.rs:111:12 | 111 | let t: time_t = epoch_duration | ^^^^^^ warning: struct `UInt64LE` is never constructed --> rust/attest/src/endian.rs:75:19 | 75 | pub(crate) struct UInt64LE { | ^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `attest` (lib) generated 3 warnings warning: method `some_if_needed` is never used --> rust/bridge/shared/src/support/transform_helper.rs:64:8 | 60 | pub(crate) trait TransformHelperImpl: Sized { | ------------------- method in this trait ... 64 | fn some_if_needed(self) -> Option { | ^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: field `0` is never read --> rust/bridge/shared/src/net/chat.rs:30:14 | 30 | Inactive(BoxStream<'static, chat::server_requests::ServerMessage>), | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 30 | Inactive(()), | ~~ warning: variants `Active`, `Cancelled`, and `CurrentlyBeingMutated` are never constructed --> rust/bridge/shared/src/net/chat.rs:31:5 | 29 | enum ChatListenerState { | ----------------- variants in this enum 30 | Inactive(BoxStream<'static, chat::server_requests::ServerMessage>), 31 | Active { | ^^^^^^ ... 35 | Cancelled(tokio::task::JoinHandle>), | ^^^^^^^^^ 36 | CurrentlyBeingMutated, | ^^^^^^^^^^^^^^^^^^^^^ warning: method `cancel` is never used --> rust/bridge/shared/src/net/chat.rs:40:8 | 39 | impl ChatListenerState { | ---------------------- method in this implementation 40 | fn cancel(&mut self) { | ^^^^^^ warning: field `listener` is never read --> rust/bridge/shared/src/net/chat.rs:63:5 | 58 | pub struct Chat { | ---- field in this struct ... 63 | listener: std::sync::Mutex, | ^^^^^^^^ warning: trait `ChatListener` is never used --> rust/bridge/shared/src/net/chat.rs:281:11 | 281 | pub trait ChatListener: Send { | ^^^^^^^^^^^^ warning: methods `received_server_request` and `start_listening` are never used --> rust/bridge/shared/src/net/chat.rs:294:8 | 291 | impl dyn ChatListener { | --------------------- methods in this implementation ... 294 | fn received_server_request(&mut self, request: chat::server_requests::ServerMessage) { | ^^^^^^^^^^^^^^^^^^^^^^^ ... 317 | async fn start_listening( | ^^^^^^^^^^^^^^^ warning: trait `MakeChatListener` is never used --> rust/bridge/shared/src/net/chat.rs:379:11 | 379 | pub trait MakeChatListener { | ^^^^^^^^^^^^^^^^ warning: associated function `new` is never used --> rust/bridge/shared/src/net/chat.rs:450:8 | 449 | impl ServerMessageAck { | --------------------- associated function in this implementation 450 | fn new(send_ack: chat::server_requests::AckEnvelopeFuture) -> Self { | ^^^ warning: `libsignal-bridge` (lib) generated 9 warnings Finished `release` profile [optimized + debuginfo] target(s) in 2m 13s mkdir -p java/shared/resources cp target/release/libsignal_jni.so java/shared/resources/ > Task :client:processResources > Task :client:classes > Task :client:jar Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. For more on this, please refer to https://docs.gradle.org/8.8-20240411013326+0000/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. BUILD SUCCESSFUL in 2m 27s 4 actionable tasks: 4 executed >>> java-libsignal-client: Entering fakeroot... deleting: libsignal_jni.so >>> java-libsignal-client*: Running postcheck for java-libsignal-client >>> java-libsignal-client*: Preparing package java-libsignal-client... >>> java-libsignal-client*: Stripping binaries >>> java-libsignal-client*: Script found. /bin/sh added as a dependency for java-libsignal-client-0.48.0-r0.apk >>> java-libsignal-client*: Adding .post-install >>> java-libsignal-client*: Adding .post-upgrade >>> java-libsignal-client*: Scanning shared objects >>> java-libsignal-client*: Tracing dependencies... java-jre-headless /bin/sh so:libc.musl-aarch64.so.1 so:libgcc_s.so.1 >>> java-libsignal-client*: Package size: 6.0 MB >>> java-libsignal-client*: Compressing data... >>> java-libsignal-client*: Create checksum... >>> java-libsignal-client*: Create java-libsignal-client-0.48.0-r0.apk >>> java-libsignal-client: Build complete at Tue, 28 May 2024 04:57:06 +0000 elapsed time 0h 2m 35s >>> java-libsignal-client: Cleaning up srcdir >>> java-libsignal-client: Cleaning up pkgdir >>> java-libsignal-client: Uninstalling dependencies... (1/70) Purging .makedepends-java-libsignal-client (20240528.045431) (2/70) Purging bash (5.2.26-r0) Executing bash-5.2.26-r0.pre-deinstall (3/70) Purging cargo (1.78.0-r0) (4/70) Purging cmake (3.29.3-r0) (5/70) Purging protoc (24.4-r1) (6/70) Purging rust (1.78.0-r0) (7/70) Purging zip (3.0-r12) (8/70) Purging unzip (6.0-r14) (9/70) Purging abseil-cpp-log-initialize (20230802.1-r0) (10/70) Purging clang17-dev (17.0.6-r1) (11/70) Purging clang17-extra-tools (17.0.6-r1) (12/70) Purging clang17 (17.0.6-r1) (13/70) Purging llvm17-linker-tools (17.0.6-r1) (14/70) Purging clang17-libclang (17.0.6-r1) (15/70) Purging clang17-headers (17.0.6-r1) (16/70) Purging clang17-libs (17.0.6-r1) (17/70) Purging libarchive (3.7.4-r0) (18/70) Purging libprotoc (24.4-r1) (19/70) Purging libuv (1.48.0-r0) (20/70) Purging llvm17-libs (17.0.6-r1) (21/70) Purging readline (8.2.10-r0) (22/70) Purging rhash-libs (1.4.4-r0) (23/70) Purging scudo-malloc (17.0.6-r0) (24/70) Purging libprotobuf (24.4-r1) (25/70) Purging abseil-cpp-die-if-null (20230802.1-r0) (26/70) Purging abseil-cpp-log-internal-message (20230802.1-r0) (27/70) Purging abseil-cpp-statusor (20230802.1-r0) (28/70) Purging abseil-cpp-status (20230802.1-r0) (29/70) Purging abseil-cpp-cord (20230802.1-r0) (30/70) Purging abseil-cpp-cordz-info (20230802.1-r0) (31/70) Purging abseil-cpp-cordz-handle (20230802.1-r0) (32/70) Purging abseil-cpp-log-internal-log-sink-set (20230802.1-r0) (33/70) Purging abseil-cpp-synchronization (20230802.1-r0) (34/70) Purging abseil-cpp-malloc-internal (20230802.1-r0) (35/70) Purging abseil-cpp-log-internal-conditions (20230802.1-r0) (36/70) Purging abseil-cpp-base (20230802.1-r0) (37/70) Purging abseil-cpp-raw-hash-set (20230802.1-r0) (38/70) Purging abseil-cpp-log-globals (20230802.1-r0) (39/70) Purging abseil-cpp-hash (20230802.1-r0) (40/70) Purging abseil-cpp-city (20230802.1-r0) (41/70) Purging abseil-cpp-cord-internal (20230802.1-r0) (42/70) Purging abseil-cpp-cordz-functions (20230802.1-r0) (43/70) Purging abseil-cpp-crc-cord-state (20230802.1-r0) (44/70) Purging abseil-cpp-crc32c (20230802.1-r0) (45/70) Purging abseil-cpp-crc-internal (20230802.1-r0) (46/70) Purging abseil-cpp-examine-stack (20230802.1-r0) (47/70) Purging abseil-cpp-stacktrace (20230802.1-r0) (48/70) Purging abseil-cpp-debugging-internal (20230802.1-r0) (49/70) Purging abseil-cpp-exponential-biased (20230802.1-r0) (50/70) Purging abseil-cpp-log-internal-format (20230802.1-r0) (51/70) Purging abseil-cpp-kernel-timeout-internal (20230802.1-r0) (52/70) Purging abseil-cpp-time (20230802.1-r0) (53/70) Purging abseil-cpp-str-format-internal (20230802.1-r0) (54/70) Purging abseil-cpp-int128 (20230802.1-r0) (55/70) Purging abseil-cpp-log-internal-check-op (20230802.1-r0) (56/70) Purging abseil-cpp-log-internal-globals (20230802.1-r0) (57/70) Purging abseil-cpp-log-internal-nullguard (20230802.1-r0) (58/70) Purging abseil-cpp-log-internal-proto (20230802.1-r0) (59/70) Purging abseil-cpp-log-sink (20230802.1-r0) (60/70) Purging abseil-cpp-low-level-hash (20230802.1-r0) (61/70) Purging abseil-cpp-strings (20230802.1-r0) (62/70) Purging abseil-cpp-strings-internal (20230802.1-r0) (63/70) Purging abseil-cpp-raw-logging-internal (20230802.1-r0) (64/70) Purging abseil-cpp-spinlock-wait (20230802.1-r0) (65/70) Purging abseil-cpp-strerror (20230802.1-r0) (66/70) Purging abseil-cpp-symbolize (20230802.1-r0) (67/70) Purging abseil-cpp-throw-delegate (20230802.1-r0) (68/70) Purging abseil-cpp-time-zone (20230802.1-r0) (69/70) Purging libxml2 (2.12.7-r0) (70/70) Purging xz-libs (5.6.1-r3) Executing busybox-1.36.1-r28.trigger OK: 754 MiB in 138 packages >>> java-libsignal-client: Updating the community/aarch64 repository index... >>> java-libsignal-client: Signing the index...