==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: lurk 0.3.14-1 (Mon Apr 20 13:37:59 2026)
==> Retrieving sources...
-> Found lurk-0.3.14.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
lurk-0.3.14.tar.gz ... Passed
==> Making package: lurk 0.3.14-1 (Mon Apr 20 19:38:25 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
:: 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 (7) compiler-rt-22.1.3-1 libedit-20251016_3.1-1 libgit2-1:1.9.2-3 lld-22.1.3-1 llhttp-9.3.1-1 llvm-libs-22.1.3-1 rust-1:1.94.1-1
Total Installed Size: 389.17 MiB
:: Proceed with installation? [Y/n]
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing compiler-rt...
installing llhttp...
installing libgit2...
installing libedit...
installing llvm-libs...
installing lld...
installing rust...
Optional dependencies for rust
gdb: rust-gdb script
lldb: rust-lldb script
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Retrieving sources...
-> Found lurk-0.3.14.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting lurk-0.3.14.tar.gz with bsdtar
==> Starting prepare()...
Updating crates.io index
Downloading crates ...
Downloaded is_terminal_polyfill v1.70.2
Downloaded byteorder v1.5.0
Downloaded anstream v0.6.21
Downloaded anyhow v1.0.100
Downloaded comfy-table v7.2.1
Downloaded unicode-segmentation v1.12.0
Downloaded memchr v2.7.6
Downloaded crossterm v0.29.0
Downloaded regex v1.12.2
Downloaded clap_builder v4.5.53
Downloaded aho-corasick v1.1.4
Downloaded serde_json v1.0.145
Downloaded serde_derive v1.0.228
Downloaded serde v1.0.228
Downloaded syn v2.0.111
Downloaded unicode-width v0.2.2
Downloaded clap v4.5.53
Downloaded regex-syntax v0.8.8
Downloaded nix v0.30.1
Downloaded clap_derive v4.5.49
Downloaded litrs v1.0.0
Downloaded smallvec v1.15.1
Downloaded rustix v1.1.2
Downloaded parking_lot_core v0.9.12
Downloaded ryu v1.0.20
Downloaded serde_core v1.0.228
Downloaded proc-macro2 v1.0.103
Downloaded unicode-ident v1.0.22
Downloaded anstyle-parse v0.2.7
Downloaded anstyle-query v1.1.5
Downloaded colorchoice v1.0.4
Downloaded anstyle v1.0.13
Downloaded strsim v0.11.1
Downloaded regex-automata v0.4.13
Downloaded scopeguard v1.2.0
Downloaded parking_lot v0.12.5
Downloaded once_cell v1.21.3
Downloaded console v0.16.1
Downloaded bitflags v2.10.0
Downloaded quote v1.0.42
Downloaded utf8parse v0.2.2
Downloaded clap_lex v0.7.6
Downloaded libc v0.2.178
Downloaded heck v0.5.0
Downloaded document-features v0.2.12
Downloaded lock_api v0.4.14
Downloaded errno v0.3.14
Downloaded cfg-if v1.0.4
Downloaded cfg_aliases v0.2.1
Downloaded itoa v1.0.15
Downloaded serde_repr v0.1.20
Downloaded syscalls v0.8.1
Downloaded log v0.4.29
Downloaded uzers v0.12.1
Downloaded linux-raw-sys v0.11.0
==> Starting build()...
Compiling proc-macro2 v1.0.103
Compiling libc v0.2.178
Compiling unicode-ident v1.0.22
Compiling quote v1.0.42
Compiling serde_core v1.0.228
Compiling cfg-if v1.0.4
Compiling parking_lot_core v0.9.12
Compiling memchr v2.7.6
Compiling scopeguard v1.2.0
Compiling bitflags v2.10.0
Compiling utf8parse v0.2.2
Compiling syn v2.0.111
Compiling smallvec v1.15.1
Compiling rustix v1.1.2
Compiling anstyle-parse v0.2.7
Compiling lock_api v0.4.14
Compiling is_terminal_polyfill v1.70.2
Compiling litrs v1.0.0
Compiling anstyle v1.0.13
Compiling linux-raw-sys v0.11.0
Compiling cfg_aliases v0.2.1
Compiling colorchoice v1.0.4
Compiling serde v1.0.228
Compiling anstyle-query v1.1.5
Compiling anstream v0.6.21
Compiling nix v0.30.1
Compiling parking_lot v0.12.5
Compiling document-features v0.2.12
Compiling aho-corasick v1.1.4
Compiling regex-syntax v0.8.8
Compiling strsim v0.11.1
Compiling clap_lex v0.7.6
Compiling serde_derive v1.0.228
Compiling serde_json v1.0.145
Compiling unicode-width v0.2.2
Compiling syscalls v0.8.1
Compiling anyhow v1.0.100
Compiling heck v0.5.0
Compiling clap_derive v4.5.49
Compiling regex-automata v0.4.13
Compiling clap_builder v4.5.53
Compiling serde_repr v0.1.20
Compiling crossterm v0.29.0
Compiling ryu v1.0.20
Compiling once_cell v1.21.3
Compiling log v0.4.29
Compiling unicode-segmentation v1.12.0
Compiling itoa v1.0.15
Compiling comfy-table v7.2.1
Compiling uzers v0.12.1
Compiling console v0.16.1
Compiling regex v1.12.2
Compiling clap v4.5.53
Compiling byteorder v1.5.0
Compiling lurk-cli v0.3.14 (/build/lurk/src/lurk-0.3.14)
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
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
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
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,
| ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^
error[E0425]: cannot find value `SYSCALLS` in this scope
--> src/arch/mod.rs:130:5
|
130 | SYSCALLS
| ^^^^^^^^ not found in this scope
error[E0425]: cannot find value `code` in this scope
--> src/lib.rs:474:23
|
474 | match code {
| ^^^^ not found in this scope
error[E0425]: cannot find value `code` in this scope
--> src/lib.rs:478:17
|
478 | code
| ^^^^ not found in this scope
error[E0425]: cannot find function `getregs` in module `ptrace`
--> src/lib.rs:578:17
|
578 | ptrace::getregs(pid).map_err(|_| anyhow!("Unable to get registers from tracee {}", pid))
| ^^^^^^^ not found in `ptrace`
error[E0425]: cannot find value `reg` in this scope
--> src/lib.rs:589:26
|
589 | Ok(u32::try_from(reg)
| ^^^ not found in this scope
error[E0425]: cannot find value `reg` in this scope
--> src/lib.rs:590:59
|
590 | .map_err(|_| anyhow!("Invalid syscall number {reg}"))?
| ^^^ not found in this scope
error[E0425]: cannot find value `reg` in this scope
--> src/lib.rs:610:13
|
610 | reg == Sysno::exit as u64 || reg == Sysno::exit_group as u64
| ^^^ not found in this scope
error[E0425]: cannot find value `reg` in this scope
--> src/lib.rs:610:42
|
610 | reg == Sysno::exit as u64 || reg == Sysno::exit_group as u64
| ^^^ not found in this scope
error[E0308]: mismatched types
--> src/arch/mod.rs:91:41
|
91 | 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`
|
91 | bytes.write_i64::<LittleEndian>(res.into()).unwrap_or_else(|err| {
| +++++++
error[E0282]: type annotations needed
--> src/arch/mod.rs:132:20
|
132 | .and_then(|option| option.as_ref())
| ^^^^^^ ------ type must be known at this point
|
help: consider giving this closure parameter an explicit type
|
132 | .and_then(|option: /* Type */| option.as_ref())
| ++++++++++++
error[E0282]: type annotations needed for `(_, _)`
--> src/arch/mod.rs:135:14
|
135 | |(_, args)| {
| ^^^^^^^^^
136 | SyscallArgs(
137 | args.iter()
| ---- type must be known at this point
|
help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified
|
135 | |(_, args): (_, _)| {
| ++++++++
error[E0425]: cannot find function `get_arg_value` in this scope
--> src/arch/mod.rs:148:17
|
148 | let value = get_arg_value(registers, idx);
| ^^^^^^^^^^^^^ not found in this scope
error[E0308]: mismatched types
--> src/arch/mod.rs:176:41
|
176 | bytes.write_i64::<LittleEndian>(res).ok();
| ------------------------- ^^^ 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`
|
176 | bytes.write_i64::<LittleEndian>(res.into()).ok();
| +++++++
error[E0308]: mismatched types
--> src/arch/mod.rs:209:41
|
209 | bytes.write_i64::<LittleEndian>(res).ok();
| ------------------------- ^^^ 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`
|
209 | bytes.write_i64::<LittleEndian>(res.into()).ok();
| +++++++
error[E0599]: no variant or associated item named `mmap` found for enum `syscalls::Sysno` in the current scope
--> src/syscall_info.rs:97:46
|
97 | } else if self.syscall == Sysno::mmap {
| ^^^^ variant or associated item not found in `syscalls::Sysno`
|
help: there is a variant with a similar name
|
97 | } else if self.syscall == Sysno::mmap2 {
| +
Some errors have detailed explanations: E0282, E0308, E0425, E0432, E0599.
For more information about an error, try `rustc --explain E0282`.
error: could not compile `lurk-cli` (lib) due to 19 previous errors
warning: build failed, waiting for other jobs to finish...
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /home/leming/armv7/leming/build
[?12l[?25h[?12l[?25h