==> Building on p ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/cross ./ PKGBUILD 1,122 100% 0.00kB/s 0:00:00 1,122 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=0/2) sent 752 bytes received 75 bytes 551.33 bytes/sec total size is 1,122 speedup is 1.36 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix27 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix27]...done ==> Making package: cross 0.2.1-2 (Sat Feb 19 01:39:56 2022) ==> Retrieving sources...  -> Downloading cross-0.2.1.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 100 121 100 121 0 0 623 0 --:--:-- --:--:-- --:--:-- 626 100 132 100 132 0 0 368 0 --:--:-- --:--:-- --:--:-- 368 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 168k 0 168k 0 0 245k 0 --:--:-- --:--:-- --:--:-- 1328k ==> Validating source files with sha256sums... cross-0.2.1.tar.gz ... Passed ==> Validating source files with b2sums... cross-0.2.1.tar.gz ... Passed ==> Making package: cross 0.2.1-2 (Sat 19 Feb 2022 01:40:18 AM CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (3) New Version Net Change core/libedit 20210910_3.1-1 0.23 MiB extra/llvm-libs 13.0.1-1 85.70 MiB extra/rust 1:1.58.1-1 501.98 MiB Total Installed Size: 587.91 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm-libs... installing rust... Optional dependencies for rust lldb: rust-lldb script gdb: rust-gdb script [?25h==> Retrieving sources...  -> Found cross-0.2.1.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting cross-0.2.1.tar.gz with bsdtar ==> Starting build()... Updating crates.io index Downloading crates ... Downloaded miniz_oxide v0.3.7 Downloaded which v3.1.1 Downloaded version_check v0.9.2 Downloaded nix v0.15.0 Downloaded object v0.20.0 Downloaded itoa v0.4.6 Downloaded toml v0.5.6 Downloaded libc v0.2.71 Downloaded rustc_version v0.2.3 Downloaded home v0.5.3 Downloaded void v1.0.2 Downloaded serde_json v1.0.56 Downloaded semver-parser v0.7.0 Downloaded shell-escape v0.1.5 Downloaded backtrace v0.3.49 Downloaded bitflags v1.2.1 Downloaded gimli v0.21.0 Downloaded addr2line v0.12.2 Downloaded atty v0.2.14 Downloaded adler32 v1.1.0 Downloaded ryu v1.0.5 Downloaded rustc-demangle v0.1.16 Downloaded lazy_static v1.4.0 Downloaded error-chain v0.12.2 Downloaded cfg-if v0.1.10 Downloaded semver v0.9.0 Downloaded serde v1.0.114 Compiling libc v0.2.71 Compiling serde v1.0.114 Compiling gimli v0.21.0 Compiling bitflags v1.2.1 Compiling adler32 v1.1.0 Compiling ryu v1.0.5 Compiling version_check v0.9.2 Compiling cfg-if v0.1.10 Compiling object v0.20.0 Compiling semver-parser v0.7.0 Compiling nix v0.15.0 Compiling serde_json v1.0.56 Compiling rustc-demangle v0.1.16 Compiling void v1.0.2 Compiling cross v0.2.1 (/build/cross/src/cross-0.2.1) Compiling itoa v0.4.6 Compiling lazy_static v1.4.0 Compiling home v0.5.3 Compiling shell-escape v0.1.5 Compiling semver v0.9.0 Compiling miniz_oxide v0.3.7 Compiling error-chain v0.12.2 Compiling rustc_version v0.2.3 Compiling which v3.1.1 Compiling atty v0.2.14 error[E0432]: unresolved import `self::consts` --> /build/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.15.0/src/sys/ioctl/linux.rs:50:15 | 50 | pub use self::consts::*; | ^^^^^^ could not find `consts` in `self` error[E0425]: cannot find value `SIZEBITS` in this scope --> /build/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.15.0/src/sys/ioctl/linux.rs:59:50 | 59 | pub const DIRSHIFT: ioctl_num_type = SIZESHIFT + SIZEBITS as ioctl_num_type; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `SIZEBITS` in this scope --> /build/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.15.0/src/sys/ioctl/linux.rs:66:44 | 66 | pub const SIZEMASK: ioctl_num_type = (1 << SIZEBITS) - 1; | ^^^^^^^^ not found in this scope error[E0425]: cannot find value `DIRBITS` in this scope --> /build/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.15.0/src/sys/ioctl/linux.rs:68:43 | 13 | pub const NRBITS: ioctl_num_type = 8; | ------------------------------------- similarly named constant `NRBITS` defined here ... 68 | pub const DIRMASK: ioctl_num_type = (1 << DIRBITS) - 1; | ^^^^^^^ help: a constant with a similar name exists: `NRBITS` Compiling addr2line v0.12.2 Compiling backtrace v0.3.49 Some errors have detailed explanations: E0425, E0432. For more information about an error, try `rustc --explain E0425`. error: could not compile `nix` due to 4 previous errors warning: build failed, waiting for other jobs to finish... error: build failed ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix27/build Shared connection to minun closed. receiving incremental file list cross-0.2.1-2-riscv64-build.log sent 43 bytes received 1,182 bytes 816.67 bytes/sec total size is 3,350 speedup is 2.73