+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rsftch-0.7.5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rsftch-0.7.5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for rsftch-0.7.5 Compiling proc-macro2 v1.0.86 Compiling unicode-ident v1.0.12 Compiling crossbeam-utils v0.8.20 Compiling quote v1.0.36 Compiling libc v0.2.156 Compiling memchr v2.7.4 Compiling crossbeam-epoch v0.9.18 Compiling syn v2.0.74 Compiling rayon-core v1.12.1 Compiling serde v1.0.208 Compiling serde_derive v1.0.208 Compiling crossbeam-deque v0.8.5 Compiling aho-corasick v1.1.3 Compiling regex-syntax v0.8.4 Compiling serde_json v1.0.125 Compiling option-ext v0.2.0 Compiling dirs-sys v0.4.1 Compiling regex-automata v0.4.7 Compiling lazy_static v1.5.0 Compiling ryu v1.0.18 Compiling either v1.13.0 Compiling itoa v1.0.11 Compiling rayon v1.10.0 Compiling colored v2.1.0 Compiling regex v1.10.6 Compiling dirs v5.0.1 Compiling once_cell v1.19.0 Compiling rsftch v0.7.5 (/home/pbulk/build/sysutils/rsftch/work/rsftch-0.7.5) error[E0308]: mismatched types --> src/info.rs:62:29 | 62 | pub(crate) fn cpu_temp() -> String { | -------- ^^^^^^ expected `String`, found `()` | | | implicitly returns `()` as its body has no tail or `return` expression error[E0308]: mismatched types --> src/info.rs:96:18 | 96 | fn gpu_temp() -> String { | -------- ^^^^^^ expected `String`, found `()` | | | implicitly returns `()` as its body has no tail or `return` expression error[E0308]: mismatched types --> src/info.rs:156:29 | 156 | pub(crate) fn gpu_info() -> Result<String, Error> { | -------- ^^^^^^^^^^^^^^^^^^^^^ expected `Result<String, Error>`, found `()` | | | implicitly returns `()` as its body has no tail or `return` expression | = note: expected enum `Result<std::string::String, std::io::Error>` found unit type `()` warning: unused variable: `kb_to_gb` --> src/info.rs:511:9 | 511 | let kb_to_gb = |kilobytes: u64| kilobytes as f64 / (1024.0 * 1024.0); | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kb_to_gb` | = note: `#[warn(unused_variables)]` on by default warning: unused variable: `reader` --> src/info.rs:514:13 | 514 | let reader = BufReader::new(file); | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` warning: unused variable: `mem_total` --> src/info.rs:515:17 | 515 | let mut mem_total: u64 = 0; | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mem_total` warning: variable does not need to be mutable --> src/info.rs:515:13 | 515 | let mut mem_total: u64 = 0; | ----^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default For more information about this error, try `rustc --explain E0308`. warning: `rsftch` (bin "rsftch") generated 4 warnings error: could not compile `rsftch` (bin "rsftch") due to 3 previous errors; 4 warnings emitted *** Error code 101 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/rsftch *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/rsftch