+ 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.3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/rsftch-0.7.3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for rsftch-0.7.3 Compiling proc-macro2 v1.0.86 Compiling crossbeam-utils v0.8.20 Compiling unicode-ident v1.0.12 Compiling quote v1.0.36 Compiling libc v0.2.156 Compiling memchr v2.7.4 Compiling syn v2.0.74 Compiling crossbeam-epoch v0.9.18 Compiling rayon-core v1.12.1 Compiling serde v1.0.208 Compiling crossbeam-deque v0.8.5 Compiling serde_derive v1.0.208 Compiling aho-corasick v1.1.3 Compiling option-ext v0.2.0 Compiling regex-syntax v0.8.4 Compiling serde_json v1.0.125 Compiling regex-automata v0.4.7 Compiling dirs-sys v0.4.1 Compiling either v1.13.0 Compiling lazy_static v1.5.0 Compiling itoa v1.0.11 Compiling ryu v1.0.18 Compiling colored v2.1.0 Compiling rayon v1.10.0 Compiling dirs v5.0.1 Compiling regex v1.10.6 Compiling rsftch v0.7.3 (/home/pbulk/build/sysutils/rsftch/work/rsftch-0.7.3) error[E0308]: mismatched types --> src/info.rs:61:29 | 61 | 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:92:18 | 92 | 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:152:29 | 152 | 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:714:9 | 714 | 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: `parse_meminfo_value` --> src/info.rs:716:9 | 716 | let parse_meminfo_value = |line: &str| { | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parse_meminfo_value` warning: unused variable: `reader` --> src/info.rs:725:13 | 725 | let reader = BufReader::new(file); | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` warning: unused variable: `mem_total` --> src/info.rs:726:17 | 726 | 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:726:13 | 726 | 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 5 warnings error: could not compile `rsftch` (bin "rsftch") due to 3 previous errors; 5 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