===> Building for mpv-0.40.0nb1 ninja: Entering directory `output' [1/251] Generating ebml_defs.inc with a custom command [2/251] Generating ebml_types.h with a custom command [3/251] Generating common/version.h with a custom command (wrapped by meson because command contains newlines) [4/251] Generating etc/mpv-icon-8bit-16x16.png with a custom command [5/251] Generating etc/mpv-icon-8bit-32x32.png with a custom command [6/251] Generating etc/mpv-icon-8bit-64x64.png with a custom command [7/251] Generating etc/mpv-icon-8bit-128x128.png with a custom command [8/251] Generating etc/input.conf with a custom command [9/251] Generating etc/builtin.conf with a custom command [10/251] Generating player/javascript/defaults.js with a custom command [11/251] Generating player/lua/defaults.lua with a custom command [12/251] Generating player/lua/assdraw.lua with a custom command [13/251] Generating player/lua/options.lua with a custom command [14/251] Generating player/lua/osc.lua with a custom command [15/251] Generating player/lua/ytdl_hook.lua with a custom command [16/251] Generating player/lua/stats.lua with a custom command [17/251] Generating player/lua/console.lua with a custom command [18/251] Generating player/lua/auto_profiles.lua with a custom command [19/251] Generating player/lua/input.lua with a custom command [20/251] Generating player/lua/fzy.lua with a custom command [21/251] Generating player/lua/select.lua with a custom command [22/251] Generating player/lua/positioning.lua with a custom command [23/251] Generating player/lua/commands.lua with a custom command [24/251] Generating sub/osd_font.otf with a custom command [25/251] Generating TOOLS/osxbundle/osxbundle with a custom command [26/251] Generating osdep/mac/swift_targets with a custom command FAILED: osdep/mac/swift.swiftmodule osdep/mac/swift.h osdep/mac/swift.o /Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -c -emit-library -static -sdk /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk -emit-objc-header -parse-as-library -O -D HAVE_FFMPEG -D HAVE_GPL -D HAVE_LIBASS -D HAVE_LIBPLACEBO -D HAVE_DARWIN -D HAVE_POSIX -D HAVE_BUILD_DATE -D HAVE_LIBDL -D HAVE_CPLUGINS -D HAVE_COCOA -D HAVE_GLOB_POSIX -D HAVE_GLOB -D HAVE_MAC_THREAD_NAME -D HAVE_BSD_FSTATFS -D HAVE_VECTOR -D HAVE_DVDNAV -D HAVE_ICONV -D HAVE_JAVASCRIPT -D HAVE_LCMS2 -D HAVE_LIBARCHIVE -D HAVE_LIBAVDEVICE -D HAVE_LIBBLURAY -D HAVE_LUA -D HAVE_SDL2 -D HAVE_SDL2_GAMEPAD -D HAVE_ZLIB -D HAVE_AVFOUNDATION -D HAVE_COREAUDIO -D HAVE_JACK -D HAVE_SDL2_AUDIO -D HAVE_JPEG -D HAVE_SDL2_VIDEO -D HAVE_SIXEL -D HAVE_POSIX_SHM -D HAVE_GL -D HAVE_GL_COCOA -D HAVE_VIDEOTOOLBOX_GL -D HAVE_SWIFT -D HAVE_MACOS_10_15_4_FEATURES -D HAVE_MACOS_11_FEATURES -D HAVE_MACOS_11_3_FEATURES -D HAVE_MACOS_12_FEATURES -D HAVE_MACOS_COCOA_CB -D HAVE_MACOS_MEDIA_PLAYER -D HAVE_MACOS_TOUCHBAR -module-name swift -emit-module-path osdep/mac/swift.swiftmodule -import-objc-header /Users/pbulk/build/multimedia/mpv/work/mpv-0.40.0/osdep/mac/app_bridge_objc.h -emit-objc-header-path osdep/mac/swift.h -o osdep/mac/swift.o ../osdep/mac/application.swift ../osdep/mac/app_hub.swift ../osdep/mac/clipboard.swift ../osdep/mac/dialog.swift ../osdep/mac/event_helper.swift ../osdep/mac/input_helper.swift ../osdep/mac/log_helper.swift ../osdep/mac/menu_bar.swift ../osdep/mac/option_helper.swift ../osdep/mac/precise_timer.swift ../osdep/mac/presentation.swift ../osdep/mac/swift_compat.swift ../osdep/mac/swift_extensions.swift ../osdep/mac/type_helper.swift ../video/out/mac/common.swift ../video/out/mac/title_bar.swift ../video/out/mac/view.swift ../video/out/mac/window.swift ../osdep/mac/libmpv_helper.swift ../video/out/cocoa_cb_common.swift ../video/out/mac/gl_layer.swift ../osdep/mac/remote_command_center.swift ../osdep/mac/touch_bar.swift -I. -I/Users/pbulk/build/multimedia/mpv/work/mpv-0.40.0 -I/Users/pbulk/build/multimedia/mpv/work/mpv-0.40.0/include -I/opt/pkg/include -I/opt/pkg/include/ffmpeg7 ../osdep/mac/remote_command_center.swift:172:19: error: value of type 'NSLock' has no member 'withLock' coverLock.withLock { ~~~~~~~~~ ^~~~~~~~ ../osdep/mac/remote_command_center.swift:211:19: error: value of type 'NSLock' has no member 'withLock' coverLock.withLock { ~~~~~~~~~ ^~~~~~~~ ../osdep/mac/remote_command_center.swift:226:28: error: value of type 'NSLock' has no member 'withLock' self.coverLock.withLock { ~~~~~~~~~~~~~~ ^~~~~~~~ ninja: build stopped: subcommand failed. *** Error code 1 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mpv *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mpv