+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/ncspot-1.0.0nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/ncspot-1.0.0nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ncspot-1.0.0nb1
warning: Both `/home/pbulk/build/audio/ncspot/work/ncspot-1.0.0/.cargo/config` and `/home/pbulk/build/audio/ncspot/work/ncspot-1.0.0/.cargo/config.toml` exist. Using `/home/pbulk/build/audio/ncspot/work/ncspot-1.0.0/.cargo/config`
   Compiling autocfg v1.1.0
   Compiling proc-macro2 v1.0.70
   Compiling unicode-ident v1.0.12
   Compiling libc v0.2.151
   Compiling quote v1.0.33
   Compiling syn v2.0.41
   Compiling cfg-if v1.0.0
   Compiling version_check v0.9.4
   Compiling cc v1.0.83
   Compiling typenum v1.17.0
   Compiling generic-array v0.14.7
   Compiling itoa v1.0.10
   Compiling libm v0.2.8
   Compiling num-traits v0.2.17
   Compiling memchr v2.6.4
   Compiling once_cell v1.19.0
   Compiling getrandom v0.2.11
   Compiling serde v1.0.193
   Compiling serde_derive v1.0.193
   Compiling hashbrown v0.14.3
   Compiling equivalent v1.0.1
   Compiling indexmap v2.1.0
   Compiling pin-project-lite v0.2.13
   Compiling backtrace v0.3.69
   Compiling num-integer v0.1.45
   Compiling adler v1.0.2
   Compiling log v0.4.20
   Compiling futures-core v0.3.29
   Compiling gimli v0.28.1
   Compiling bytes v1.5.0
   Compiling addr2line v0.21.0
   Compiling miniz_oxide v0.7.1
   Compiling object v0.32.1
   Compiling lock_api v0.4.11
   Compiling fixedbitset v0.4.2
   Compiling smallvec v1.11.2
   Compiling parking_lot_core v0.9.9
   Compiling rustc-demangle v0.1.23
   Compiling petgraph v0.6.4
   Compiling thread-id v4.2.1
   Compiling pkg-config v0.3.27
   Compiling futures-sink v0.3.29
   Compiling tinyvec_macros v0.1.1
   Compiling scopeguard v1.2.0
   Compiling tinyvec v1.6.0
   Compiling slab v0.4.9
   Compiling futures-task v0.3.29
   Compiling futures-channel v0.3.29
   Compiling parking_lot v0.12.1
   Compiling tokio-macros v2.2.0
   Compiling mio v0.8.10
   Compiling num_cpus v1.16.0
   Compiling socket2 v0.5.5
   Compiling percent-encoding v2.3.1
   Compiling protobuf v2.28.0
   Compiling fnv v1.0.7
   Compiling futures-util v0.3.29
   Compiling http v0.2.11
   Compiling tokio v1.35.0
   Compiling unicode-normalization v0.1.22
   Compiling tracing-core v0.1.32
   Compiling futures-macro v0.3.29
   Compiling ryu v1.0.16
   Compiling unicode-bidi v0.3.14
   Compiling pin-utils v0.1.0
   Compiling serde_json v1.0.108
   Compiling futures-io v0.3.29
   Compiling tracing v0.1.40
   Compiling form_urlencoded v1.2.1
   Compiling indexmap v1.9.3
   Compiling tokio-util v0.7.10
   Compiling idna v0.5.0
   Compiling crypto-common v0.1.6
   Compiling block-buffer v0.10.4
   Compiling cpufeatures v0.2.11
   Compiling powerfmt v0.2.0
   Compiling httparse v1.8.0
   Compiling semver v1.0.20
   Compiling vcpkg v0.2.15
   Compiling iana-time-zone v0.1.58
   Compiling time-core v0.1.2
   Compiling hashbrown v0.12.3
   Compiling base64 v0.21.5
   Compiling time-macros v0.2.15
   Compiling chrono v0.4.31
   Compiling openssl-sys v0.9.97
   Compiling deranged v0.3.10
   Compiling digest v0.10.7
   Compiling url v2.5.0
   Compiling ring v0.17.7
   Compiling bitflags v2.4.1
   Compiling httpdate v1.0.3
   Compiling try-lock v0.2.5
   Compiling thiserror v1.0.51
   Compiling num_threads v0.1.6
   Compiling time v0.3.30
   Compiling want v0.3.1
   Compiling protobuf-codegen v2.28.0
   Compiling vergen v3.2.0
   Compiling rand_core v0.6.4
   Compiling h2 v0.3.22
   Compiling http-body v0.4.6
   Compiling cipher v0.2.5
   Compiling thiserror-impl v1.0.51
   Compiling socket2 v0.4.10
   Compiling num-iter v0.1.43
   Compiling byteorder v1.5.0
   Compiling ppv-lite86 v0.2.17
   Compiling ident_case v1.0.1
   Compiling opaque-debug v0.3.0
   Compiling tower-service v0.3.2
   Compiling hyper v0.14.27
   Compiling rand_chacha v0.3.1
   Compiling darling_core v0.20.3
   Compiling rustc_version v0.4.0
   Compiling protobuf-codegen-pure v2.28.0
   Compiling digest v0.9.0
   Compiling glob v0.3.1
   Compiling bitflags v1.3.2
   Compiling subtle v2.4.1
   Compiling untrusted v0.9.0
   Compiling spin v0.9.8
   Compiling mime v0.3.17
   Compiling crypto-mac v0.11.1
   Compiling librespot-protocol v0.4.2
   Compiling rand v0.8.5
   Compiling darling_macro v0.20.3
   Compiling aes-soft v0.6.4
   Compiling sha1 v0.10.6
   Compiling futures-executor v0.3.29
   Compiling headers-core v0.2.0
   Compiling cookie v0.17.0
   Compiling num-bigint v0.4.4
   Compiling priority-queue v1.3.2
   Compiling num-rational v0.4.1
   Compiling rustversion v1.0.14
   Compiling openssl v0.10.61
   Compiling foreign-types-shared v0.1.1
   Compiling crossbeam-utils v0.8.17
   Compiling foreign-types v0.3.2
   Compiling headers v0.3.9
   Compiling futures v0.3.29
   Compiling librespot-core v0.4.2
   Compiling darling v0.20.3
   Compiling hmac v0.11.0
   Compiling block-buffer v0.9.0
   Compiling ahash v0.8.6
   Compiling openssl-macros v0.1.1
   Compiling num-bigint v0.2.6
   Compiling rustix v0.38.28
   Compiling syn v1.0.109
   Compiling rustls v0.21.10
   Compiling native-tls v0.2.11
   Compiling sha-1 v0.9.8
   Compiling pbkdf2 v0.8.0
   Compiling enumset_derive v0.8.1
   Compiling hyper-proxy v0.9.1
   Compiling aes v0.6.0
   Compiling sct v0.7.1
   Compiling rustls-webpki v0.101.7
   Compiling shannon v0.2.0
   Compiling tokio-stream v0.1.14
   Compiling idna v0.3.0
   Compiling portaudio-sys v0.1.1
   Compiling uuid v1.6.1
   Compiling num-complex v0.4.4
   Compiling enum-map-derive v0.17.0
   Compiling errno v0.3.8
   Compiling num-rational v0.2.4
   Compiling num-complex v0.2.4
   Compiling openssl-probe v0.1.5
   Compiling utf8parse v0.2.1
   Compiling stable_deref_trait v1.2.0
   Compiling lazy_static v1.4.0
   Compiling zerocopy v0.7.31
   Compiling heck v0.4.1
   Compiling base64 v0.13.1
   Compiling async-trait v0.1.74
   Compiling strum_macros v0.25.3
   Compiling owning_ref v0.4.1
   Compiling anstyle-parse v0.2.3
   Compiling enum-map v2.7.3
   Compiling num v0.4.1
   Compiling cookie_store v0.20.0
   Compiling crossbeam-channel v0.5.9
   Compiling enumset v1.1.3
   Compiling ctr v0.6.0
   Compiling aho-corasick v1.1.2
   Compiling anstyle v1.0.4
   Compiling anstyle-query v1.0.2
   Compiling signal-hook v0.3.17
   Compiling xi-unicode v0.3.0
   Compiling unicode-segmentation v1.10.1
   Compiling fastrand v2.0.1
   Compiling regex-syntax v0.8.2
   Compiling webpki-roots v0.25.3
   Compiling colorchoice v1.0.0
   Compiling unicode-width v0.1.11
   Compiling cursive_core v0.3.7
   Compiling anstream v0.6.5
   Compiling ureq v2.9.1
   Compiling enum_dispatch v0.3.12
   Compiling regex-automata v0.4.3
   Compiling tempfile v3.8.1
   Compiling aes-ctr v0.6.0
   Compiling maybe-async v0.2.7
   Compiling tokio-native-tls v0.3.1
   Compiling strum v0.25.0
   Compiling ogg v0.8.0
   Compiling serde_spanned v0.6.4
   Compiling toml_datetime v0.6.5
   Compiling zerocopy-derive v0.6.6
   Compiling dirs-sys-next v0.1.2
   Compiling signal-hook-registry v1.4.1
   Compiling clap_lex v0.6.0
   Compiling winnow v0.5.28
   Compiling numtoa v0.1.0
   Compiling strsim v0.10.0
   Compiling clap_builder v4.4.11
   Compiling termion v1.5.6
   Compiling portaudio-rs v0.3.2
   Compiling toml_edit v0.21.0
   Compiling dirs-next v1.0.2
   Compiling zerocopy v0.6.6
   Compiling lewton v0.10.2
   Compiling librespot-metadata v0.4.2
   Compiling rspotify-model v0.12.0
   Compiling hyper-tls v0.5.0
   Compiling num v0.2.1
   Compiling rspotify-http v0.12.0
   Compiling librespot-audio v0.4.2
   Compiling regex v1.10.2
   Compiling rand_distr v0.4.3
   Compiling sha2 v0.10.8
   Compiling serde_urlencoded v0.7.1
   Compiling encoding_rs v0.8.33
   Compiling shell-words v1.1.0
   Compiling ncspot v1.0.0 (/home/pbulk/build/audio/ncspot/work/ncspot-1.0.0)
   Compiling rspotify-macros v0.12.0
   Compiling ipnet v2.9.0
   Compiling half v1.8.2
   Compiling serde_cbor v0.11.2
   Compiling reqwest v0.11.22
   Compiling rspotify v0.12.0
   Compiling librespot-playback v0.4.2
   Compiling parse_duration v2.1.1
   Compiling platform-dirs v0.3.0
   Compiling cursive v0.20.0
   Compiling toml v0.8.8
   Compiling clap v4.4.11
   Compiling cursive_buffered_backend v0.6.1
   Compiling fern v0.6.2
warning: field `library` is never read
  --> src/queue.rs:48:5
   |
39 | pub struct Queue {
   |            ----- field in this struct
...
48 |     library: Arc<Library>,
   |     ^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

error: linking with `gcc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/opt/pkg/lib/rustlib/x86_64-unknown-illumos/bin:/home/pbulk/build/audio/ncspot/work/.cwrapper/bin:/home/pbulk/build/audio/ncspot/work/.buildlink/bin:/home/pbulk/build/audio/ncspot/work/.gcc/bin:/home/pbulk/build/audio/ncspot/work/.tools/bin:/opt/pkg/bin:/sbin:/usr/sbin:/usr/bin:/opt/tools/bin:/opt/pkg/bin:/opt/pkg/bin" VSLANG="1033" "gcc" "-m64" "-std=c99" "/tmp/rustcBmp3XG/symbols.o" "/home/pbulk/build/audio/ncspot/work/ncspot-1.0.0/target/release/deps/ncspot-7585386100d8f6cd.ncspot.3d9d4a029c94fd4a-cgu.0.rcgu.o" "-Wl,-z,ignore" "-L" "/home/pbulk/build/audio/ncspot/work/ncspot-1.0.0/target/release/deps" "-L" "/opt/pkg/lib/portaudio2" "-L" "/opt/pkg/lib" "-L" "/home/pbulk/build/audio/ncspot/work/ncspot-1.0.0/target/release/build/ring-2254cdb38a678ce8/out" "-L" "/opt/pkg/lib/rustlib/x86_64-unknown-illumos/lib" "-Wl,-Bstatic" "/tmp/rustcBmp3XG/libring-2a2007a668539da0.rlib" "/opt/pkg/lib/rustlib/x86_64-unknown-illumos/lib/libcompiler_builtins-955c3719e98a5bb6.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lportaudio" "-lm" "-lpthread" "-lrt" "-lsendfile" "-llgrp" "-lsocket" "-lposix4" "-lpthread" "-lresolv" "-lnsl" "-lumem" "-lgcc_s" "-lm" "-lrt" "-lpthread" "-lsendfile" "-llgrp" "-lc" "-lssp" "-L" "/opt/pkg/lib/rustlib/x86_64-unknown-illumos/lib" "-o" "/home/pbulk/build/audio/ncspot/work/ncspot-1.0.0/target/release/deps/ncspot-7585386100d8f6cd" "-nodefaultlibs" "-Wl,-R/opt/pkg/lib" "-Wl,-R/opt/pkg/lib/portaudio2"
  = note: Undefined            first referenced
           symbol                  in file
          cfmakeraw                           /home/pbulk/build/audio/ncspot/work/ncspot-1.0.0/target/release/deps/ncspot-7585386100d8f6cd.ncspot.3d9d4a029c94fd4a-cgu.0.rcgu.o
          ld: fatal: symbol referencing errors. No output written to /home/pbulk/build/audio/ncspot/work/ncspot-1.0.0/target/release/deps/ncspot-7585386100d8f6cd
          collect2: error: ld returned 1 exit status
          

warning: `ncspot` (bin "ncspot") generated 1 warning
error: could not compile `ncspot` (bin "ncspot") due to previous error; 1 warning emitted
*** Error code 101

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/audio/ncspot