The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BarCodeKit, reference 1.4.0 (ba5f1a), with Swift 6.1 for Android on 28 May 2025 17:27:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/Cocoanetics/BarCodeKit.git
Reference: 1.4.0
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/Cocoanetics/BarCodeKit
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at ba5f1aa Merge branch 'release-1.4.0'
Cloned https://github.com/Cocoanetics/BarCodeKit.git
Revision (git rev-parse @):
ba5f1aae7ec2b656646082e8336caba53baf2f36
SUCCESS checkout https://github.com/Cocoanetics/BarCodeKit.git at 1.4.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Cocoanetics/BarCodeKit.git
https://github.com/Cocoanetics/BarCodeKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "BarCodeKit",
  "name" : "BarCodeKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "BarCodeKit",
      "targets" : [
        "BarCodeKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BarCodeKitTests",
      "module_type" : "ClangTarget",
      "name" : "BarCodeKitTests",
      "path" : "Test/Source",
      "sources" : [
        "BCKBarStringTest.m",
        "BCKCodabarCodeTest.m",
        "BCKCode11CodeTest.m",
        "BCKCode128CodeTest.m",
        "BCKCode39CodeClassClusterTest.m",
        "BCKCode39CodeTest.m",
        "BCKCode39FullASCIITest.m",
        "BCKCode93CodeTest.m",
        "BCKCodeTest.m",
        "BCKEAN13CodeTest.m",
        "BCKEAN2SupplementCodeTest.m",
        "BCKEAN5SupplementCodeTest.m",
        "BCKEAN8CodeTest.m",
        "BCKFacingIdentificationMarkCodeTest.m",
        "BCKISBNCodeTest.m",
        "BCKISMNCodeTest.m",
        "BCKISSNCodeTest.m",
        "BCKInterleaved2of5CodeTest.m",
        "BCKMSICodeTest.m",
        "BCKPOSTNETCodeTest.m",
        "BCKPharmacodeOneTrackTest.m",
        "BCKStandard2of5CodeTest.m",
        "BCKUPCACodeTest.m",
        "BCKUPCECodeTest.m"
      ],
      "target_dependencies" : [
        "BarCodeKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BarCodeKit",
      "module_type" : "ClangTarget",
      "name" : "BarCodeKit",
      "path" : "Core",
      "product_memberships" : [
        "BarCodeKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Core/Resources/Base.lproj/BarCodeKit.strings",
          "rule" : {
            "process" : {
              "localization" : "Base"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Core/Resources/de.lproj/BarCodeKit.strings",
          "rule" : {
            "process" : {
              "localization" : "de"
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Core/Resources/ja.lproj/BarCodeKit.strings",
          "rule" : {
            "process" : {
              "localization" : "ja"
            }
          }
        }
      ],
      "sources" : [
        "Source/BCKBarString.m",
        "Source/BCKBarStringFunctions.m",
        "Source/BCKCodabarCode.m",
        "Source/BCKCodabarCodeCharacter.m",
        "Source/BCKCodabarContentCodeCharacter.m",
        "Source/BCKCode.m",
        "Source/BCKCode11Code.m",
        "Source/BCKCode11CodeCharacter.m",
        "Source/BCKCode11ContentCodeCharacter.m",
        "Source/BCKCode128Code.m",
        "Source/BCKCode128CodeCharacter.m",
        "Source/BCKCode128ContentCodeCharacter.m",
        "Source/BCKCode39Code.m",
        "Source/BCKCode39CodeCharacter.m",
        "Source/BCKCode39CodeModulo43.m",
        "Source/BCKCode39ContentCodeCharacter.m",
        "Source/BCKCode39FullASCII.m",
        "Source/BCKCode39FullASCIIModulo43.m",
        "Source/BCKCode93Code.m",
        "Source/BCKCode93CodeCharacter.m",
        "Source/BCKCode93ContentCodeCharacter.m",
        "Source/BCKCodeCharacter.m",
        "Source/BCKCodeFunctions.m",
        "Source/BCKEAN13Code.m",
        "Source/BCKEAN2SupplementCode.m",
        "Source/BCKEAN5SupplementCode.m",
        "Source/BCKEAN8Code.m",
        "Source/BCKEANCodeCharacter.m",
        "Source/BCKEANDigitCodeCharacter.m",
        "Source/BCKFacingIdentificationMarkCode.m",
        "Source/BCKFacingIdentificationMarkCodeCharacter.m",
        "Source/BCKGTINCode.m",
        "Source/BCKGTINSupplementCodeCharacter.m",
        "Source/BCKGTINSupplementDataCodeCharacter.m",
        "Source/BCKISBNCode.m",
        "Source/BCKISMNCode.m",
        "Source/BCKISSNCode.m",
        "Source/BCKInterleaved2of5Code.m",
        "Source/BCKInterleaved2of5CodeCharacter.m",
        "Source/BCKInterleaved2of5DigitPairCodeCharacter.m",
        "Source/BCKMSICode.m",
        "Source/BCKMSICodeCharacter.m",
        "Source/BCKMSIContentCodeCharacter.m",
        "Source/BCKMutableBarString.m",
        "Source/BCKPOSTNETCode.m",
        "Source/BCKPOSTNETCodeCharacter.m",
        "Source/BCKPOSTNETContentCodeCharacter.m",
        "Source/BCKPharmaOneTrackContentCodeCharacter.m",
        "Source/BCKPharmacodeOneTrack.m",
        "Source/BCKStandard2of5Code.m",
        "Source/BCKStandard2of5CodeCharacter.m",
        "Source/BCKStandard2of5ContentCodeCharacter.m",
        "Source/BCKUPCACode.m",
        "Source/BCKUPCCodeCharacter.m",
        "Source/BCKUPCECode.m",
        "Source/NSError+BCKCode.m",
        "Source/NSImage+BarCodeKit.m",
        "Source/NSString+BCKCode128Helpers.m",
        "Source/UIImage+BarCodeKit.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
warning: 'spi-builder-workspace': ignoring target 'BarCodeKitTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
warning: 'spi-builder-workspace': ignoring target 'BarCodeKitTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/64] Copying Info.plist
[0/64] Copying BarCodeKit.strings
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BarCodeKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BarCodeKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/64] Compiling NSImage+BarCodeKit.m
[4/64] Compiling BarCodeKit resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BarCodeKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/64] Compiling NSString+BCKCode128Helpers.m
[4/64] Compiling NSError+BCKCode.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BarCodeKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/64] Compiling BCKUPCECode.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BarCodeKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/64] Compiling UIImage+BarCodeKit.m
[4/64] Compiling BCKUPCACode.m
[4/64] Compiling BCKUPCCodeCharacter.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
warning: 'spi-builder-workspace': ignoring target 'BarCodeKitTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
[0/1] Planning build
Building for debugging...
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BarCodeKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/60] Compiling BCKUPCECode.m
[0/60] Compiling NSError+BCKCode.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BarCodeKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/60] Compiling BCKUPCCodeCharacter.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BarCodeKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/60] Compiling BCKUPCACode.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BarCodeKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/60] Compiling UIImage+BarCodeKit.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/BarCodeKit.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/60] Compiling NSImage+BarCodeKit.m
[0/60] Compiling BCKStandard2of5ContentCodeCharacter.m
[0/60] Compiling NSString+BCKCode128Helpers.m
BUILD FAILURE 6.1 android