The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build FFmpegKit, reference 6.1.3 (85b77c), with Swift 6.1 for Wasm on 29 May 2025 07:20:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kingslay/FFmpegKit.git
Reference: 6.1.3
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
 * tag               6.1.3      -> FETCH_HEAD
HEAD is now at 85b77c5 update
Updating files:   8% (459/5626)
Updating files:   9% (507/5626)
Updating files:  10% (563/5626)
Updating files:  11% (619/5626)
Updating files:  12% (676/5626)
Updating files:  13% (732/5626)
Updating files:  14% (788/5626)
Updating files:  15% (844/5626)
Updating files:  16% (901/5626)
Updating files:  17% (957/5626)
Updating files:  18% (1013/5626)
Updating files:  19% (1069/5626)
Updating files:  20% (1126/5626)
Updating files:  21% (1182/5626)
Updating files:  22% (1238/5626)
Updating files:  23% (1294/5626)
Updating files:  24% (1351/5626)
Updating files:  25% (1407/5626)
Updating files:  26% (1463/5626)
Updating files:  27% (1520/5626)
Updating files:  28% (1576/5626)
Updating files:  29% (1632/5626)
Updating files:  30% (1688/5626)
Updating files:  31% (1745/5626)
Updating files:  32% (1801/5626)
Updating files:  33% (1857/5626)
Updating files:  33% (1879/5626)
Updating files:  34% (1913/5626)
Updating files:  35% (1970/5626)
Updating files:  36% (2026/5626)
Updating files:  37% (2082/5626)
Updating files:  38% (2138/5626)
Updating files:  39% (2195/5626)
Updating files:  40% (2251/5626)
Updating files:  41% (2307/5626)
Updating files:  42% (2363/5626)
Updating files:  43% (2420/5626)
Updating files:  44% (2476/5626)
Updating files:  45% (2532/5626)
Updating files:  46% (2588/5626)
Updating files:  47% (2645/5626)
Updating files:  48% (2701/5626)
Updating files:  49% (2757/5626)
Updating files:  50% (2813/5626)
Updating files:  51% (2870/5626)
Updating files:  52% (2926/5626)
Updating files:  53% (2982/5626)
Updating files:  54% (3039/5626)
Updating files:  55% (3095/5626)
Updating files:  56% (3151/5626)
Updating files:  57% (3207/5626)
Updating files:  58% (3264/5626)
Updating files:  59% (3320/5626)
Updating files:  60% (3376/5626)
Updating files:  61% (3432/5626)
Updating files:  62% (3489/5626)
Updating files:  63% (3545/5626)
Updating files:  64% (3601/5626)
Updating files:  65% (3657/5626)
Updating files:  66% (3714/5626)
Updating files:  67% (3770/5626)
Updating files:  68% (3826/5626)
Updating files:  68% (3868/5626)
Updating files:  69% (3882/5626)
Updating files:  70% (3939/5626)
Updating files:  71% (3995/5626)
Updating files:  72% (4051/5626)
Updating files:  73% (4107/5626)
Updating files:  74% (4164/5626)
Updating files:  75% (4220/5626)
Updating files:  76% (4276/5626)
Updating files:  77% (4333/5626)
Updating files:  78% (4389/5626)
Updating files:  78% (4437/5626)
Updating files:  79% (4445/5626)
Updating files:  80% (4501/5626)
Updating files:  81% (4558/5626)
Updating files:  81% (4599/5626)
Updating files:  82% (4614/5626)
Updating files:  83% (4670/5626)
Updating files:  84% (4726/5626)
Updating files:  85% (4783/5626)
Updating files:  86% (4839/5626)
Updating files:  87% (4895/5626)
Updating files:  88% (4951/5626)
Updating files:  88% (4996/5626)
Updating files:  89% (5008/5626)
Updating files:  90% (5064/5626)
Updating files:  91% (5120/5626)
Updating files:  92% (5176/5626)
Updating files:  93% (5233/5626)
Updating files:  94% (5289/5626)
Updating files:  95% (5345/5626)
Updating files:  96% (5401/5626)
Updating files:  97% (5458/5626)
Updating files:  98% (5514/5626)
Updating files:  99% (5570/5626)
Updating files: 100% (5626/5626)
Updating files: 100% (5626/5626), done.
Cloned https://github.com/kingslay/FFmpegKit.git
Revision (git rev-parse @):
85b77c589de0360c111de16752db86b60496d70b
SUCCESS checkout https://github.com/kingslay/FFmpegKit.git at 6.1.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: couldn't find pc file for sdl2
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-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: couldn't find pc file for sdl2
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.1 wasm