==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done ==> Making package: lurk 0.3.10-1 (Wed Jun 25 07:24:28 2025) ==> Retrieving sources... -> Found lurk-0.3.10.tar.gz ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... lurk-0.3.10.tar.gz ... Passed ==> Making package: lurk 0.3.10-1 (Wed Jun 25 07:24:47 2025) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25l:: There are 2 providers available for cargo: :: Repository extra 1) rust 2) rustup Enter a number (default=1): resolving dependencies... looking for conflicting packages... Packages (3) libedit-20250104_3.1-1 llvm-libs-20.1.6-3 rust-1:1.87.0-2 Total Download Size: 84.04 MiB Total Installed Size: 347.69 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... rust-1:1.87.0-2-armv7h downloading... llvm-libs-20.1.6-3-armv7h downloading... libedit-20250104_3.1-1-armv7h downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libedit... installing llvm-libs... installing rust... Optional dependencies for rust gdb: rust-gdb script lldb: rust-lldb script :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... [?25h==> Retrieving sources... -> Found lurk-0.3.10.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting lurk-0.3.10.tar.gz with bsdtar ==> Starting prepare()... Updating crates.io index Fetch [===========> ] 14 complete; 21 pending Fetch [==============> ] 35 complete; 14 pending Fetch [=================> ] 49 complete; 21 pending Downloading 1 crate Downloading 2 crates Downloading 3 crates Downloading 4 crates Downloading 5 crates Downloading 6 crates Downloading 7 crates Downloading 8 crates Downloading 9 crates Downloading 10 crates Downloading 11 crates Downloading 12 crates Downloading 13 crates Downloading 14 crates Downloading 15 crates Downloading 16 crates Downloading 17 crates Downloading 18 crates Downloading 19 crates Downloading 20 crates Downloading 21 crates Downloading 22 crates Downloading 23 crates Downloading 24 crates Downloading 25 crates Downloading 26 crates Downloading 27 crates Downloading 28 crates Downloading 29 crates Downloading 30 crates Downloading 31 crates Downloading 32 crates Downloading 33 crates Downloading 34 crates Downloading 35 crates Downloading 36 crates Downloading 37 crates Downloading 38 crates Downloading 39 crates Downloading 40 crates Downloading 41 crates Downloading 42 crates Downloading 43 crates Downloading 44 crates Downloading 45 crates Downloading 46 crates Downloading 47 crates Downloading 48 crates Downloading 49 crates Downloading 50 crates Downloading 51 crates Downloading 52 crates Downloading 53 crates Downloading 54 crates Downloading 55 crates Downloading 56 crates Downloaded uzers v0.12.1 Downloading 55 crates, remaining bytes: 42.7KiB Downloaded colorchoice v1.0.3 Downloading 54 crates, remaining bytes: 6.0MiB Downloaded byteorder v1.5.0 Downloading 53 crates, remaining bytes: 5.7MiB Downloaded clap_lex v0.7.4 Downloading 52 crates, remaining bytes: 5.2MiB Downloaded clap v4.5.28 Downloading 51 crates, remaining bytes: 5.0MiB Downloaded anyhow v1.0.95 Downloading 50 crates, remaining bytes: 4.7MiB Downloaded memchr v2.7.4 Downloading 49 crates, remaining bytes: 4.4MiB Downloaded serde v1.0.217 Downloading 48 crates, remaining bytes: 4.2MiB Downloaded crossterm v0.28.1 Downloading 47 crates, remaining bytes: 4.0MiB Downloaded serde_json v1.0.138 Downloading 46 crates, remaining bytes: 3.7MiB Downloaded clap_builder v4.5.27 Downloading 45 crates, remaining bytes: 3.5MiB Downloaded aho-corasick v1.1.3 Downloading 44 crates, remaining bytes: 3.3MiB Downloaded comfy-table v7.1.3 Downloading 43 crates, remaining bytes: 3.2MiB Downloaded regex v1.11.1 Downloading 42 crates, remaining bytes: 3.0MiB Downloaded syn v2.0.98 Downloading 41 crates, remaining bytes: 2.8MiB Downloaded serde_derive v1.0.217 Downloading 40 crates, remaining bytes: 2.7MiB Downloaded unicode-width v0.2.0 Downloading 39 crates, remaining bytes: 2.6MiB Downloaded clap_derive v4.5.28 Downloading 38 crates, remaining bytes: 2.4MiB Downloaded nix v0.29.0 Downloading 37 crates, remaining bytes: 2.3MiB Downloaded rustix v0.38.44 Downloading 36 crates, remaining bytes: 2.2MiB Downloaded regex-syntax v0.8.5 Downloading 35 crates, remaining bytes: 2.2MiB Downloaded lock_api v0.4.12 Downloading 34 crates, remaining bytes: 2.0MiB Downloaded smallvec v1.13.2 Downloading 33 crates, remaining bytes: 2.0MiB Downloaded parking_lot_core v0.9.10 Downloading 32 crates, remaining bytes: 1.9MiB Downloaded parking_lot v0.12.3 Downloading 31 crates, remaining bytes: 1.9MiB Downloaded strum_macros v0.26.4 Downloading 30 crates, remaining bytes: 1.8MiB Downloaded once_cell v1.20.2 Downloading 29 crates, remaining bytes: 1.7MiB Downloaded console v0.15.10 Downloading 28 crates, remaining bytes: 1.7MiB Downloaded ryu v1.0.19 Downloading 27 crates, remaining bytes: 1.6MiB Downloaded proc-macro2 v1.0.93 Downloading 26 crates, remaining bytes: 1.5MiB Downloaded regex-automata v0.4.9 Downloading 25 crates, extracting regex-automata ... Downloading 25 crates, remaining bytes: 1.4MiB Downloaded unicode-ident v1.0.16 Downloading 24 crates, remaining bytes: 1.4MiB Downloaded syscalls v0.6.18 Downloading 23 crates, remaining bytes: 1.3MiB Downloaded libc v0.2.169 Downloading 22 crates, extracting libc ... Downloading 22 crates, remaining bytes: 1.3MiB Downloaded linux-personality v2.0.0 Downloading 21 crates, remaining bytes: 1.2MiB Downloaded anstyle-parse v0.2.6 Downloading 20 crates, remaining bytes: 1.2MiB Downloaded anstyle-query v1.1.2 Downloading 19 crates, remaining bytes: 1.2MiB Downloaded is_terminal_polyfill v1.70.1 Downloading 18 crates, remaining bytes: 1.2MiB Downloaded utf8parse v0.2.2 Downloading 17 crates, remaining bytes: 1.2MiB Downloaded anstream v0.6.18 Downloading 16 crates, remaining bytes: 1.2MiB Downloaded anstyle v1.0.10 Downloading 15 crates, remaining bytes: 1.1MiB Downloaded strsim v0.11.1 Downloading 14 crates, remaining bytes: 1.1MiB Downloaded autocfg v1.4.0 Downloading 13 crates, remaining bytes: 1.1MiB Downloaded scopeguard v1.2.0 Downloading 12 crates, remaining bytes: 1.1MiB Downloaded errno v0.3.10 Downloading 11 crates, remaining bytes: 1.1MiB Downloaded strum v0.26.3 Downloading 10 crates, remaining bytes: 1.1MiB Downloaded heck v0.5.0 Downloading 9 crates, remaining bytes: 1.1MiB Downloaded rustversion v1.0.19 Downloading 8 crates, remaining bytes: 1.0MiB Downloaded bitflags v2.8.0 Downloading 7 crates, remaining bytes: 1.0MiB Downloaded itoa v1.0.14 Downloading 6 crates, remaining bytes: 1.0MiB Downloaded quote v1.0.38 Downloading 5 crates, remaining bytes: 1010.6KiB Downloaded serde_repr v0.1.19 Downloading 4 crates, remaining bytes: 994.6KiB Downloaded log v0.4.25 Downloading 3 crates, remaining bytes: 978.6KiB Downloaded cfg-if v1.0.0 Downloading 2 crates, remaining bytes: 962.6KiB Downloaded cfg_aliases v0.2.1 Downloading 1 crate, remaining bytes: 942.5KiB Downloaded linux-raw-sys v0.4.15 Downloading 0 crates, extracting linux-raw-sys ... Downloaded 56 crates (7.1MiB) in 2.40s (largest was `linux-raw-sys` at 2.1MiB) ==> Starting build()... Compiling proc-macro2 v1.0.93 Compiling unicode-ident v1.0.16 Compiling libc v0.2.169 Compiling autocfg v1.4.0 Building [ ] 0/79: proc-macro2(build.rs), li... Compiling parking_lot_core v0.9.10 Building [ ] 1/79: proc-macro2(build.rs), li... Compiling cfg-if v1.0.0 Building [ ] 2/79: proc-macro2(build.rs), li... Building [> ] 3/79: libc(build.rs), cfg-if, a... Compiling bitflags v2.8.0 Building [> ] 4/79: libc(build.rs), bitflags,... Building [> ] 5/79: libc(build), bitflags, au... Building [=> ] 6/79: libc(build), bitflags, au... Building [=> ] 7/79: libc, bitflags, autocfg, ... Compiling lock_api v0.4.12 Building [=> ] 8/79: libc, bitflags, lock_api(... Building [==> ] 9/79: libc, bitflags, lock_api(... Building [==> ] 10/79: libc, bitflags, parking_l... Compiling smallvec v1.13.2 Building [==> ] 11/79: libc, bitflags, smallvec,... Compiling scopeguard v1.2.0 Building [===> ] 12/79: libc, smallvec, proc-macr... Compiling utf8parse v0.2.2 Building [===> ] 13/79: libc, smallvec, proc-macr... Compiling quote v1.0.38 Building [===> ] 14/79: libc, quote, smallvec, pr... Compiling heck v0.5.0 Building [====> ] 15/79: libc, quote, heck, proc-m... Compiling syn v2.0.98 Building [====> ] 16/79: libc, syn, quote, proc-ma... Compiling rustix v0.38.44 Building [====> ] 17/79: libc, syn, rustix(build.r... Compiling serde v1.0.217 Building [=====> ] 18/79: libc, syn, rustix(build.r... Compiling rustversion v1.0.19 Building [=====> ] 19/79: libc, syn, rustix(build.r... Compiling memchr v2.7.4 Building [=====> ] 20/79: libc, syn, rustversion(bu... Building [======> ] 21/79: libc, syn, rustversion(bu... Building [======> ] 22/79: libc, syn, memchr, rustix... Building [======> ] 23/79: libc, syn, serde(build), ... Compiling anstyle-parse v0.2.6 Building [=======> ] 24/79: libc, syn, anstyle-parse,... Building [=======> ] 25/79: libc, syn, lock_api, memchr Compiling cfg_aliases v0.2.1 Building [=======> ] 26/79: libc, syn, lock_api, cfg_... Compiling anstyle-query v1.1.2 Building [========> ] 27/79: libc, syn, lock_api, anst... Compiling colorchoice v1.0.3 Building [========> ] 28/79: colorchoice, libc, syn, a... Compiling linux-raw-sys v0.4.15 Building [========> ] 29/79: colorchoice, libc, syn, l... Compiling is_terminal_polyfill v1.70.1 Building [=========> ] 30/79: libc, syn, is_terminal_po... Compiling anstyle v1.0.10 Building [=========> ] 31/79: libc, syn, anstyle, linux... Compiling anstream v0.6.18 Building [=========> ] 32/79: libc, syn, linux-raw-sys,... Building [==========> ] 33/79: syn, parking_lot_core, li... Building [==========> ] 34/79: syn, parking_lot_core, an... Compiling nix v0.29.0 Building [==========> ] 35/79: syn, parking_lot_core, ni... Compiling parking_lot v0.12.3 Building [===========> ] 36/79: parking_lot, syn, nix(bui... Compiling aho-corasick v1.1.3 Building [===========> ] 37/79: parking_lot, syn, aho-cor... Building [===========> ] 38/79: syn, rustversion, aho-cor... Compiling clap_lex v0.7.4 Building [============> ] 39/79: syn, rustversion, aho-cor... Compiling serde_json v1.0.138 Building [============> ] 40/79: syn, rustversion, serde_j... Compiling regex-syntax v0.8.5 Building [=============> ] 41/79: syn, rustversion, aho-cor... Compiling strsim v0.11.1 Building [=============> ] 42/79: syn, aho-corasick, strsim... Compiling syscalls v0.6.18 Building [=============> ] 43/79: syn, aho-corasick, syscal... Compiling unicode-width v0.2.0 Building [==============> ] 44/79: syn, unicode-width, aho-c... Compiling anyhow v1.0.95 Building [==============> ] 45/79: syn, aho-corasick, anyhow... Building [==============> ] 46/79: anyhow(build), syn, aho-c... Building [===============> ] 47/79: syn, syscalls(build), aho... Compiling clap_builder v4.5.27 Building [===============> ] 48/79: syn, clap_builder, aho-co... Compiling serde_derive v1.0.217 Building [===============> ] 49/79: clap_builder, aho-corasic... Compiling strum_macros v0.26.4 Building [================> ] 50/79: strum_macros, clap_builde... Compiling clap_derive v4.5.28 Building [================> ] 51/79: clap_builder, clap_derive... Building [================> ] 52/79: clap_builder, serde, clap... Compiling serde_repr v0.1.19 Building [=================> ] 53/79: serde_repr, clap_builder,... Compiling regex-automata v0.4.9 Building [=================> ] 54/79: regex-automata, clap_buil... Building [=================> ] 55/79: regex-automata, clap_buil... Compiling crossterm v0.28.1 Building [==================> ] 56/79: crossterm, regex-automata... Building [==================> ] 57/79: regex-automata, clap_buil... Compiling itoa v1.0.14 Building [==================> ] 58/79: itoa, regex-automata, cla... Compiling log v0.4.25 Building [===================> ] 59/79: regex-automata, clap_buil... Compiling strum v0.26.3 Building [===================> ] 60/79: regex-automata, clap_buil... Compiling ryu v1.0.19 Building [===================> ] 61/79: regex-automata, clap_buil... Compiling once_cell v1.20.2 Building [====================> ] 62/79: once_cell, regex-automata... Compiling console v0.15.10 Building [====================> ] 63/79: console, regex-automata, ... Building [====================> ] 64/79: console, regex-automata, ... Compiling regex v1.11.1 Building [=====================> ] 65/79: regex, regex-automata, cl... Compiling comfy-table v7.1.3 Building [=====================> ] 66/79: regex-automata, clap_buil... Compiling uzers v0.12.1 Building [=====================> ] 67/79: regex-automata, clap_buil... Building [======================> ] 68/79: regex-automata, uzers, co... Building [======================> ] 69/79: nix, regex-automata, comf... Compiling clap v4.5.28 Building [======================> ] 70/79: nix, regex-automata, clap... Building [=======================> ] 71/79: nix, regex-automata, sysc... Compiling linux-personality v2.0.0 Building [=======================> ] 72/79: regex-automata, linux-per... Compiling byteorder v1.5.0 Building [=======================> ] 73/79: byteorder, regex-automata... Building [========================> ] 74/79: byteorder, regex-automata... Building [========================> ] 75/79: regex-automata, syscalls Building [========================> ] 76/79: syscalls Compiling lurk-cli v0.3.10 (/build/lurk/src/lurk-0.3.10) Building [========================> ] 76/79: syscalls, lurk-cli error[E0432]: unresolved import `libc::user_regs_struct` --> src/arch/mod.rs:3:33 | 3 | use libc::{c_long, c_ulonglong, user_regs_struct}; | ^^^^^^^^^^^^^^^^ no `user_regs_struct` in the root Building [========================> ] 76/79: syscalls, lurk-cli error[E0432]: unresolved import `libc::user_regs_struct` --> src/syscall_info.rs:3:25 | 3 | use libc::{c_ulonglong, user_regs_struct}; | ^^^^^^^^^^^^^^^^ no `user_regs_struct` in the root Building [========================> ] 76/79: syscalls, lurk-cli error[E0432]: unresolved import `libc::user_regs_struct` --> src/lib.rs:80:5 | 80 | use libc::user_regs_struct; | ^^^^^^^^^^^^^^^^^^^^^^ no `user_regs_struct` in the root Building [========================> ] 76/79: syscalls, lurk-cli error[E0432]: unresolved imports `crate::arch::TRACE_CLOCK`, `crate::arch::TRACE_CREDS`, `crate::arch::TRACE_DESC`, `crate::arch::TRACE_FILE`, `crate::arch::TRACE_FSTAT`, `crate::arch::TRACE_FSTATFS`, `crate::arch::TRACE_IPC`, `crate::arch::TRACE_LSTAT`, `crate::arch::TRACE_MEMORY`, `crate::arch::TRACE_NETWORK`, `crate::arch::TRACE_PROCESS`, `crate::arch::TRACE_PURE`, `crate::arch::TRACE_SIGNAL`, `crate::arch::TRACE_STAT`, `crate::arch::TRACE_STATFS`, `crate::arch::TRACE_STATFS_LIKE`, `crate::arch::TRACE_STAT_LIKE` --> src/args.rs:2:5 | 2 | TRACE_CLOCK, TRACE_CREDS, TRACE_DESC, TRACE_FILE, TRACE_FSTAT, TRACE_FSTATFS, TRACE_IPC, | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ no `TRACE_IPC` in `arch` | | | | | | | | | | | | | no `TRACE_FSTATFS` in `arch` | | | | | no `TRACE_FSTAT` in `arch` | | | | no `TRACE_FILE` in `arch` | | | no `TRACE_DESC` in `arch` | | no `TRACE_CREDS` in `arch` | no `TRACE_CLOCK` in `arch` 3 | TRACE_LSTAT, TRACE_MEMORY, TRACE_NETWORK, TRACE_PROCESS, TRACE_PURE, TRACE_SIGNAL, TRACE_STAT, | ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ | | | | | | | no `TRACE_NETWORK` in `arch` | | no `TRACE_MEMORY` in `arch` | no `TRACE_LSTAT` in `arch` 4 | TRACE_STATFS, TRACE_STATFS_LIKE, TRACE_STAT_LIKE, | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ Building [========================> ] 76/79: syscalls, lurk-cli error[E0425]: cannot find value `SYSCALLS` in this scope --> src/arch/mod.rs:124:5 | 124 | SYSCALLS | ^^^^^^^^ not found in this scope Building [========================> ] 76/79: syscalls, lurk-cli error[E0425]: cannot find value `code` in this scope --> src/lib.rs:396:23 | 396 | match code { | ^^^^ not found in this scope Building [========================> ] 76/79: syscalls, lurk-cli error[E0425]: cannot find value `code` in this scope --> src/lib.rs:400:17 | 400 | code | ^^^^ not found in this scope Building [========================> ] 76/79: syscalls, lurk-cli error[E0425]: cannot find function `getregs` in module `ptrace` --> src/lib.rs:448:17 | 448 | ... ptrace::getregs(pid).map_err(|_| anyhow!("Unable to get registers... | ^^^^^^^ not found in `ptrace` Building [========================> ] 76/79: syscalls, lurk-cli error[E0425]: cannot find value `reg` in this scope --> src/lib.rs:459:26 | 459 | Ok(u32::try_from(reg) | ^^^ not found in this scope Building [========================> ] 76/79: syscalls, lurk-cli error[E0425]: cannot find value `reg` in this scope --> src/lib.rs:460:59 | 460 | .map_err(|_| anyhow!("Invalid syscall number {reg}"))? | ^^^ not found in this scope Building [========================> ] 76/79: syscalls, lurk-cli error[E0425]: cannot find value `reg` in this scope --> src/lib.rs:480:13 | 480 | reg == Sysno::exit as u64 || reg == Sysno::exit_group as u64 | ^^^ not found in this scope Building [========================> ] 76/79: syscalls, lurk-cli error[E0425]: cannot find value `reg` in this scope --> src/lib.rs:480:42 | 480 | reg == Sysno::exit as u64 || reg == Sysno::exit_group as u64 | ^^^ not found in this scope Building [========================> ] 76/79: syscalls, lurk-cli error[E0308]: mismatched types --> src/arch/mod.rs:85:41 | 85 | bytes.write_i64::<LittleEndian>(res).unwrap_or_else(|err| { | ------------------------- ^^^ expected `i64`, found `i32` | | | arguments to this method are incorrect | note: method defined here --> /build/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/byteorder-1.5.0/src/io.rs:1394:8 | 1394 | fn write_i64<T: ByteOrder>(&mut self, n: i64) -> Result<()> { | ^^^^^^^^^ help: you can convert an `i32` to an `i64` | 85 | bytes.write_i64::<LittleEndian>(res.into()).unwrap_or_else(|err| { | +++++++ Building [========================> ] 76/79: syscalls, lurk-cli error[E0425]: cannot find function `get_arg_value` in this scope --> src/arch/mod.rs:142:17 | 142 | let value = get_arg_value(registers, idx); | ^^^^^^^^^^^^^ not found in this scope Building [========================> ] 76/79: syscalls, lurk-cli Some errors have detailed explanations: E0308, E0425, E0432. For more information about an error, try `rustc --explain E0308`. Building [========================> ] 76/79: syscalls, lurk-cli error: could not compile `lurk-cli` (lib) due to 14 previous errors warning: build failed, waiting for other jobs to finish... Building [=========================> ] 77/79: syscalls ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/leming/armv7/leming/build