The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Nuke-AVIF-Plugin, reference main (e6e978), with Swift 6.1 for Android on 28 May 2025 06:31:32 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/delneg/Nuke-AVIF-Plugin.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/delneg/Nuke-AVIF-Plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e6e9786 Update Package.swift to support Nuke version 11 ..< 13 (#3)
Cloned https://github.com/delneg/Nuke-AVIF-Plugin.git
Revision (git rev-parse @):
e6e9786f453159b30e0550bfce518a4f4e01fe87
SUCCESS checkout https://github.com/delneg/Nuke-AVIF-Plugin.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/delneg/Nuke-AVIF-Plugin.git
https://github.com/delneg/Nuke-AVIF-Plugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "nuke",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "11.0.0",
            "upper_bound" : "13.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kean/Nuke.git"
    },
    {
      "identity" : "libavif-xcode",
      "requirement" : {
        "exact" : [
          "0.10.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/libavif-Xcode.git"
    }
  ],
  "manifest_display_name" : "Nuke-AVIF-Plugin",
  "name" : "Nuke-AVIF-Plugin",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "NukeAVIFPlugin",
      "targets" : [
        "NukeAVIFPlugin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Nuke_AVIF_PluginTests",
      "module_type" : "SwiftTarget",
      "name" : "Nuke_AVIF_PluginTests",
      "path" : "Nuke_AVIF_PluginTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Nuke_AVIF_PluginTests/Resource/sample.avif",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Nuke_AVIF_PluginTests/Resource/sample.gif",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Nuke_AVIF_PluginTests/Resource/sample.webp",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AVIFDecodeTests.swift",
        "AVIFDecodeTests_MacOS.swift",
        "AVIFImageDecoderTests.swift",
        "BundleToken.swift",
        "DataExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "NukeAVIFPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NukeAVIFPluginC",
      "module_type" : "ClangTarget",
      "name" : "NukeAVIFPluginC",
      "path" : "Source",
      "product_memberships" : [
        "NukeAVIFPlugin"
      ],
      "sources" : [
        "AVIF/AVIFDataDecoder.m",
        "AVIF/SDSources/ColorSpace.m",
        "AVIF/SDSources/Conversion.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NukeAVIFPlugin",
      "module_type" : "SwiftTarget",
      "name" : "NukeAVIFPlugin",
      "path" : "Source",
      "product_dependencies" : [
        "Nuke",
        "libavif"
      ],
      "product_memberships" : [
        "NukeAVIFPlugin"
      ],
      "sources" : [
        "AVIFImage.swift",
        "Extensions/Data+AVIFFormat.swift"
      ],
      "target_dependencies" : [
        "NukeAVIFPluginC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/kean/Nuke.git
Fetching https://github.com/SDWebImage/libavif-Xcode.git
[1/507] Fetching libavif-xcode
Fetched https://github.com/SDWebImage/libavif-Xcode.git from cache (0.28s)
[1/26075] Fetching nuke
Fetched https://github.com/kean/Nuke.git from cache (1.27s)
Computing version for https://github.com/SDWebImage/libavif-Xcode.git
Computed https://github.com/SDWebImage/libavif-Xcode.git at 0.10.1 (4.58s)
Fetching https://github.com/SDWebImage/libaom-Xcode.git
[1/250] Fetching libaom-xcode
Fetched https://github.com/SDWebImage/libaom-Xcode.git from cache (0.97s)
Computing version for https://github.com/SDWebImage/libaom-Xcode.git
Computed https://github.com/SDWebImage/libaom-Xcode.git at 2.0.2 (1.49s)
Fetching https://github.com/SDWebImage/libvmaf-Xcode.git
[1/98] Fetching libvmaf-xcode
Fetched https://github.com/SDWebImage/libvmaf-Xcode.git from cache (0.26s)
Computing version for https://github.com/SDWebImage/libvmaf-Xcode.git
Computed https://github.com/SDWebImage/libvmaf-Xcode.git at 2.3.1 (0.80s)
Computing version for https://github.com/kean/Nuke.git
Computed https://github.com/kean/Nuke.git at 12.8.0 (0.47s)
Creating working copy for https://github.com/SDWebImage/libavif-Xcode.git
Working copy of https://github.com/SDWebImage/libavif-Xcode.git resolved at 0.10.1
Creating working copy for https://github.com/kean/Nuke.git
Working copy of https://github.com/kean/Nuke.git resolved at 12.8.0
Creating working copy for https://github.com/SDWebImage/libvmaf-Xcode.git
Working copy of https://github.com/SDWebImage/libvmaf-Xcode.git resolved at 2.3.1
Creating working copy for https://github.com/SDWebImage/libaom-Xcode.git
Working copy of https://github.com/SDWebImage/libaom-Xcode.git resolved at 2.0.2
Building for debugging...
[0/22] Compiling scale.c
[1/22] Compiling utils.c
[2/22] Compiling reformat_libyuv.c
[3/22] Compiling stream.c
[4/22] Compiling rawdata.c
[5/22] Compiling write.c
[6/22] Compiling obu.c
[7/22] Compiling mem.c
[8/22] Compiling reformat.c
[9/22] Compiling io.c
In file included from /host/spi-builder-workspace/Source/AVIF/SDSources/Conversion.m:8:
In file included from /host/spi-builder-workspace/Source/AVIF/AVIFDataDecoder.h:9:
/host/spi-builder-workspace/Source/AVIF/AVIFImageMacros.h:8:9: fatal error: 'TargetConditionals.h' file not found
    8 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/22] Compiling Conversion.m
[10/22] Compiling read.c
[10/22] Compiling diag.c
[10/22] Compiling codec_aom.c
[10/22] Compiling colr.c
[10/22] Compiling alpha.c
[10/22] Write swift-version-24593BA9C3E375BF.txt
[10/22] Compiling avif.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/13] Write sources
[2/12] Compiling diag.c
[3/12] Compiling colr.c
In file included from /host/spi-builder-workspace/Source/AVIF/SDSources/ColorSpace.m:8:
In file included from /host/spi-builder-workspace/Source/AVIF/AVIFDataDecoder.h:9:
/host/spi-builder-workspace/Source/AVIF/AVIFImageMacros.h:8:9: fatal error: 'TargetConditionals.h' file not found
    8 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/12] Compiling ColorSpace.m
In file included from /host/spi-builder-workspace/Source/AVIF/SDSources/Conversion.m:8:
In file included from /host/spi-builder-workspace/Source/AVIF/AVIFDataDecoder.h:9:
/host/spi-builder-workspace/Source/AVIF/AVIFImageMacros.h:8:9: fatal error: 'TargetConditionals.h' file not found
    8 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/12] Compiling Conversion.m
[4/12] Compiling alpha.c
[4/12] Compiling codec_aom.c
In file included from /host/spi-builder-workspace/Source/AVIF/AVIFDataDecoder.m:9:
In file included from /host/spi-builder-workspace/Source/AVIF/AVIFDataDecoder.h:9:
/host/spi-builder-workspace/Source/AVIF/AVIFImageMacros.h:8:9: fatal error: 'TargetConditionals.h' file not found
    8 | #import <TargetConditionals.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~
1[4/12] Compiling AVIFDataDecoder.m
[4/12] Compiling avif.c
[4/12] Compiling read.c
[4/12] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android