Build Information
Failed to build FFmpegKit, reference main (d70480
), with Swift 6.0 for Linux on 11 Feb 2025 16:55:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kingslay/FFmpegKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/kingslay/FFmpegKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d704803 update
Updating files: 8% (485/5625)
Updating files: 9% (507/5625)
Updating files: 10% (563/5625)
Updating files: 11% (619/5625)
Updating files: 12% (675/5625)
Updating files: 13% (732/5625)
Updating files: 14% (788/5625)
Updating files: 15% (844/5625)
Updating files: 16% (900/5625)
Updating files: 17% (957/5625)
Updating files: 18% (1013/5625)
Updating files: 19% (1069/5625)
Updating files: 20% (1125/5625)
Updating files: 21% (1182/5625)
Updating files: 22% (1238/5625)
Updating files: 23% (1294/5625)
Updating files: 24% (1350/5625)
Updating files: 25% (1407/5625)
Updating files: 26% (1463/5625)
Updating files: 27% (1519/5625)
Updating files: 28% (1575/5625)
Updating files: 29% (1632/5625)
Updating files: 30% (1688/5625)
Updating files: 31% (1744/5625)
Updating files: 32% (1800/5625)
Updating files: 33% (1857/5625)
Updating files: 34% (1913/5625)
Updating files: 35% (1969/5625)
Updating files: 36% (2025/5625)
Updating files: 37% (2082/5625)
Updating files: 38% (2138/5625)
Updating files: 39% (2194/5625)
Updating files: 40% (2250/5625)
Updating files: 41% (2307/5625)
Updating files: 41% (2319/5625)
Updating files: 42% (2363/5625)
Updating files: 43% (2419/5625)
Updating files: 44% (2475/5625)
Updating files: 45% (2532/5625)
Updating files: 46% (2588/5625)
Updating files: 47% (2644/5625)
Updating files: 48% (2700/5625)
Updating files: 49% (2757/5625)
Updating files: 50% (2813/5625)
Updating files: 51% (2869/5625)
Updating files: 52% (2925/5625)
Updating files: 53% (2982/5625)
Updating files: 54% (3038/5625)
Updating files: 55% (3094/5625)
Updating files: 56% (3150/5625)
Updating files: 57% (3207/5625)
Updating files: 58% (3263/5625)
Updating files: 59% (3319/5625)
Updating files: 60% (3375/5625)
Updating files: 61% (3432/5625)
Updating files: 62% (3488/5625)
Updating files: 63% (3544/5625)
Updating files: 64% (3600/5625)
Updating files: 65% (3657/5625)
Updating files: 66% (3713/5625)
Updating files: 67% (3769/5625)
Updating files: 68% (3825/5625)
Updating files: 69% (3882/5625)
Updating files: 70% (3938/5625)
Updating files: 71% (3994/5625)
Updating files: 72% (4050/5625)
Updating files: 72% (4099/5625)
Updating files: 73% (4107/5625)
Updating files: 74% (4163/5625)
Updating files: 75% (4219/5625)
Updating files: 76% (4275/5625)
Updating files: 77% (4332/5625)
Updating files: 78% (4388/5625)
Updating files: 79% (4444/5625)
Updating files: 80% (4500/5625)
Updating files: 80% (4517/5625)
Updating files: 81% (4557/5625)
Updating files: 82% (4613/5625)
Updating files: 83% (4669/5625)
Updating files: 84% (4725/5625)
Updating files: 84% (4766/5625)
Updating files: 85% (4782/5625)
Updating files: 86% (4838/5625)
Updating files: 87% (4894/5625)
Updating files: 88% (4950/5625)
Updating files: 89% (5007/5625)
Updating files: 90% (5063/5625)
Updating files: 91% (5119/5625)
Updating files: 92% (5175/5625)
Updating files: 93% (5232/5625)
Updating files: 94% (5288/5625)
Updating files: 95% (5344/5625)
Updating files: 96% (5400/5625)
Updating files: 97% (5457/5625)
Updating files: 98% (5513/5625)
Updating files: 99% (5569/5625)
Updating files: 100% (5625/5625)
Updating files: 100% (5625/5625), done.
Cloned https://github.com/kingslay/FFmpegKit.git
Revision (git rev-parse @):
d7048037a2eb94a3b08113fbf43aa92bdcb332d9
SUCCESS checkout https://github.com/kingslay/FFmpegKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/kingslay/FFmpegKit.git
https://github.com/kingslay/FFmpegKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "FFmpegKit",
"name" : "FFmpegKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "FFmpegKit",
"targets" : [
"FFmpegKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libavcodec",
"targets" : [
"Libavcodec"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libavfilter",
"targets" : [
"Libavfilter"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libavformat",
"targets" : [
"Libavformat"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libavutil",
"targets" : [
"Libavutil"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libswresample",
"targets" : [
"Libswresample"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Libswscale",
"targets" : [
"Libswscale"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "libass",
"targets" : [
"libfreetype",
"libfribidi",
"libharfbuzz",
"libass"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "libmpv",
"targets" : [
"FFmpegKit",
"libass",
"libmpv"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ffmpeg",
"targets" : [
"ffmpeg"
],
"type" : {
"executable" : null
}
},
{
"name" : "ffplay",
"targets" : [
"ffplay"
],
"type" : {
"executable" : null
}
},
{
"name" : "ffprobe",
"targets" : [
"ffprobe"
],
"type" : {
"executable" : null
}
},
{
"name" : "BuildFFmpeg",
"targets" : [
"BuildFFmpeg"
],
"type" : {
"plugin" : null
}
}
],
"targets" : [
{
"c99name" : "nettle",
"module_type" : "BinaryTarget",
"name" : "nettle",
"path" : "Sources/nettle.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libzvbi",
"module_type" : "BinaryTarget",
"name" : "libzvbi",
"path" : "Sources/libzvbi.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libsrt",
"module_type" : "BinaryTarget",
"name" : "libsrt",
"path" : "Sources/libsrt.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libsmbclient",
"module_type" : "BinaryTarget",
"name" : "libsmbclient",
"path" : "Sources/libsmbclient.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libshaderc_combined",
"module_type" : "BinaryTarget",
"name" : "libshaderc_combined",
"path" : "Sources/libshaderc_combined.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libplacebo",
"module_type" : "BinaryTarget",
"name" : "libplacebo",
"path" : "Sources/libplacebo.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libmpv",
"module_type" : "BinaryTarget",
"name" : "libmpv",
"path" : "Sources/libmpv.xcframework",
"product_memberships" : [
"libmpv"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libharfbuzz",
"module_type" : "BinaryTarget",
"name" : "libharfbuzz",
"path" : "Sources/libharfbuzz.xcframework",
"product_memberships" : [
"FFmpegKit",
"libass",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libfribidi",
"module_type" : "BinaryTarget",
"name" : "libfribidi",
"path" : "Sources/libfribidi.xcframework",
"product_memberships" : [
"FFmpegKit",
"libass",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libfreetype",
"module_type" : "BinaryTarget",
"name" : "libfreetype",
"path" : "Sources/libfreetype.xcframework",
"product_memberships" : [
"FFmpegKit",
"libass",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libfontconfig",
"module_type" : "BinaryTarget",
"name" : "libfontconfig",
"path" : "Sources/libfontconfig.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libdav1d",
"module_type" : "BinaryTarget",
"name" : "libdav1d",
"path" : "Sources/libdav1d.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libbluray",
"module_type" : "BinaryTarget",
"name" : "libbluray",
"path" : "Sources/libbluray.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "libass",
"module_type" : "BinaryTarget",
"name" : "libass",
"path" : "Sources/libass.xcframework",
"product_memberships" : [
"FFmpegKit",
"libass",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "lcms2",
"module_type" : "BinaryTarget",
"name" : "lcms2",
"path" : "Sources/lcms2.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "hogweed",
"module_type" : "BinaryTarget",
"name" : "hogweed",
"path" : "Sources/hogweed.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "gnutls",
"module_type" : "BinaryTarget",
"name" : "gnutls",
"path" : "Sources/gnutls.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "gmp",
"module_type" : "BinaryTarget",
"name" : "gmp",
"path" : "Sources/gmp.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "fftools",
"module_type" : "ClangTarget",
"name" : "fftools",
"path" : "Sources/fftools",
"product_memberships" : [
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
"cmdutils.c",
"objpool.c",
"opt_common.c",
"sync_queue.c",
"thread_queue.c"
],
"target_dependencies" : [
"FFmpegKit"
],
"type" : "library"
},
{
"c99name" : "ffprobe",
"module_type" : "ClangTarget",
"name" : "ffprobe",
"path" : "Sources/ffprobe",
"product_memberships" : [
"ffprobe"
],
"sources" : [
"ffprobe.c"
],
"target_dependencies" : [
"fftools"
],
"type" : "executable"
},
{
"c99name" : "ffplay",
"module_type" : "ClangTarget",
"name" : "ffplay",
"path" : "Sources/ffplay",
"product_memberships" : [
"ffplay"
],
"sources" : [
"ffplay.c"
],
"target_dependencies" : [
"fftools",
"SDL2"
],
"type" : "executable"
},
{
"c99name" : "ffmpeg",
"module_type" : "ClangTarget",
"name" : "ffmpeg",
"path" : "Sources/ffmpeg",
"product_memberships" : [
"ffmpeg"
],
"sources" : [
"ffmpeg.c",
"ffmpeg_dec.c",
"ffmpeg_demux.c",
"ffmpeg_enc.c",
"ffmpeg_filter.c",
"ffmpeg_hw.c",
"ffmpeg_mux.c",
"ffmpeg_mux_init.c",
"ffmpeg_opt.c"
],
"target_dependencies" : [
"fftools"
],
"type" : "executable"
},
{
"c99name" : "SDL2",
"module_type" : "SystemLibraryTarget",
"name" : "SDL2",
"path" : "Sources/SDL2",
"product_memberships" : [
"ffplay"
],
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "MoltenVK",
"module_type" : "BinaryTarget",
"name" : "MoltenVK",
"path" : "Sources/MoltenVK.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libswscale",
"module_type" : "BinaryTarget",
"name" : "Libswscale",
"path" : "Sources/Libswscale.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libswscale",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libswresample",
"module_type" : "BinaryTarget",
"name" : "Libswresample",
"path" : "Sources/Libswresample.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libswresample",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libavutil",
"module_type" : "BinaryTarget",
"name" : "Libavutil",
"path" : "Sources/Libavutil.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libavutil",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libavformat",
"module_type" : "BinaryTarget",
"name" : "Libavformat",
"path" : "Sources/Libavformat.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libavformat",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libavfilter",
"module_type" : "BinaryTarget",
"name" : "Libavfilter",
"path" : "Sources/Libavfilter.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libavfilter",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libavdevice",
"module_type" : "BinaryTarget",
"name" : "Libavdevice",
"path" : "Sources/Libavdevice.xcframework",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "Libavcodec",
"module_type" : "BinaryTarget",
"name" : "Libavcodec",
"path" : "Sources/Libavcodec.xcframework",
"product_memberships" : [
"FFmpegKit",
"Libavcodec",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "FFmpegKit",
"module_type" : "ClangTarget",
"name" : "FFmpegKit",
"path" : "Sources/FFmpegKit",
"product_memberships" : [
"FFmpegKit",
"libmpv",
"ffmpeg",
"ffplay",
"ffprobe"
],
"sources" : [
"FFmpegKit.c"
],
"target_dependencies" : [
"MoltenVK",
"libshaderc_combined",
"lcms2",
"libdav1d",
"libplacebo",
"libzvbi",
"libsrt",
"libfreetype",
"libfribidi",
"libharfbuzz",
"libass",
"libfontconfig",
"libbluray",
"gmp",
"nettle",
"hogweed",
"gnutls",
"libsmbclient",
"Libavcodec",
"Libavdevice",
"Libavfilter",
"Libavformat",
"Libavutil",
"Libswresample",
"Libswscale"
],
"type" : "library"
},
{
"c99name" : "BuildFFmpeg",
"module_type" : "PluginTarget",
"name" : "BuildFFmpeg",
"path" : "Plugins/BuildFFmpeg",
"plugin_capability" : {
"intent" : {
"description" : "You can customize FFmpeg and then compile FFmpeg",
"type" : "custom",
"verb" : "BuildFFmpeg"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"BuildFFmpeg"
],
"sources" : [
"BuildASS.swift",
"BuildFFMPEG.swift",
"BuildMPV.swift",
"BuildPlacebo.swift",
"BuildSmbclient.swift",
"SSL.swift",
"main.swift"
],
"type" : "plugin"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: couldn't find pc file for sdl2
/host/spi-builder-workspace/Plugins/BuildFFmpeg/BuildFFMPEG.swift:21:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
19 | let lldbFile = URL.currentDirectory + "LLDBInitFile"
20 | try? FileManager.default.removeItem(at: lldbFile)
21 | FileManager.default.createFile(atPath: lldbFile.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
22 | let path = directoryURL + "libavcodec/videotoolbox.c"
23 | if let data = FileManager.default.contents(atPath: path.path), var str = String(data: data, encoding: .utf8) {
/host/spi-builder-workspace/Plugins/BuildFFmpeg/BuildPlacebo.swift:80:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
78 | Cflags: -I${includedir}
79 | """
80 | FileManager.default.createFile(atPath: vulkanPC.path, contents: content.data(using: .utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
81 | }
82 | }
/host/spi-builder-workspace/Plugins/BuildFFmpeg/main.swift:54:29: warning: result of call to 'changeCurrentDirectoryPath' is unused
52 | try FileManager.default.createDirectory(at: path, withIntermediateDirectories: true)
53 | }
54 | FileManager.default.changeCurrentDirectoryPath(path.path)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
55 | var librarys = [Library]()
56 | var isFFmpegDebug = false
/host/spi-builder-workspace/Plugins/BuildFFmpeg/main.swift:631:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
629 | }
630 | """
631 | FileManager.default.createFile(atPath: frameworkDir.path + "/Modules/module.modulemap", contents: modulemap.data(using: .utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
632 | createPlist(path: frameworkDir.path + "/Info.plist", name: framework, minVersion: platform.minVersion, platform: platform.sdk)
633 | return frameworkDir.path
/host/spi-builder-workspace/Plugins/BuildFFmpeg/main.swift:692:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
690 | </plist>
691 | """
692 | FileManager.default.createFile(atPath: path, contents: content.data(using: .utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
693 | }
694 |
/host/spi-builder-workspace/Plugins/BuildFFmpeg/main.swift:740:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
738 | objcpp_link_args = [\(ldFlags)]
739 | """
740 | FileManager.default.createFile(atPath: crossFile.path, contents: content.data(using: .utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
741 | return crossFile
742 | }
/host/spi-builder-workspace/Plugins/BuildFFmpeg/main.swift:1013:35: error: cannot find 'NSBundleExecutableArchitectureX86_64' in scope
1011 | if architecture == 0x0100_000C, self == .arm64 || self == .arm64e {
1012 | return true
1013 | } else if architecture == NSBundleExecutableArchitectureX86_64, self == .x86_64 {
| `- error: cannot find 'NSBundleExecutableArchitectureX86_64' in scope
1014 | return true
1015 | }
[1/1] Compiling plugin BuildFFmpeg
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: couldn't find pc file for sdl2
[0/1] Planning build
/host/spi-builder-workspace/Plugins/BuildFFmpeg/BuildFFMPEG.swift:21:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
19 | let lldbFile = URL.currentDirectory + "LLDBInitFile"
20 | try? FileManager.default.removeItem(at: lldbFile)
21 | FileManager.default.createFile(atPath: lldbFile.path, contents: nil, attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
22 | let path = directoryURL + "libavcodec/videotoolbox.c"
23 | if let data = FileManager.default.contents(atPath: path.path), var str = String(data: data, encoding: .utf8) {
/host/spi-builder-workspace/Plugins/BuildFFmpeg/BuildPlacebo.swift:80:37: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
78 | Cflags: -I${includedir}
79 | """
80 | FileManager.default.createFile(atPath: vulkanPC.path, contents: content.data(using: .utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
81 | }
82 | }
/host/spi-builder-workspace/Plugins/BuildFFmpeg/main.swift:54:29: warning: result of call to 'changeCurrentDirectoryPath' is unused
52 | try FileManager.default.createDirectory(at: path, withIntermediateDirectories: true)
53 | }
54 | FileManager.default.changeCurrentDirectoryPath(path.path)
| `- warning: result of call to 'changeCurrentDirectoryPath' is unused
55 | var librarys = [Library]()
56 | var isFFmpegDebug = false
/host/spi-builder-workspace/Plugins/BuildFFmpeg/main.swift:631:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
629 | }
630 | """
631 | FileManager.default.createFile(atPath: frameworkDir.path + "/Modules/module.modulemap", contents: modulemap.data(using: .utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
632 | createPlist(path: frameworkDir.path + "/Info.plist", name: framework, minVersion: platform.minVersion, platform: platform.sdk)
633 | return frameworkDir.path
/host/spi-builder-workspace/Plugins/BuildFFmpeg/main.swift:692:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
690 | </plist>
691 | """
692 | FileManager.default.createFile(atPath: path, contents: content.data(using: .utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
693 | }
694 |
/host/spi-builder-workspace/Plugins/BuildFFmpeg/main.swift:740:29: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
738 | objcpp_link_args = [\(ldFlags)]
739 | """
740 | FileManager.default.createFile(atPath: crossFile.path, contents: content.data(using: .utf8), attributes: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
741 | return crossFile
742 | }
/host/spi-builder-workspace/Plugins/BuildFFmpeg/main.swift:1013:35: error: cannot find 'NSBundleExecutableArchitectureX86_64' in scope
1011 | if architecture == 0x0100_000C, self == .arm64 || self == .arm64e {
1012 | return true
1013 | } else if architecture == NSBundleExecutableArchitectureX86_64, self == .x86_64 {
| `- error: cannot find 'NSBundleExecutableArchitectureX86_64' in scope
1014 | return true
1015 | }
[1/1] Compiling plugin BuildFFmpeg
BUILD FAILURE 6.0 linux