+ 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/t-rec-0.7.5nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/t-rec-0.7.5nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for t-rec-0.7.5nb3
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.134
   Compiling scopeguard v1.1.0
   Compiling crossbeam-utils v0.8.12
   Compiling proc-macro2 v1.0.46
   Compiling unicode-ident v1.0.4
   Compiling quote v1.0.21
   Compiling rayon-core v1.9.3
   Compiling syn v1.0.101
   Compiling adler v1.0.2
   Compiling crc32fast v1.3.2
   Compiling futures-core v0.3.24
   Compiling memchr v2.5.0
   Compiling either v1.8.0
   Compiling bitflags v1.3.2
   Compiling log v0.4.17
   Compiling weezl v0.1.7
   Compiling futures-sink v0.3.24
   Compiling half v1.8.2
   Compiling bit_field v0.10.1
   Compiling anyhow v1.0.65
   Compiling hashbrown v0.12.3
   Compiling smallvec v1.10.0
   Compiling lebe v0.5.2
   Compiling os_str_bytes v6.3.0
   Compiling regex-syntax v0.6.27
   Compiling termcolor v1.1.3
   Compiling color_quant v1.1.0
   Compiling humantime v2.1.0
   Compiling fastrand v1.8.0
   Compiling scoped_threadpool v0.1.9
   Compiling bytemuck v1.12.1
   Compiling textwrap v0.15.1
   Compiling strsim v0.10.0
   Compiling once_cell v1.15.0
   Compiling byteorder v1.4.3
   Compiling remove_dir_all v0.5.3
   Compiling lazy_static v1.4.0
   Compiling t-rec v0.7.5 (/home/pbulk/build/multimedia/t-rec/work/t-rec-rs-0.7.5)
   Compiling memoffset v0.6.5
   Compiling crossbeam-epoch v0.9.11
   Compiling lock_api v0.4.9
   Compiling rayon v1.5.3
   Compiling num-traits v0.2.15
   Compiling num-integer v0.1.45
   Compiling indexmap v1.9.1
   Compiling num-rational v0.4.1
   Compiling miniz_oxide v0.5.4
   Compiling clap_lex v0.2.4
   Compiling gif v0.11.4
   Compiling simplerand v1.3.0
   Compiling num_cpus v1.13.1
   Compiling getrandom v0.2.7
   Compiling atty v0.2.14
   Compiling tempfile v3.3.0
   Compiling crossbeam-channel v0.5.6
   Compiling flate2 v1.0.24
   Compiling aho-corasick v0.7.19
   Compiling spin v0.9.4
   Compiling threadpool v1.8.1
   Compiling nanorand v0.7.0
   Compiling clap v3.2.22
   Compiling png v0.17.6
   Compiling regex v1.6.0
   Compiling crossbeam-deque v0.8.2
   Compiling pin-project-internal v1.0.12
   Compiling env_logger v0.9.1
   Compiling pin-project v1.0.12
   Compiling flume v0.10.14
   Compiling jpeg-decoder v0.2.6
   Compiling exr v1.5.1
   Compiling tiff v0.7.3
   Compiling image v0.24.4
error[E0425]: cannot find value `DEFAULT_SHELL` in this scope
  --> src/main.rs:72:27
   |
72 |             let default = DEFAULT_SHELL.to_owned();
   |                           ^^^^^^^^^^^^^ help: a constant with a similar name exists: `DEFAULT_EXT`
   |
  ::: src/utils.rs:5:1
   |
5  | pub const DEFAULT_EXT: &str = "gif";
   | ------------------------------------ similarly named constant `DEFAULT_EXT` defined here

error[E0425]: cannot find function `setup` in this scope
  --> src/main.rs:77:19
   |
77 |     let mut api = setup()?;
   |                   ^^^^^ not found in this scope

error[E0425]: cannot find function `setup` in this scope
   --> src/main.rs:214:27
    |
214 |                 let api = setup()?;
    |                           ^^^^^ not found in this scope

error[E0425]: cannot find function `setup` in this scope
   --> src/main.rs:225:15
    |
225 |     let api = setup()?;
    |               ^^^^^ not found in this scope

error[E0425]: cannot find function `setup` in this scope
   --> src/main.rs:244:15
    |
244 |     let api = setup()?;
    |               ^^^^^ not found in this scope

For more information about this error, try `rustc --explain E0425`.
error: could not compile `t-rec` due to 5 previous errors
*** Error code 101

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/t-rec
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/multimedia/t-rec