>>> ion-shell: Building community/ion-shell 1.0.5_git20210109-r0 (using abuild 3.9.0_rc2-r1) started Sun, 24 Oct 2021 02:43:10 +0000 >>> ion-shell: Checking sanity of /home/buildozer/aports/community/ion-shell/APKBUILD... >>> ion-shell: Analyzing dependencies... >>> ion-shell: Installing for build: build-base cargo (1/8) Installing rust-stdlib (1.55.0-r3) (2/8) Installing libffi (3.4.2-r1) (3/8) Installing xz-libs (5.2.5-r0) (4/8) Installing libxml2 (2.9.12-r1) (5/8) Installing llvm12-libs (12.0.1-r0) (6/8) Installing rust (1.55.0-r3) (7/8) Installing cargo (1.55.0-r3) (8/8) Installing .makedepends-ion-shell (20211024.024315) Executing busybox-1.34.1-r1.trigger OK: 1009 MiB in 97 packages >>> ion-shell: Cleaning up srcdir >>> ion-shell: Cleaning up pkgdir >>> ion-shell: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/ion-shell-c2bf1a3fc562d577a3f39eb203abe8a024dd3478.tar.gz >>> ion-shell: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/ion-shell-c2bf1a3fc562d577a3f39eb203abe8a024dd3478.tar.gz >>> ion-shell: Checking sha512sums... ion-shell-c2bf1a3fc562d577a3f39eb203abe8a024dd3478.tar.gz: OK >>> ion-shell: Unpacking /var/cache/distfiles/v3.15/ion-shell-c2bf1a3fc562d577a3f39eb203abe8a024dd3478.tar.gz... Compiling libc v0.2.77 Compiling autocfg v1.0.1 Compiling cfg-if v0.1.10 Compiling proc-macro2 v1.0.24 Compiling unicode-xid v0.2.1 Compiling syn v1.0.59 Compiling rand_core v0.4.2 Compiling autocfg v0.1.7 Compiling bitflags v1.2.1 Compiling getrandom v0.1.15 Compiling ryu v1.0.5 Compiling either v1.6.0 Compiling ident_case v1.0.1 Compiling lexical-core v0.7.4 Compiling fnv v1.0.7 Compiling cc v1.0.59 Compiling serde v1.0.115 Compiling memchr v2.3.3 Compiling unicode-width v0.1.8 Compiling strsim v0.9.3 Compiling utf8parse v0.1.1 Compiling auto_enums_derive v0.7.5 Compiling static_assertions v1.1.0 Compiling smallvec v1.4.2 Compiling scopeguard v1.1.0 Compiling numtoa v0.1.0 Compiling arrayvec v0.5.1 Compiling log v0.4.11 Compiling ppv-lite86 v0.2.9 Compiling vec_map v0.8.2 Compiling nix v0.16.1 (https://github.com/AdminXVII/nix?branch=add-redox-support-bis#64b3ea0f) Compiling strsim v0.8.0 Compiling lazy_static v1.4.0 Compiling ansi_term v0.11.0 Compiling bytecount v0.6.0 Compiling void v1.0.2 Compiling ion-shell v1.0.0-alpha (/home/buildozer/aports/community/ion-shell/src/ion-c2bf1a3fc562d577a3f39eb203abe8a024dd3478) Compiling regex-syntax v0.6.18 Compiling permutate v0.3.2 Compiling scopes v0.1.0 (/home/buildozer/aports/community/ion-shell/src/ion-c2bf1a3fc562d577a3f39eb203abe8a024dd3478/members/scopes-rs) Compiling glob v0.3.0 Compiling unicode-segmentation v1.6.0 Compiling ion-ranges v0.1.0 (/home/buildozer/aports/community/ion-shell/src/ion-c2bf1a3fc562d577a3f39eb203abe8a024dd3478/members/ranges) Compiling xdg v2.2.0 Compiling thread_local v1.0.1 Compiling lock_api v0.3.4 Compiling vte v0.3.3 Compiling textwrap v0.11.0 Compiling itertools v0.8.2 Compiling itertools v0.9.0 Compiling rand_core v0.3.1 Compiling rand_jitter v0.1.4 Compiling rand_isaac v0.1.1 Compiling rand_hc v0.1.0 Compiling rand_xorshift v0.1.1 Compiling strip-ansi-escapes v0.1.0 Compiling aho-corasick v0.7.13 Compiling rand_pcg v0.1.2 Compiling rand_chacha v0.1.1 Compiling rand v0.6.5 Compiling num-traits v0.2.12 Compiling num-integer v0.1.43 Compiling num-bigint v0.3.0 Compiling num-iter v0.1.41 Compiling num-rational v0.3.0 Compiling quote v1.0.7 Compiling decimal v2.0.4 (https://github.com/alkis/decimal.git#972c8547) Compiling regex v1.3.9 error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:24 | 62 | let bytes = bits / Limb::BITS; | ^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/bhcomp.rs:62:22 | 62 | let bytes = bits / Limb::BITS; | ^ no implementation for `usize / u32` | = help: the trait `Div` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:55 | 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: no implementation for `usize & u32` --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:157:53 | 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); | ^ no implementation for `usize & u32` | = help: the trait `BitAnd` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/bigcomp.rs:175:40 | 175 | let (q, r) = shift.ceil_divmod(Limb::BITS); | ^^^^^^^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 175 | let (q, r) = shift.ceil_divmod(Limb::BITS.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1043:42 | 1043 | let mut count = index.saturating_mul(Limb::BITS); | ^^^^^^^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1043 | let mut count = index.saturating_mul(Limb::BITS.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:28 | 1058 | Limb::BITS.checked_mul(x.len()) | ^^^^^^^ expected `u32`, found `usize` | help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit | 1058 | Limb::BITS.checked_mul(x.len().try_into().unwrap()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:22 | 1059 | .map(|v| v - nlz) | ^^^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1059:20 | 1059 | .map(|v| v - nlz) | ^ no implementation for `u32 - usize` | = help: the trait `Sub` is not implemented for `u32` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1060:20 | 1060 | .unwrap_or(usize::max_value()) | ^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` | help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit | 1060 | .unwrap_or(usize::max_value().try_into().unwrap()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1058:5 | 1054 | pub fn bit_length(x: &[Limb]) -> usize { | ----- expected `usize` because of return type ... 1058 | / Limb::BITS.checked_mul(x.len()) 1059 | | .map(|v| v - nlz) 1060 | | .unwrap_or(usize::max_value()) | |______________________________________^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1058 | Limb::BITS.checked_mul(x.len()) 1059 | .map(|v| v - nlz) 1060 | .unwrap_or(usize::max_value()).try_into().unwrap() | error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1085:23 | 1085 | debug_assert!(n < bits && n != 0); | ^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1085 | debug_assert!(n < bits.try_into().unwrap() && n != 0); | ^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:25 | 1092 | let lshift = bits - n; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1092:23 | 1092 | let lshift = bits - n; | ^ no implementation for `u32 - usize` | = help: the trait `Sub` is not implemented for `u32` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:19 | 1134 | let rem = n % bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot mod `usize` by `u32` --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1134:17 | 1134 | let rem = n % bits; | ^ no implementation for `usize % u32` | = help: the trait `Rem` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:19 | 1135 | let div = n / bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1135:17 | 1135 | let div = n / bits; | ^ no implementation for `usize / u32` | = help: the trait `Div` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1191:23 | 1191 | debug_assert!(n < bits); | ^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1191 | debug_assert!(n < bits.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:25 | 1201 | let rshift = bits - n; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1201:23 | 1201 | let rshift = bits - n; | ^ no implementation for `u32 - usize` | = help: the trait `Sub` is not implemented for `u32` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:19 | 1253 | let rem = n % bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot mod `usize` by `u32` --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1253:17 | 1253 | let rem = n % bits; | ^ no implementation for `usize % u32` | = help: the trait `Rem` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:19 | 1254 | let div = n / bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:1254:17 | 1254 | let div = n / bits; | ^ no implementation for `usize / u32` | = help: the trait `Div` is not implemented for `usize` error[E0308]: mismatched types --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:27 | 2065 | let rs = Limb::BITS - s; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /home/buildozer/.cargo/registry/src/github.com-1285ae84e5963aae/lexical-core-0.7.4/src/atof/algorithm/math.rs:2065:25 | 2065 | let rs = Limb::BITS - s; | ^ no implementation for `u32 - usize` | = help: the trait `Sub` is not implemented for `u32` Some errors have detailed explanations: E0277, E0308. For more information about an error, try `rustc --explain E0277`. error: could not compile `lexical-core` due to 27 previous errors warning: build failed, waiting for other jobs to finish... error: build failed >>> ERROR: ion-shell: build failed >>> ion-shell: Uninstalling dependencies... (1/8) Purging .makedepends-ion-shell (20211024.024315) (2/8) Purging cargo (1.55.0-r3) (3/8) Purging rust (1.55.0-r3) (4/8) Purging rust-stdlib (1.55.0-r3) (5/8) Purging llvm12-libs (12.0.1-r0) (6/8) Purging libffi (3.4.2-r1) (7/8) Purging libxml2 (2.9.12-r1) (8/8) Purging xz-libs (5.2.5-r0) Executing busybox-1.34.1-r1.trigger OK: 316 MiB in 89 packages