>>> conduit: Building community/conduit 0.7.0-r0 (using abuild 3.13.0-r3) started Sun, 09 Jun 2024 20:41:39 +0000 >>> conduit: Checking sanity of /home/buildozer/aports/community/conduit/APKBUILD... >>> conduit: Analyzing dependencies... >>> conduit: Installing for build: build-base cargo sqlite-dev cargo-auditable clang17-libclang rocksdb-dev snappy-dev (1/27) Installing libffi (3.4.6-r0) (2/27) Installing libxml2 (2.12.7-r0) (3/27) Installing llvm17-libs (17.0.6-r1) (4/27) Installing rust (1.78.0-r0) (5/27) Installing cargo (1.78.0-r0) (6/27) Installing readline (8.2.10-r0) (7/27) Installing sqlite (3.46.0-r0) (8/27) Installing sqlite-libs (3.46.0-r0) (9/27) Installing sqlite-dev (3.46.0-r0) (10/27) Installing cargo-auditable (0.6.2-r0) (11/27) Installing clang17-headers (17.0.6-r1) (12/27) Installing clang17-libclang (17.0.6-r1) (13/27) Installing bzip2-dev (1.0.8-r6) (14/27) Installing gflags (2.2.2-r2) (15/27) Installing gflags-dev (2.2.2-r2) (16/27) Installing liburing-ffi (2.6-r0) (17/27) Installing liburing (2.6-r0) (18/27) Installing liburing-dev (2.6-r0) (19/27) Installing lz4-dev (1.9.4-r5) (20/27) Installing snappy (1.1.10-r2) (21/27) Installing snappy-dev (1.1.10-r2) (22/27) Installing zlib-dev (1.3.1-r1) (23/27) Installing zstd (1.5.6-r0) (24/27) Installing zstd-dev (1.5.6-r0) (25/27) Installing rocksdb (7.9.2-r1) (26/27) Installing rocksdb-dev (7.9.2-r1) (27/27) Installing .makedepends-conduit (20240609.204140) Executing busybox-1.36.1-r29.trigger OK: 896 MiB in 136 packages >>> conduit: Cleaning up srcdir >>> conduit: Cleaning up pkgdir >>> conduit: Cleaning up tmpdir >>> conduit: Fetching https://distfiles.alpinelinux.org/distfiles/edge/conduit-v0.7.0.tar.gz >>> conduit: Fetching https://distfiles.alpinelinux.org/distfiles/edge/riscv64-support-0.16.20-compat.tar.gz >>> conduit: Fetching https://distfiles.alpinelinux.org/distfiles/edge/conduit-v0.7.0.tar.gz >>> conduit: Fetching https://distfiles.alpinelinux.org/distfiles/edge/riscv64-support-0.16.20-compat.tar.gz >>> conduit: Checking sha512sums... conduit-v0.7.0.tar.gz: OK riscv64-support-0.16.20-compat.tar.gz: OK system-sqlite.patch: OK downgrade-rocksdb.patch: OK conduit.toml: OK conduit.initd: OK conduit.confd: OK >>> conduit: Unpacking /var/cache/distfiles/edge/conduit-v0.7.0.tar.gz... >>> conduit: Unpacking /var/cache/distfiles/edge/riscv64-support-0.16.20-compat.tar.gz... >>> conduit: system-sqlite.patch patching file Cargo.lock Hunk #1 succeeded at 1309 with fuzz 2 (offset -22 lines). patching file Cargo.toml Hunk #1 succeeded at 88 with fuzz 2 (offset 17 lines). >>> conduit: downgrade-rocksdb.patch patching file Cargo.lock Hunk #30 succeeded at 1300 (offset -2 lines). Hunk #31 succeeded at 1310 (offset -2 lines). Hunk #32 succeeded at 1333 (offset -1 lines). Hunk #33 succeeded at 1409 (offset -1 lines). Hunk #34 succeeded at 1419 (offset -1 lines). Hunk #35 succeeded at 1430 (offset -1 lines). Hunk #36 succeeded at 1478 (offset -1 lines). Hunk #37 succeeded at 1664 (offset -1 lines). Hunk #38 succeeded at 1691 (offset -1 lines). Hunk #39 succeeded at 1707 (offset -1 lines). Hunk #40 succeeded at 1749 (offset -1 lines). Hunk #41 succeeded at 1761 (offset -1 lines). Hunk #42 succeeded at 1784 (offset -1 lines). Hunk #43 succeeded at 1820 (offset -1 lines). Hunk #44 succeeded at 1898 (offset -1 lines). Hunk #45 succeeded at 1913 (offset -1 lines). Hunk #46 succeeded at 1936 (offset -1 lines). Hunk #47 succeeded at 1963 (offset -1 lines). Hunk #48 succeeded at 1987 (offset -1 lines). Hunk #49 succeeded at 2069 (offset -1 lines). Hunk #50 succeeded at 2095 (offset -1 lines). Hunk #51 succeeded at 2153 (offset -1 lines). Hunk #52 succeeded at 2190 (offset -1 lines). Hunk #53 succeeded at 2226 (offset -1 lines). Hunk #54 succeeded at 2298 (offset -1 lines). Hunk #55 succeeded at 2358 (offset -1 lines). Hunk #56 succeeded at 2397 (offset -1 lines). Hunk #57 succeeded at 2408 (offset -1 lines). Hunk #58 succeeded at 2439 (offset -1 lines). Hunk #59 succeeded at 2551 (offset -1 lines). Hunk #60 succeeded at 2603 (offset -1 lines). Hunk #61 succeeded at 2641 (offset -1 lines). Hunk #62 succeeded at 2724 (offset -1 lines). Hunk #63 succeeded at 2745 (offset -1 lines). Hunk #64 succeeded at 2770 (offset -1 lines). Hunk #65 succeeded at 2794 (offset -1 lines). Hunk #66 succeeded at 2846 (offset -1 lines). Hunk #67 succeeded at 2956 (offset -1 lines). Hunk #68 succeeded at 3129 (offset -1 lines). Hunk #69 succeeded at 3144 (offset -1 lines). Hunk #70 succeeded at 3209 (offset -1 lines). Hunk #71 succeeded at 3219 (offset -1 lines). Hunk #72 succeeded at 3246 (offset -1 lines). Hunk #73 succeeded at 3256 (offset -1 lines). Hunk #74 succeeded at 3307 (offset -1 lines). Hunk #75 succeeded at 3348 (offset -1 lines). Hunk #76 succeeded at 3368 (offset -1 lines). Hunk #77 succeeded at 3389 (offset -1 lines). Hunk #78 succeeded at 3401 (offset -1 lines). Hunk #79 succeeded at 3413 (offset -1 lines). Hunk #80 succeeded at 3425 (offset -1 lines). Hunk #81 succeeded at 3437 (offset -1 lines). Hunk #82 succeeded at 3449 (offset -1 lines). Hunk #83 succeeded at 3461 (offset -1 lines). Hunk #84 succeeded at 3486 (offset -1 lines). Hunk #85 succeeded at 3507 (offset -1 lines). patching file Cargo.toml patching file flake.nix patching file src/database/abstraction/rocksdb.rs Compiling proc-macro2 v1.0.78 Compiling unicode-ident v1.0.12 Compiling cfg-if v1.0.0 Compiling libc v0.2.152 Compiling version_check v0.9.4 Compiling autocfg v1.1.0 Compiling once_cell v1.19.0 Compiling pin-project-lite v0.2.13 Compiling memchr v2.7.1 Compiling bytes v1.5.0 Compiling serde v1.0.196 Compiling zerocopy v0.7.32 Compiling log v0.4.20 Compiling allocator-api2 v0.2.16 Compiling itoa v1.0.10 Compiling thiserror v1.0.56 Compiling fnv v1.0.7 Compiling futures-core v0.3.30 Compiling futures-sink v0.3.30 Compiling percent-encoding v2.3.1 Compiling futures-io v0.3.30 Compiling pin-utils v0.1.0 Compiling equivalent v1.0.1 Compiling futures-task v0.3.30 Compiling ppv-lite86 v0.2.17 Compiling base64 v0.21.7 Compiling tinyvec_macros v0.1.1 Compiling typenum v1.17.0 Compiling pkg-config v0.3.29 Compiling ryu v1.0.16 Compiling unicode-bidi v0.3.15 Compiling hashbrown v0.14.3 Compiling winnow v0.5.35 Compiling regex-syntax v0.8.2 Compiling smallvec v1.13.1 Compiling time-core v0.1.2 Compiling powerfmt v0.2.0 Compiling num-conv v0.1.0 Compiling serde_json v1.0.113 Compiling typewit_proc_macros v1.8.1 Compiling subtle v2.5.0 Compiling async-trait v0.1.77 Compiling js_int v0.2.2 Compiling parking_lot_core v0.9.9 Compiling vcpkg v0.2.15 Compiling ruma-common v0.12.1 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling const_panic v0.2.8 Compiling wildmatch v2.3.0 Compiling as_variant v1.2.0 Compiling web-time v1.1.0 Compiling untrusted v0.9.0 Compiling spin v0.9.8 Compiling scopeguard v1.2.0 Compiling semver v1.0.21 Compiling glob v0.3.1 Compiling crossbeam-utils v0.8.19 Compiling prettyplease v0.2.16 Compiling rustversion v1.0.14 Compiling zeroize v1.7.0 Compiling tower-service v0.3.2 Compiling const-oid v0.9.6 Compiling minimal-lexical v0.2.1 Compiling hashbrown v0.12.3 Compiling httparse v1.8.0 Compiling bindgen v0.65.1 Compiling try-lock v0.2.5 Compiling lazy_static v1.4.0 Compiling httpdate v1.0.3 Compiling rustls v0.21.10 Compiling platforms v3.3.0 Compiling shlex v1.3.0 Compiling simd-adler32 v0.3.7 Compiling heck v0.4.1 Compiling tracing-core v0.1.32 Compiling futures-channel v0.3.30 Compiling tinyvec v1.6.0 Compiling bitflags v1.3.2 Compiling rustc-hash v1.1.0 Compiling crc32fast v1.3.2 Compiling either v1.9.0 Compiling lazycell v1.3.0 Compiling regex-syntax v0.6.29 Compiling syn v1.0.109 Compiling peeking_take_while v0.1.2 Compiling libloading v0.8.1 Compiling want v0.3.1 Compiling overload v0.1.1 Compiling adler v1.0.2 Compiling signature v2.2.0 Compiling tower-layer v0.3.2 Compiling mime v0.3.17 Compiling yansi v1.0.0-rc.1 Compiling thread_local v1.1.7 Compiling sharded-slab v0.1.7 Compiling match_cfg v0.1.0 Compiling ruma-federation-api v0.8.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling ipnet v2.9.0 Compiling form_urlencoded v1.2.1 Compiling deranged v0.3.11 Compiling matches v0.1.10 Compiling der v0.7.8 Compiling nu-ansi-term v0.46.0 Compiling time-macros v0.2.18 Compiling ruma-client-api v0.17.4 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling byteorder v1.5.0 Compiling bitflags v2.4.2 Compiling bytemuck v1.14.1 Compiling fdeflate v0.3.4 Compiling data-encoding v2.5.0 Compiling linked-hash-map v0.5.6 Compiling ruma v0.9.4 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling itertools v0.11.0 Compiling quick-error v1.2.3 Compiling miniz_oxide v0.7.1 Compiling anstyle v1.0.5 Compiling color_quant v1.1.0 Compiling constant_time_eq v0.3.0 Compiling arrayref v0.3.7 Compiling weezl v0.1.8 Compiling rustls-pemfile v1.0.4 Compiling inlinable_string v0.1.15 Compiling aho-corasick v1.1.2 Compiling subslice v0.2.3 Compiling integer-encoding v3.0.4 Compiling openssl-probe v0.1.5 Compiling assign v1.1.1 Compiling maplit v1.0.2 Compiling clap_lex v0.6.0 Compiling arrayvec v0.7.4 Compiling pem v3.0.3 Compiling encoding_rs v0.8.33 Compiling arc-swap v1.6.0 Compiling fallible-streaming-iterator v0.1.9 Compiling http-range-header v0.3.1 Compiling lru-cache v0.1.2 Compiling unsafe-libyaml v0.2.10 Compiling http v0.2.11 Compiling matchit v0.7.3 Compiling jpeg-decoder v0.3.1 Compiling fallible-iterator v0.2.0 Compiling sync_wrapper v0.1.2 Compiling atomic v0.6.0 Compiling rustls-native-certs v0.6.3 Compiling blake2b_simd v1.0.2 Compiling clap_builder v4.4.18 Compiling gif v0.12.0 Compiling nom v7.1.3 Compiling tracing-log v0.2.0 Compiling tracing-log v0.1.4 Compiling typewit v1.9.0 Compiling flate2 v1.0.28 Compiling indexmap v2.2.1 Compiling rustc_version v0.4.0 Compiling konst_kernel v0.3.8 Compiling ahash v0.8.7 Compiling generic-array v0.14.7 Compiling proc-macro2-diagnostics v0.10.1 Compiling uncased v0.9.10 Compiling figment v0.10.14 Compiling quote v1.0.35 Compiling crossbeam-channel v0.5.11 Compiling rust-argon2 v1.0.1 Compiling unicode-normalization v0.1.22 Compiling png v0.17.11 Compiling syn v2.0.48 Compiling slab v0.4.9 Compiling num-traits v0.2.17 Compiling lock_api v0.4.11 Compiling konst v0.3.8 Compiling clang-sys v1.7.0 Compiling indexmap v1.9.3 Compiling num-integer v0.1.45 Compiling num-bigint v0.4.4 Compiling spki v0.7.3 Compiling http-body v0.4.6 Compiling headers-core v0.2.0 Compiling curve25519-dalek v4.1.1 Compiling idna v0.5.0 Compiling idna v0.2.3 Compiling pkcs8 v0.10.2 Compiling ed25519 v2.2.3 Compiling jobserver v0.1.27 Compiling regex-automata v0.1.10 Compiling cc v1.0.83 Compiling url v2.5.0 Compiling regex-automata v0.4.5 Compiling getrandom v0.2.12 Compiling num_cpus v1.16.0 Compiling socket2 v0.5.5 Compiling mio v0.8.10 Compiling signal-hook-registry v1.4.1 Compiling hostname v0.3.1 Compiling dirs-sys v0.3.7 Compiling nix v0.27.1 Compiling axum-core v0.3.4 Compiling axum v0.6.20 Compiling resolv-conf v0.7.0 Compiling directories v4.0.1 Compiling rand_core v0.6.4 Compiling uuid v1.7.0 Compiling hashlink v0.8.4 Compiling threadpool v1.8.1 Compiling cexpr v0.6.0 Compiling dashmap v5.5.3 Compiling parking_lot v0.12.1 Compiling rand_chacha v0.3.1 Compiling matchers v0.1.0 Compiling rand v0.8.5 Compiling ordered-float v1.1.1 Compiling image v0.24.8 Compiling thrift v0.16.0 Compiling libsqlite3-sys v0.26.0 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling digest v0.10.7 Compiling sha2 v0.10.8 Compiling sha1 v0.10.6 Compiling sha-1 v0.10.1 Compiling hmac v0.12.1 Compiling headers v0.3.9 Compiling rusqlite v0.29.0 Compiling time v0.3.36 Compiling regex v1.10.3 Compiling ed25519-dalek v2.1.0 Compiling ring v0.17.7 Compiling bzip2-sys v0.1.11+1.0.8 Compiling libz-sys v1.1.15 Compiling zstd-sys v2.0.9+zstd.1.5.5 Compiling lz4-sys v1.9.4 Compiling enum-as-inner v0.5.1 Compiling sct v0.7.1 Compiling rustls-webpki v0.101.7 Compiling serde_derive v1.0.196 Compiling thiserror-impl v1.0.56 Compiling tracing-attributes v0.1.27 Compiling futures-macro v0.3.30 Compiling tokio-macros v2.2.0 Compiling pin-project-internal v1.1.4 Compiling pear_codegen v0.2.8 Compiling clap_derive v4.4.7 Compiling librocksdb-sys v0.11.0+8.1.1 Compiling rocksdb v0.21.0 Compiling pear v0.2.8 Compiling tokio v1.35.1 Compiling simple_asn1 v0.6.2 Compiling ruma-identifiers-validation v0.9.3 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling futures-util v0.3.30 Compiling pin-project v1.1.4 Compiling futures-executor v0.3.30 Compiling opentelemetry_api v0.18.0 Compiling futures v0.3.30 Compiling tracing v0.1.40 Compiling tokio-stream v0.1.14 Compiling tokio-rustls v0.24.1 Compiling tokio-socks v0.5.1 Compiling tokio-util v0.7.10 Compiling tower v0.4.13 Compiling tracing-subscriber v0.3.18 Compiling clap v4.4.18 Compiling tower-http v0.4.4 Compiling tracing-flame v0.2.0 Compiling opentelemetry_sdk v0.18.0 Compiling trust-dns-proto v0.22.0 Compiling opentelemetry v0.18.0 Compiling opentelemetry-semantic-conventions v0.10.0 Compiling tracing-opentelemetry v0.18.0 Compiling opentelemetry-jaeger v0.17.0 Compiling trust-dns-resolver v0.22.0 Compiling js_option v0.1.1 Compiling serde_spanned v0.6.5 Compiling toml_datetime v0.6.5 Compiling serde_urlencoded v0.7.1 Compiling serde_path_to_error v0.1.15 Compiling toml_edit v0.20.7 Compiling toml_edit v0.21.0 Compiling serde_html_form v0.2.4 Compiling h2 v0.3.24 Compiling serde_yaml v0.9.31 Compiling jsonwebtoken v9.2.0 Compiling proc-macro-crate v2.0.0 Compiling toml v0.8.8 Compiling hyper v0.14.28 Compiling hyper-rustls v0.24.2 Compiling axum-server v0.5.1 Compiling reqwest v0.11.23 Compiling ruma-macros v0.12.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling ruma-events v0.27.11 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling ruma-signatures v0.14.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling ruma-push-gateway-api v0.8.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling ruma-state-res v0.10.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling ruma-appservice-api v0.9.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling conduit v0.7.0 (/home/buildozer/aports/community/conduit/src/conduit-v0.7.0) warning: unnecessary qualification --> src/api/ruma_wrapper/axum.rs:280:32 | 280 | let mut http_request = http::Request::builder().uri(parts.uri).method(parts.method); | ^^^^^^^^^^^^^^^^^^^^^^ | = note: requested on the command line with `-W unused-qualifications` help: remove the unnecessary path segments | 280 - let mut http_request = http::Request::builder().uri(parts.uri).method(parts.method); 280 + let mut http_request = Request::builder().uri(parts.uri).method(parts.method); | warning: unnecessary qualification --> src/database/abstraction/watchers.rs:23:32 | 23 | let (tx, rx) = tokio::sync::watch::channel(()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 23 - let (tx, rx) = tokio::sync::watch::channel(()); 23 + let (tx, rx) = watch::channel(()); | warning: unnecessary qualification --> src/database/mod.rs:240:13 | 240 | std::fs::create_dir_all(&config.database_path) | ^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 240 - std::fs::create_dir_all(&config.database_path) 240 + fs::create_dir_all(&config.database_path) | warning: unnecessary qualification --> src/database/mod.rs:921:46 | 921 | let user_default_rules = ruma::push::Ruleset::server_default(&user); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 921 - let user_default_rules = ruma::push::Ruleset::server_default(&user); 921 + let user_default_rules = Ruleset::server_default(&user); | warning: unnecessary qualification --> src/service/rooms/spaces/mod.rs:485:28 | 485 | if let join_rules::AllowRule::RoomMembership(rm) = rule { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 485 - if let join_rules::AllowRule::RoomMembership(rm) = rule { 485 + if let AllowRule::RoomMembership(rm) = rule { | warning: unnecessary qualification --> src/utils/mod.rs:125:8 | 125 | E: std::fmt::Display, | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 125 - E: std::fmt::Display, 125 + E: fmt::Display, | warning: unnecessary qualification --> src/utils/mod.rs:130:43 | 130 | impl<'de, T: FromStr, Err: std::fmt::Display> serde::de::Visitor<'de> | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 130 - impl<'de, T: FromStr, Err: std::fmt::Display> serde::de::Visitor<'de> 130 + impl<'de, T: FromStr, Err: fmt::Display> serde::de::Visitor<'de> | warning: unnecessary qualification --> src/utils/mod.rs:134:45 | 134 | fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 134 - fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { 134 + fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> std::fmt::Result { | warning: unnecessary qualification --> src/utils/mod.rs:134:73 | 134 | fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 134 - fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { 134 + fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> fmt::Result { | warning: method `clear_caches` is never used --> src/database/abstraction.rs:41:8 | 29 | pub trait KeyValueDatabaseEngine: Send + Sync { | ---------------------- method in this trait ... 41 | fn clear_caches(&self) {} | ^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: field `1` is never read --> src/service/globals/mod.rs:83:51 | 83 | pub struct RotationHandler(broadcast::Sender<()>, broadcast::Receiver<()>); | --------------- field in this struct ^^^^^^^^^^^^^^^^^^^^^^^ | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 83 | pub struct RotationHandler(broadcast::Sender<()>, ()); | ~~ warning: `conduit` (lib) generated 11 warnings (run `cargo fix --lib -p conduit` to apply 9 suggestions) warning: unnecessary qualification --> src/main.rs:220:10 | 220 | req: axum::http::Request, | ^^^^^^^^^^^^^^^^^^^^^^ | = note: requested on the command line with `-W unused-qualifications` help: remove the unnecessary path segments | 220 - req: axum::http::Request, 220 + req: http::Request, | warning: unnecessary qualification --> src/main.rs:232:10 | 232 | req: axum::http::Request, | ^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 232 - req: axum::http::Request, 232 + req: http::Request, | warning: unnecessary qualification --> src/main.rs:238:26 | 238 | if inner.status() == axum::http::StatusCode::METHOD_NOT_ALLOWED { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 238 - if inner.status() == axum::http::StatusCode::METHOD_NOT_ALLOWED { 238 + if inner.status() == StatusCode::METHOD_NOT_ALLOWED { | warning: `conduit` (bin "conduit") generated 3 warnings (run `cargo fix --bin "conduit"` to apply 3 suggestions) Finished `release` profile [optimized] target(s) in 12m 46s Compiling proc-macro2 v1.0.78 Compiling unicode-ident v1.0.12 Compiling cfg-if v1.0.0 Compiling libc v0.2.152 Compiling version_check v0.9.4 Compiling autocfg v1.1.0 Compiling once_cell v1.19.0 Compiling pin-project-lite v0.2.13 Compiling memchr v2.7.1 Compiling bytes v1.5.0 Compiling serde v1.0.196 Compiling zerocopy v0.7.32 Compiling allocator-api2 v0.2.16 Compiling log v0.4.20 Compiling itoa v1.0.10 Compiling equivalent v1.0.1 Compiling fnv v1.0.7 Compiling thiserror v1.0.56 Compiling futures-core v0.3.30 Compiling futures-sink v0.3.30 Compiling percent-encoding v2.3.1 Compiling futures-io v0.3.30 Compiling pin-utils v0.1.0 Compiling futures-task v0.3.30 Compiling ppv-lite86 v0.2.17 Compiling base64 v0.21.7 Compiling winnow v0.5.35 Compiling tinyvec_macros v0.1.1 Compiling typenum v1.17.0 Compiling ryu v1.0.16 Compiling pkg-config v0.3.29 Compiling unicode-bidi v0.3.15 Compiling hashbrown v0.14.3 Compiling regex-syntax v0.8.2 Compiling smallvec v1.13.1 Compiling time-core v0.1.2 Compiling serde_json v1.0.113 Compiling num-conv v0.1.0 Compiling powerfmt v0.2.0 Compiling typewit_proc_macros v1.8.1 Compiling lazy_static v1.4.0 Compiling async-trait v0.1.77 Compiling subtle v2.5.0 Compiling js_int v0.2.2 Compiling parking_lot_core v0.9.9 Compiling vcpkg v0.2.15 Compiling const_panic v0.2.8 Compiling ruma-common v0.12.1 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling spin v0.9.8 Compiling untrusted v0.9.0 Compiling semver v1.0.21 Compiling scopeguard v1.2.0 Compiling glob v0.3.1 Compiling wildmatch v2.3.0 Compiling as_variant v1.2.0 Compiling web-time v1.1.0 Compiling crossbeam-utils v0.8.19 Compiling prettyplease v0.2.16 Compiling tower-service v0.3.2 Compiling rustversion v1.0.14 Compiling bitflags v1.3.2 Compiling zeroize v1.7.0 Compiling hashbrown v0.12.3 Compiling const-oid v0.9.6 Compiling minimal-lexical v0.2.1 Compiling httparse v1.8.0 Compiling platforms v3.3.0 Compiling rustls v0.21.10 Compiling bindgen v0.65.1 Compiling try-lock v0.2.5 Compiling httpdate v1.0.3 Compiling heck v0.4.1 Compiling simd-adler32 v0.3.7 Compiling lazycell v1.3.0 Compiling either v1.9.0 Compiling rustc-hash v1.1.0 Compiling libloading v0.8.1 Compiling regex-syntax v0.6.29 Compiling shlex v1.3.0 Compiling peeking_take_while v0.1.2 Compiling tracing-core v0.1.32 Compiling want v0.3.1 Compiling syn v1.0.109 Compiling crc32fast v1.3.2 Compiling overload v0.1.1 Compiling adler v1.0.2 Compiling tower-layer v0.3.2 Compiling mime v0.3.17 Compiling signature v2.2.0 Compiling yansi v1.0.0-rc.1 Compiling deranged v0.3.11 Compiling futures-channel v0.3.30 Compiling tinyvec v1.6.0 Compiling sharded-slab v0.1.7 Compiling thread_local v1.1.7 Compiling bytemuck v1.14.1 Compiling ipnet v2.9.0 Compiling form_urlencoded v1.2.1 Compiling nu-ansi-term v0.46.0 Compiling der v0.7.8 Compiling matches v0.1.10 Compiling bitflags v2.4.2 Compiling byteorder v1.5.0 Compiling match_cfg v0.1.0 Compiling ruma-client-api v0.17.4 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling ruma-federation-api v0.8.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling itertools v0.11.0 Compiling fdeflate v0.3.4 Compiling assign v1.1.1 Compiling integer-encoding v3.0.4 Compiling miniz_oxide v0.7.1 Compiling constant_time_eq v0.3.0 Compiling quick-error v1.2.3 Compiling color_quant v1.1.0 Compiling arrayvec v0.7.4 Compiling data-encoding v2.5.0 Compiling time-macros v0.2.18 Compiling maplit v1.0.2 Compiling linked-hash-map v0.5.6 Compiling anstyle v1.0.5 Compiling weezl v0.1.8 Compiling typewit v1.9.0 Compiling ruma v0.9.4 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling clap_lex v0.6.0 Compiling inlinable_string v0.1.15 Compiling aho-corasick v1.1.2 Compiling subslice v0.2.3 Compiling openssl-probe v0.1.5 Compiling arrayref v0.3.7 Compiling encoding_rs v0.8.33 Compiling jpeg-decoder v0.3.1 Compiling fallible-iterator v0.2.0 Compiling unsafe-libyaml v0.2.10 Compiling http-range-header v0.3.1 Compiling fallible-streaming-iterator v0.1.9 Compiling matchit v0.7.3 Compiling arc-swap v1.6.0 Compiling sync_wrapper v0.1.2 Compiling http v0.2.11 Compiling rustls-pemfile v1.0.4 Compiling pem v3.0.3 Compiling slab v0.4.9 Compiling lock_api v0.4.11 Compiling num-traits v0.2.17 Compiling indexmap v1.9.3 Compiling nom v7.1.3 Compiling num-integer v0.1.45 Compiling num-bigint v0.4.4 Compiling ahash v0.8.7 Compiling generic-array v0.14.7 Compiling proc-macro2-diagnostics v0.10.1 Compiling uncased v0.9.10 Compiling figment v0.10.14 Compiling lru-cache v0.1.2 Compiling atomic v0.6.0 Compiling rustls-native-certs v0.6.3 Compiling tracing-log v0.2.0 Compiling gif v0.12.0 Compiling clap_builder v4.4.18 Compiling blake2b_simd v1.0.2 Compiling tracing-log v0.1.4 Compiling indexmap v2.2.1 Compiling clang-sys v1.7.0 Compiling konst_kernel v0.3.8 Compiling rustc_version v0.4.0 Compiling flate2 v1.0.28 Compiling konst v0.3.8 Compiling libsqlite3-sys v0.26.0 Compiling quote v1.0.35 Compiling jobserver v0.1.27 Compiling curve25519-dalek v4.1.1 Compiling crossbeam-channel v0.5.11 Compiling rust-argon2 v1.0.1 Compiling axum-core v0.3.4 Compiling axum v0.6.20 Compiling unicode-normalization v0.1.22 Compiling syn v2.0.48 Compiling png v0.17.11 Compiling cc v1.0.83 Compiling http-body v0.4.6 Compiling headers-core v0.2.0 Compiling spki v0.7.3 Compiling pkcs8 v0.10.2 Compiling ed25519 v2.2.3 Compiling hashlink v0.8.4 Compiling idna v0.5.0 Compiling idna v0.2.3 Compiling getrandom v0.2.12 Compiling num_cpus v1.16.0 Compiling mio v0.8.10 Compiling socket2 v0.5.5 Compiling signal-hook-registry v1.4.1 Compiling hostname v0.3.1 Compiling dirs-sys v0.3.7 Compiling nix v0.27.1 Compiling resolv-conf v0.7.0 Compiling time v0.3.36 Compiling directories v4.0.1 Compiling rand_core v0.6.4 Compiling uuid v1.7.0 Compiling threadpool v1.8.1 Compiling ordered-float v1.1.1 Compiling regex-automata v0.1.10 Compiling dashmap v5.5.3 Compiling parking_lot v0.12.1 Compiling rusqlite v0.29.0 Compiling rand_chacha v0.3.1 Compiling image v0.24.8 Compiling thrift v0.16.0 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling regex-automata v0.4.5 Compiling url v2.5.0 Compiling digest v0.10.7 Compiling rand v0.8.5 Compiling sha2 v0.10.8 Compiling sha1 v0.10.6 Compiling sha-1 v0.10.1 Compiling hmac v0.12.1 Compiling cexpr v0.6.0 Compiling headers v0.3.9 Compiling ring v0.17.7 Compiling zstd-sys v2.0.9+zstd.1.5.5 Compiling lz4-sys v1.9.4 Compiling bzip2-sys v0.1.11+1.0.8 Compiling libz-sys v1.1.15 Compiling matchers v0.1.0 Compiling ed25519-dalek v2.1.0 Compiling enum-as-inner v0.5.1 Compiling regex v1.10.3 Compiling sct v0.7.1 Compiling rustls-webpki v0.101.7 Compiling serde_derive v1.0.196 Compiling thiserror-impl v1.0.56 Compiling tracing-attributes v0.1.27 Compiling futures-macro v0.3.30 Compiling tokio-macros v2.2.0 Compiling pin-project-internal v1.1.4 Compiling pear_codegen v0.2.8 Compiling clap_derive v4.4.7 Compiling tokio v1.35.1 Compiling pear v0.2.8 Compiling futures-util v0.3.30 Compiling ruma-identifiers-validation v0.9.3 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling simple_asn1 v0.6.2 Compiling pin-project v1.1.4 Compiling tracing v0.1.40 Compiling tracing-subscriber v0.3.18 Compiling clap v4.4.18 Compiling tracing-flame v0.2.0 Compiling futures-executor v0.3.30 Compiling opentelemetry_api v0.18.0 Compiling tower v0.4.13 Compiling librocksdb-sys v0.11.0+8.1.1 Compiling futures v0.3.30 Compiling tower-http v0.4.4 Compiling tokio-util v0.7.10 Compiling tokio-stream v0.1.14 Compiling tokio-rustls v0.24.1 Compiling trust-dns-proto v0.22.0 Compiling tokio-socks v0.5.1 Compiling opentelemetry_sdk v0.18.0 Compiling opentelemetry v0.18.0 Compiling opentelemetry-semantic-conventions v0.10.0 Compiling tracing-opentelemetry v0.18.0 Compiling opentelemetry-jaeger v0.17.0 Compiling rocksdb v0.21.0 Compiling toml_datetime v0.6.5 Compiling serde_spanned v0.6.5 Compiling js_option v0.1.1 Compiling serde_urlencoded v0.7.1 Compiling serde_path_to_error v0.1.15 Compiling toml_edit v0.20.7 Compiling toml_edit v0.21.0 Compiling trust-dns-resolver v0.22.0 Compiling serde_html_form v0.2.4 Compiling h2 v0.3.24 Compiling serde_yaml v0.9.31 Compiling jsonwebtoken v9.2.0 Compiling proc-macro-crate v2.0.0 Compiling toml v0.8.8 Compiling ruma-macros v0.12.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling hyper v0.14.28 Compiling hyper-rustls v0.24.2 Compiling axum-server v0.5.1 Compiling reqwest v0.11.23 Compiling ruma-events v0.27.11 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling ruma-signatures v0.14.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling ruma-state-res v0.10.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling ruma-appservice-api v0.9.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling ruma-push-gateway-api v0.8.0 (https://github.com/ruma/ruma?rev=5495b85aa311c2805302edb0a7de40399e22b397#5495b85a) Compiling conduit v0.7.0 (/home/buildozer/aports/community/conduit/src/conduit-v0.7.0) warning: unnecessary qualification --> src/api/ruma_wrapper/axum.rs:280:32 | 280 | let mut http_request = http::Request::builder().uri(parts.uri).method(parts.method); | ^^^^^^^^^^^^^^^^^^^^^^ | = note: requested on the command line with `-W unused-qualifications` help: remove the unnecessary path segments | 280 - let mut http_request = http::Request::builder().uri(parts.uri).method(parts.method); 280 + let mut http_request = Request::builder().uri(parts.uri).method(parts.method); | warning: unnecessary qualification --> src/database/abstraction/watchers.rs:23:32 | 23 | let (tx, rx) = tokio::sync::watch::channel(()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 23 - let (tx, rx) = tokio::sync::watch::channel(()); 23 + let (tx, rx) = watch::channel(()); | warning: unnecessary qualification --> src/database/mod.rs:240:13 | 240 | std::fs::create_dir_all(&config.database_path) | ^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 240 - std::fs::create_dir_all(&config.database_path) 240 + fs::create_dir_all(&config.database_path) | warning: unnecessary qualification --> src/database/mod.rs:921:46 | 921 | let user_default_rules = ruma::push::Ruleset::server_default(&user); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 921 - let user_default_rules = ruma::push::Ruleset::server_default(&user); 921 + let user_default_rules = Ruleset::server_default(&user); | warning: unnecessary qualification --> src/service/rooms/spaces/mod.rs:485:28 | 485 | if let join_rules::AllowRule::RoomMembership(rm) = rule { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 485 - if let join_rules::AllowRule::RoomMembership(rm) = rule { 485 + if let AllowRule::RoomMembership(rm) = rule { | warning: unnecessary qualification --> src/utils/mod.rs:125:8 | 125 | E: std::fmt::Display, | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 125 - E: std::fmt::Display, 125 + E: fmt::Display, | warning: unnecessary qualification --> src/utils/mod.rs:130:43 | 130 | impl<'de, T: FromStr, Err: std::fmt::Display> serde::de::Visitor<'de> | ^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 130 - impl<'de, T: FromStr, Err: std::fmt::Display> serde::de::Visitor<'de> 130 + impl<'de, T: FromStr, Err: fmt::Display> serde::de::Visitor<'de> | warning: unnecessary qualification --> src/utils/mod.rs:134:45 | 134 | fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 134 - fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { 134 + fn expecting(&self, formatter: &mut fmt::Formatter<'_>) -> std::fmt::Result { | warning: unnecessary qualification --> src/utils/mod.rs:134:73 | 134 | fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { | ^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 134 - fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { 134 + fn expecting(&self, formatter: &mut std::fmt::Formatter<'_>) -> fmt::Result { | warning: method `clear_caches` is never used --> src/database/abstraction.rs:41:8 | 29 | pub trait KeyValueDatabaseEngine: Send + Sync { | ---------------------- method in this trait ... 41 | fn clear_caches(&self) {} | ^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: field `1` is never read --> src/service/globals/mod.rs:83:51 | 83 | pub struct RotationHandler(broadcast::Sender<()>, broadcast::Receiver<()>); | --------------- field in this struct ^^^^^^^^^^^^^^^^^^^^^^^ | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 83 | pub struct RotationHandler(broadcast::Sender<()>, ()); | ~~ warning: `conduit` (lib test) generated 11 warnings (11 duplicates) warning: `conduit` (lib) generated 11 warnings (run `cargo fix --lib -p conduit` to apply 9 suggestions) warning: unnecessary qualification --> src/main.rs:220:10 | 220 | req: axum::http::Request, | ^^^^^^^^^^^^^^^^^^^^^^ | = note: requested on the command line with `-W unused-qualifications` help: remove the unnecessary path segments | 220 - req: axum::http::Request, 220 + req: http::Request, | warning: unnecessary qualification --> src/main.rs:232:10 | 232 | req: axum::http::Request, | ^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 232 - req: axum::http::Request, 232 + req: http::Request, | warning: unnecessary qualification --> src/main.rs:238:26 | 238 | if inner.status() == axum::http::StatusCode::METHOD_NOT_ALLOWED { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: remove the unnecessary path segments | 238 - if inner.status() == axum::http::StatusCode::METHOD_NOT_ALLOWED { 238 + if inner.status() == StatusCode::METHOD_NOT_ALLOWED { | warning: `conduit` (bin "conduit" test) generated 3 warnings (run `cargo fix --bin "conduit" --tests` to apply 3 suggestions) Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 31s Running unittests src/lib.rs (target/debug/deps/conduit-b29546308367c6bd) running 8 tests test api::server_server::tests::hostnames_get_default_ports ... ok test api::server_server::tests::hostnames_keep_custom_ports ... ok test api::server_server::tests::ips_get_default_ports ... ok test api::server_server::tests::ips_keep_custom_ports ... ok test service::rooms::timeline::tests::comparisons ... ok test service::admin::test::get_help_long ... ok test service::admin::test::get_help_short ... ok test service::admin::test::get_help_subcommand ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running unittests src/main.rs (target/debug/deps/conduit-1870f818cd26efe9) running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests conduit running 1 test test src/api/server_server.rs - api::server_server::FedDest (line 68) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.81s >>> conduit: Entering fakeroot... >>> conduit-openrc*: Running split function openrc... >>> conduit-openrc*: Preparing subpackage conduit-openrc... >>> conduit-openrc*: Running postcheck for conduit-openrc >>> conduit*: Running postcheck for conduit >>> conduit*: Preparing package conduit... >>> conduit*: Stripping binaries >>> conduit*: Script found. /bin/sh added as a dependency for conduit-0.7.0-r0.apk >>> conduit*: Adding .pre-install >>> conduit-openrc*: Scanning shared objects >>> conduit*: Scanning shared objects >>> conduit-openrc*: Tracing dependencies... >>> conduit-openrc*: Package size: 24.0 KB >>> conduit-openrc*: Compressing data... >>> conduit-openrc*: Create checksum... >>> conduit-openrc*: Create conduit-openrc-0.7.0-r0.apk >>> conduit*: Tracing dependencies... /bin/sh so:libc.musl-armv7.so.1 so:libgcc_s.so.1 so:librocksdb.so.7 so:libsqlite3.so.0 >>> conduit*: Package size: 9.3 MB >>> conduit*: Compressing data... >>> conduit*: Create checksum... >>> conduit*: Create conduit-0.7.0-r0.apk >>> conduit: Build complete at Sun, 09 Jun 2024 20:57:08 +0000 elapsed time 0h 15m 29s >>> conduit: Cleaning up srcdir >>> conduit: Cleaning up pkgdir >>> conduit: Uninstalling dependencies... (1/27) Purging .makedepends-conduit (20240609.204140) (2/27) Purging sqlite-dev (3.46.0-r0) (3/27) Purging sqlite (3.46.0-r0) (4/27) Purging sqlite-libs (3.46.0-r0) (5/27) Purging cargo-auditable (0.6.2-r0) (6/27) Purging clang17-libclang (17.0.6-r1) (7/27) Purging clang17-headers (17.0.6-r1) (8/27) Purging rocksdb-dev (7.9.2-r1) (9/27) Purging bzip2-dev (1.0.8-r6) (10/27) Purging gflags-dev (2.2.2-r2) (11/27) Purging liburing-dev (2.6-r0) (12/27) Purging liburing-ffi (2.6-r0) (13/27) Purging lz4-dev (1.9.4-r5) (14/27) Purging zlib-dev (1.3.1-r1) (15/27) Purging zstd-dev (1.5.6-r0) (16/27) Purging zstd (1.5.6-r0) (17/27) Purging rocksdb (7.9.2-r1) (18/27) Purging snappy-dev (1.1.10-r2) (19/27) Purging snappy (1.1.10-r2) (20/27) Purging cargo (1.78.0-r0) (21/27) Purging rust (1.78.0-r0) (22/27) Purging gflags (2.2.2-r2) (23/27) Purging liburing (2.6-r0) (24/27) Purging llvm17-libs (17.0.6-r1) (25/27) Purging readline (8.2.10-r0) (26/27) Purging libffi (3.4.6-r0) (27/27) Purging libxml2 (2.12.7-r0) Executing busybox-1.36.1-r29.trigger OK: 272 MiB in 109 packages >>> conduit: Updating the community/armv7 repository index... >>> conduit: Signing the index...