>>> rustdesk-server: Building testing/rustdesk-server 1.1.6-r0 (using abuild 3.9.0-r2) started Tue, 19 Jul 2022 18:31:11 +0000 >>> rustdesk-server: Checking sanity of /home/buildozer/aports/testing/rustdesk-server/APKBUILD... >>> rustdesk-server: Analyzing dependencies... >>> rustdesk-server: Installing for build: build-base cargo (1/7) Installing rust-stdlib (1.62.0-r1) (2/7) Installing libffi (3.4.2-r1) (3/7) Installing libxml2 (2.9.14-r0) (4/7) Installing llvm14-libs (14.0.6-r1) (5/7) Installing rust (1.62.0-r1) (6/7) Installing cargo (1.62.0-r1) (7/7) Installing .makedepends-rustdesk-server (20220719.183113) Executing busybox-1.35.0-r18.trigger OK: 1164 MiB in 108 packages >>> rustdesk-server: Cleaning up srcdir >>> rustdesk-server: Cleaning up pkgdir >>> rustdesk-server: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rustdesk-server-1.1.6.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> rustdesk-server: Fetching rustdesk-server-1.1.6.tar.gz::https://github.com/rustdesk/rustdesk-server/archive/refs/tags/1.1.6.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 79478 0 79478 0 0 318k 0 --:--:-- --:--:-- --:--:-- 318k >>> rustdesk-server: Fetching https://distfiles.alpinelinux.org/distfiles/edge/rustdesk-server-1.1.6.tar.gz >>> rustdesk-server: Checking sha512sums... rustdesk-server-1.1.6.tar.gz: OK hbbr.initd: OK hbbs.initd: OK hbbr.confd: OK hbbs.confd: OK >>> rustdesk-server: Unpacking /var/cache/distfiles/edge/rustdesk-server-1.1.6.tar.gz... Updating git repository `https://github.com/open-trade/confy` Updating git repository `https://github.com/open-trade/tokio-socks` Updating git repository `https://github.com/open-trade/async-speed-limit` Downloading crates ... Downloaded sqlx v0.6.0 Downloaded sqlx-macros v0.6.0 Downloaded crc-catalog v2.1.0 Downloaded hashlink v0.8.0 Downloaded quinn-udp v0.1.1 Downloaded protobuf v3.0.0-alpha.2 Downloaded bcrypt v0.13.0 Downloaded minreq v2.6.0 Downloaded quinn-proto v0.8.2 Downloaded deadpool v0.8.2 Downloaded atoi v1.0.0 Downloaded quinn v0.8.2 Downloaded axum v0.5.5 Downloaded machine-uid v0.2.0 Downloaded protoc v3.0.0-alpha.2 Downloaded mac_address v1.1.3 Downloaded protobuf-codegen v3.0.0-alpha.2 Downloaded protobuf-codegen-pure v3.0.0-alpha.2 Downloaded crc v3.0.0 Downloaded sqlx-core v0.6.0 Downloaded ipnetwork v0.20.0 Downloaded ed25519 v1.5.0 Downloaded protobuf-parse v3.0.0-alpha.2 Downloaded sqlx-rt v0.6.0 Compiling libc v0.2.125 Compiling autocfg v1.1.0 Compiling proc-macro2 v1.0.38 Compiling unicode-xid v0.2.3 Compiling syn v1.0.93 Compiling cfg-if v1.0.0 Compiling version_check v0.9.4 Compiling log v0.4.17 Compiling futures-core v0.3.21 Compiling parking_lot_core v0.9.3 Compiling memchr v2.5.0 Compiling once_cell v1.10.0 Compiling typenum v1.15.0 Compiling futures-task v0.3.21 Compiling serde v1.0.137 Compiling scopeguard v1.1.0 Compiling serde_derive v1.0.137 Compiling futures-util v0.3.21 Compiling pin-project-lite v0.2.9 Compiling bytes v1.1.0 Compiling smallvec v1.8.0 Compiling pkg-config v0.3.25 Compiling itoa v1.0.1 Compiling either v1.6.1 Compiling lazy_static v1.4.0 Compiling futures-sink v0.3.21 Compiling futures-channel v0.3.21 Compiling futures-io v0.3.21 Compiling crossbeam-utils v0.8.8 Compiling anyhow v1.0.57 Compiling protobuf v3.0.0-alpha.2 Compiling slab v0.4.6 Compiling pin-utils v0.1.0 Compiling bitflags v1.3.2 Compiling parking_lot_core v0.8.5 Compiling rustls v0.20.4 Compiling same-file v1.0.6 Compiling fastrand v1.7.0 Compiling remove_dir_all v0.5.3 Compiling base64 v0.13.0 Compiling ppv-lite86 v0.2.16 Compiling serde_json v1.0.81 Compiling ryu v1.0.9 Compiling untrusted v0.7.1 Compiling spin v0.5.2 Compiling fnv v1.0.7 Compiling crossbeam-queue v0.3.5 Compiling zstd-safe v4.1.3+zstd.1.5.1 Compiling tinyvec_macros v0.1.0 Compiling percent-encoding v2.1.0 Compiling matches v0.1.9 Compiling vcpkg v0.2.15 Compiling cpufeatures v0.2.2 Compiling byteorder v1.4.3 Compiling unicode-bidi v0.3.8 Compiling httparse v1.7.1 Compiling lexical-core v0.7.6 Compiling minimal-lexical v0.2.1 Compiling async-trait v0.1.53 Compiling signature v1.5.0 Compiling regex-syntax v0.6.25 Compiling mime v0.3.16 Compiling tower-service v0.3.1 Compiling time-macros v0.2.4 Compiling paste v1.0.7 Compiling unicode_categories v0.1.1 Compiling crc-catalog v2.1.0 Compiling humantime v2.1.0 Compiling httpdate v1.0.2 Compiling num_threads v0.1.6 Compiling termcolor v1.1.3 Compiling hashbrown v0.11.2 Compiling arrayvec v0.5.2 Compiling static_assertions v1.1.0 Compiling tower-layer v0.3.1 Compiling unicode-segmentation v1.9.0 Compiling hex v0.4.3 Compiling try-lock v0.2.3 Compiling rustversion v1.0.6 Compiling event-listener v2.5.2 Compiling unicode-width v0.1.9 Compiling minreq v2.6.0 Compiling local-ip-address v0.4.4 Compiling ansi_term v0.12.1 Compiling dotenv v0.15.0 Compiling http-range-header v0.3.0 Compiling dlv-list v0.3.0 Compiling utf-8 v0.7.6 Compiling glob v0.3.0 Compiling futures-timer v3.0.2 Compiling vec_map v0.8.2 Compiling strsim v0.8.0 Compiling matchit v0.5.0 Compiling sync_wrapper v0.1.1 Compiling punycode v0.4.1 Compiling zeroize v1.5.5 Compiling whoami v1.2.1 Compiling machine-uid v0.2.0 Compiling instant v0.1.12 Compiling tracing-core v0.1.26 Compiling itertools v0.10.3 Compiling walkdir v2.3.2 Compiling tinyvec v1.6.0 Compiling form_urlencoded v1.0.1 Compiling http v0.2.7 Compiling ed25519 v1.5.0 Compiling rustls-pemfile v1.0.0 Compiling pem v1.0.2 Compiling generic-array v0.14.5 Compiling ahash v0.7.6 Compiling unicase v2.6.0 Compiling nom v5.1.2 Compiling crc v3.0.0 Compiling lock_api v0.4.7 Compiling memoffset v0.6.5 Compiling num-traits v0.2.15 Compiling num-integer v0.1.45 Compiling indexmap v1.8.1 Compiling crossbeam-epoch v0.9.8 Compiling num-bigint v0.4.3 Compiling textwrap v0.11.0 Compiling heck v0.4.0 Compiling async-speed-limit v0.3.1 (https://github.com/open-trade/async-speed-limit#f89f702a) Compiling tracing v0.1.34 Compiling want v0.3.0 Compiling crossbeam-channel v0.5.4 Compiling unicode-normalization v0.1.19 Compiling http-body v0.4.4 Compiling headers-core v0.2.0 Compiling quote v1.0.18 Compiling aho-corasick v0.7.18 Compiling nom v7.1.1 Compiling mime_guess v2.0.4 Compiling spin v0.9.3 Compiling crossbeam-deque v0.8.1 Compiling idna v0.2.3 Compiling stringprep v0.1.2 Compiling crossbeam v0.8.1 Compiling regex v1.5.5 Compiling jobserver v0.1.24 Compiling signal-hook-registry v1.4.0 Compiling getrandom v0.2.6 Compiling mio v0.8.3 Compiling num_cpus v1.13.1 Compiling socket2 v0.4.4 Compiling which v4.2.5 Compiling tempfile v3.3.0 Compiling dirs-sys-next v0.1.2 Compiling atty v0.2.14 Compiling nix v0.23.1 Compiling filetime v0.2.16 Compiling socket2 v0.3.19 Compiling cc v1.0.73 Compiling atoi v1.0.0 Compiling time v0.1.43 Compiling neli v0.5.3 Compiling rand_core v0.6.3 Compiling parking_lot v0.12.0 Compiling crypto-common v0.1.3 Compiling block-buffer v0.10.2 Compiling inout v0.1.3 Compiling url v2.2.2 Compiling directories-next v2.0.0 Compiling dirs-next v2.0.0 Compiling parking_lot v0.11.2 Compiling uuid v1.1.2 Compiling clap v2.34.0 Compiling chrono v0.4.19 Compiling rand_chacha v0.3.1 Compiling sqlformat v0.1.8 Compiling env_logger v0.9.0 Compiling hashbrown v0.12.1 Compiling digest v0.10.3 Compiling cipher v0.4.3 Compiling futures-intrusive v0.4.0 Compiling zstd-sys v1.6.2+zstd.1.5.1 Compiling ring v0.16.20 Compiling libsodium-sys v0.2.7 Compiling libsqlite3-sys v0.24.2 Compiling rand v0.8.5 Compiling sha2 v0.10.2 Compiling blowfish v0.9.1 Compiling sha-1 v0.10.0 Compiling hashlink v0.8.0 Compiling ordered-multimap v0.4.3 Compiling bcrypt v0.13.0 Compiling headers v0.3.7 Compiling rust-ini v0.18.0 Compiling quickcheck v1.0.3 Compiling mac_address v1.1.3 Compiling time v0.3.9 Compiling tokio-macros v1.7.0 Compiling thiserror-impl v1.0.31 Compiling futures-macro v0.3.21 Compiling pin-project-internal v1.0.10 Compiling webpki v0.22.0 Compiling sct v0.7.0 Compiling tokio v1.18.2 Compiling webpki-roots v0.22.4 Compiling thiserror v1.0.31 Compiling pin-project v1.0.10 Compiling protoc v3.0.0-alpha.2 Compiling tungstenite v0.17.2 Compiling simple_asn1 v0.6.1 Compiling flexi_logger v0.22.3 Compiling flume v0.10.12 Compiling protobuf-parse v3.0.0-alpha.2 Compiling protobuf-codegen v3.0.0-alpha.2 Compiling futures-executor v0.3.21 Compiling axum-core v0.2.4 Compiling futures v0.3.21 Compiling tokio-util v0.7.1 Compiling tokio-rustls v0.23.4 Compiling tokio-stream v0.1.8 Compiling tokio-util v0.6.9 Compiling hyper v0.14.18 Compiling tokio-tungstenite v0.17.1 Compiling protobuf-codegen-pure v3.0.0-alpha.2 Compiling tower v0.4.12 Compiling sqlx-rt v0.6.0 Compiling tokio-socks v0.5.1 (https://github.com/open-trade/tokio-socks#3de8300f) Compiling tower-http v0.3.3 Compiling hbb_common v0.1.0 (/home/buildozer/aports/testing/rustdesk-server/src/rustdesk-server-1.1.6/libs/hbb_common) Compiling toml v0.5.9 Compiling config v0.11.0 Compiling serde_urlencoded v0.7.1 Compiling ipnetwork v0.20.0 Compiling deadpool v0.8.2 Compiling jsonwebtoken v8.1.0 Compiling confy v0.4.0 (https://github.com/open-trade/confy#630cc28a) Compiling axum v0.5.5 Compiling sodiumoxide v0.2.7 Compiling zstd v0.9.2+zstd.1.5.1 Compiling hbbs v1.1.6 (/home/buildozer/aports/testing/rustdesk-server/src/rustdesk-server-1.1.6) Compiling sqlx-core v0.6.0 Compiling sqlx-macros v0.6.0 Compiling sqlx v0.6.0 warning: unused imports: `IpAddr`, `collections::HashMap` --> src/common.rs:6:5 | 6 | collections::HashMap, | ^^^^^^^^^^^^^^^^^^^^ ... 9 | net::{IpAddr, SocketAddr}, | ^^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: unused variable: `pm` --> src/rendezvous_server.rs:140:13 | 140 | let pm = rs.pm.clone(); | ^^ help: if this is intentional, prefix it with an underscore: `_pm` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `pa` --> src/rendezvous_server.rs:863:32 | 863 | fn get_relay_server(&self, pa: IpAddr, pb: IpAddr) -> String { | ^^ help: if this is intentional, prefix it with an underscore: `_pa` warning: unused variable: `pb` --> src/rendezvous_server.rs:863:44 | 863 | fn get_relay_server(&self, pa: IpAddr, pb: IpAddr) -> String { | ^^ help: if this is intentional, prefix it with an underscore: `_pb` warning: function is never used: `distance` --> src/rendezvous_server.rs:1234:4 | 1234 | fn distance(a: &(i32, i32), b: &(i32, i32)) -> i32 { | ^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: type alias is never used: `DB` --> src/database.rs:11:1 | 11 | pub(crate) type DB = sqlx::Sqlite; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type alias is never used: `MapValue` --> src/database.rs:12:1 | 12 | pub(crate) type MapValue = serde_json::map::Map; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: type alias is never used: `MapStr` --> src/database.rs:13:1 | 13 | pub(crate) type MapStr = std::collections::HashMap; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: associated function is never used: `get_peer_id` --> src/database.rs:110:18 | 110 | pub async fn get_peer_id(&self, guid: &[u8]) -> ResultType> { | ^^^^^^^^^^^ warning: associated function is never used: `get_conn` --> src/database.rs:118:18 | 118 | pub async fn get_conn(&self) -> ResultType> { | ^^^^^^^^ warning: associated function is never used: `update_peer` --> src/database.rs:122:18 | 122 | pub async fn update_peer(&self, payload: MapValue, guid: &[u8]) -> ResultType<()> { | ^^^^^^^^^^^ warning: function is never used: `guid2str` --> src/database.rs:213:8 | 213 | pub fn guid2str(guid: &Vec) -> String { | ^^^^^^^^ warning: function is never used: `get_str` --> src/database.rs:219:15 | 219 | pub(crate) fn get_str(v: &Value) -> Option<&str> { | ^^^^^^^ warning: field is never read: `user` --> src/peer.rs:35:5 | 35 | pub(crate) user: Option>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: `Peer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis --> src/peer.rs:28:10 | 28 | #[derive(Clone, Debug)] | ^^^^^ ^^^^^ = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) warning: field is never read: `disabled` --> src/peer.rs:37:5 | 37 | pub(crate) disabled: bool, | ^^^^^^^^^^^^^^^^^^^^^^^^^ | note: `Peer` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis --> src/peer.rs:28:10 | 28 | #[derive(Clone, Debug)] | ^^^^^ ^^^^^ = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) warning: associated function is never used: `remove` --> src/peer.rs:182:25 | 182 | pub(crate) async fn remove(&self, id: &str) { | ^^^^^^ warning: `hbbs` (lib) generated 16 warnings warning: function is never used: `get_expired_time` --> src/common.rs:13:15 | 13 | pub(crate) fn get_expired_time() -> Instant { | ^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: function is never used: `test_if_valid_server` --> src/common.rs:19:15 | 19 | pub(crate) fn test_if_valid_server(host: &str, name: &str) -> ResultType { | ^^^^^^^^^^^^^^^^^^^^ warning: function is never used: `get_servers` --> src/common.rs:35:15 | 35 | pub(crate) fn get_servers(s: &str, tag: &str) -> Vec { | ^^^^^^^^^^^ warning: function is never used: `arg_name` --> src/common.rs:46:4 | 46 | fn arg_name(name: &str) -> String { | ^^^^^^^^ warning: function is never used: `init_args` --> src/common.rs:50:8 | 50 | pub fn init_args(args: &str, name: &str, about: &str) { | ^^^^^^^^^ warning: function is never used: `get_arg` --> src/common.rs:81:8 | 81 | pub fn get_arg(name: &str) -> String { | ^^^^^^^ warning: function is never used: `get_arg_or` --> src/common.rs:86:8 | 86 | pub fn get_arg_or(name: &str, default: String) -> String { | ^^^^^^^^^^ warning: function is never used: `now` --> src/common.rs:91:8 | 91 | pub fn now() -> u64 { | ^^^ warning: `hbbs` (bin "hbbr") generated 9 warnings (1 duplicate) Finished release [optimized] target(s) in 5m 03s >>> rustdesk-server: Entering fakeroot... >>> rustdesk-server-openrc*: Running split function openrc... >>> rustdesk-server-openrc*: Preparing subpackage rustdesk-server-openrc... >>> rustdesk-server-openrc*: Running postcheck for rustdesk-server-openrc >>> rustdesk-server*: Running postcheck for rustdesk-server >>> rustdesk-server*: Preparing package rustdesk-server... >>> rustdesk-server*: Stripping binaries >>> rustdesk-server*: Script found. /bin/sh added as a dependency for rustdesk-server-1.1.6-r0.apk >>> rustdesk-server*: Adding .pre-install >>> rustdesk-server-openrc*: Scanning shared objects >>> rustdesk-server*: Scanning shared objects >>> rustdesk-server-openrc*: Tracing dependencies... >>> rustdesk-server-openrc*: Package size: 32.0 KB >>> rustdesk-server-openrc*: Compressing data... >>> rustdesk-server-openrc*: Create checksum... >>> rustdesk-server-openrc*: Create rustdesk-server-openrc-1.1.6-r0.apk >>> rustdesk-server*: Tracing dependencies... /bin/sh so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 >>> rustdesk-server*: Package size: 11.8 MB >>> rustdesk-server*: Compressing data... >>> rustdesk-server*: Create checksum... >>> rustdesk-server*: Create rustdesk-server-1.1.6-r0.apk >>> rustdesk-server: Build complete at Tue, 19 Jul 2022 18:36:32 +0000 elapsed time 0h 5m 21s >>> rustdesk-server: Cleaning up srcdir >>> rustdesk-server: Cleaning up pkgdir >>> rustdesk-server: Uninstalling dependencies... (1/7) Purging .makedepends-rustdesk-server (20220719.183113) (2/7) Purging cargo (1.62.0-r1) (3/7) Purging rust (1.62.0-r1) (4/7) Purging rust-stdlib (1.62.0-r1) (5/7) Purging llvm14-libs (14.0.6-r1) (6/7) Purging libffi (3.4.2-r1) (7/7) Purging libxml2 (2.9.14-r0) Executing busybox-1.35.0-r18.trigger OK: 333 MiB in 101 packages >>> rustdesk-server: Updating the testing/x86_64 repository index... >>> rustdesk-server: Signing the index...