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 Selfish, reference 0.0.12 (8267a4), with Swift 6.1 for Android on 27 May 2025 12:08:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/jpsim/selfish.git
Reference: 0.0.12
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/jpsim/selfish
 * tag               0.0.12     -> FETCH_HEAD
HEAD is now at 8267a4e Release 0.0.12
Cloned https://github.com/jpsim/selfish.git
Revision (git rev-parse @):
8267a4e26c8a0c04c2ec1cc80ae5c3a43597003a
SUCCESS checkout https://github.com/jpsim/selfish.git at 0.0.12
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jpsim/selfish.git
https://github.com/jpsim/selfish.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "sourcekitten",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.23.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/SourceKitten.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "Selfish",
  "name" : "Selfish",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "selfish",
      "targets" : [
        "selfish"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "selfish",
      "module_type" : "SwiftTarget",
      "name" : "selfish",
      "path" : "Sources/selfish",
      "product_dependencies" : [
        "SourceKittenFramework",
        "Yams"
      ],
      "product_memberships" : [
        "selfish"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/jpsim/Yams.git
[1/16112] Fetching sourcekitten
[2579/26769] Fetching sourcekitten, yams
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.57s)
Fetched https://github.com/jpsim/Yams.git from cache (1.60s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (3.48s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (1.43s)
Fetching https://github.com/Carthage/Commandant.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2329] Fetching commandant
[654/5149] Fetching commandant, swxmlhash
Fetched https://github.com/Carthage/Commandant.git from cache (0.28s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.30s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (1.02s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14755] Fetching quick
[12691/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.46s)
Fetched https://github.com/Quick/Nimble.git from cache (1.48s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (2.65s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.54s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.95s)
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.29.0
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 5.0.2
Creating working copy for https://github.com/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Building for debugging...
[0/19] Write sources
[4/19] Compiling SourceKit SourceKit.m
[5/19] Compiling Clang_C Clang_C.m
[6/19] Compiling writer.c
[7/19] Compiling parser.c
[8/19] Compiling reader.c
[9/19] Compiling api.c
[10/19] Write swift-version-24593BA9C3E375BF.txt
[11/19] Compiling scanner.c
[12/19] Compiling emitter.c
[14/38] Emitting module Yams
[15/40] Compiling SWXMLHash shim.swift
[16/40] Compiling Yams YamlError.swift
[17/40] Compiling Yams shim.swift
[18/40] Compiling Yams String+Yams.swift
[19/40] Compiling Yams Tag.swift
[20/40] Compiling Yams Mark.swift
[21/40] Compiling Yams Node.Mapping.swift
[22/40] Compiling Yams Node.Scalar.swift
[23/40] Compiling Yams Node.Sequence.swift
[24/40] Compiling Yams Node.swift
[25/40] Compiling Yams Parser.swift
[26/40] Compiling Yams Representer.swift
[27/40] Compiling Yams Resolver.swift
[28/40] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[29/40] Compiling Yams Emitter.swift
[30/40] Compiling Yams Encoder.swift
[31/40] Compiling Yams Constructor.swift
[32/40] Compiling Yams Decoder.swift
[33/41] Emitting module SWXMLHash
[34/41] Compiling SWXMLHash SWXMLHash.swift
[36/42] Wrapping AST for SWXMLHash for debugging
[37/42] Wrapping AST for Yams for debugging
[39/85] Compiling SourceKittenFramework Text.swift
[40/85] Compiling SourceKittenFramework UID.swift
[41/85] Compiling SourceKittenFramework UIDRepresentable.swift
[42/85] Compiling SourceKittenFramework Version.swift
[43/85] Compiling SourceKittenFramework Xcode.swift
[44/85] Compiling SourceKittenFramework XcodeBuildSetting.swift
[45/90] Compiling SourceKittenFramework SwiftDocKey.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[46/90] Compiling SourceKittenFramework SwiftDocs.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[47/90] Compiling SourceKittenFramework SwiftVersion.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[48/90] Compiling SourceKittenFramework SyntaxKind.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[49/90] Compiling SourceKittenFramework SyntaxMap.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[50/90] Compiling SourceKittenFramework SyntaxToken.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[51/90] Compiling SourceKittenFramework Language.swift
[52/90] Compiling SourceKittenFramework Line.swift
[53/90] Compiling SourceKittenFramework LinuxCompatibility.swift
[54/90] Compiling SourceKittenFramework Module.swift
[55/90] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[56/90] Compiling SourceKittenFramework OffsetMap.swift
[57/90] Compiling SourceKittenFramework ByteCount.swift
[58/90] Compiling SourceKittenFramework ByteRange.swift
[59/90] Compiling SourceKittenFramework Clang+SourceKitten.swift
[60/90] Compiling SourceKittenFramework ClangTranslationUnit.swift
[61/90] Compiling SourceKittenFramework CodeCompletionItem.swift
[62/90] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[63/90] Compiling SourceKittenFramework String+SourceKitten.swift
[64/90] Compiling SourceKittenFramework StringView+SourceKitten.swift
[65/90] Compiling SourceKittenFramework StringView.swift
[66/90] Compiling SourceKittenFramework Structure.swift
[67/90] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[68/90] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[69/90] Emitting module SourceKittenFramework
[70/90] Compiling SourceKittenFramework library_wrapper.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:17:22: error: cannot find 'dlsym' in scope
 15 |
 16 |     func load<T>(symbol: String) -> T {
 17 |         if let sym = dlsym(handle, symbol) {
    |                      `- error: cannot find 'dlsym' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:20:50: error: cannot find 'dlerror' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
 20 |         let errorString = String(validatingUTF8: dlerror())
    |                                                  `- error: cannot find 'dlerror' in scope
 21 |         fatalError("Finding symbol \(symbol) failed: \(errorString ?? "unknown error")")
 22 |     }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:29: error: cannot find 'dlopen' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                             `- error: cannot find 'dlopen' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:46: error: cannot find 'RTLD_LAZY' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                                              `- error: cannot find 'RTLD_LAZY' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
[71/90] Compiling SourceKittenFramework library_wrapper_CXString.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:17:22: error: cannot find 'dlsym' in scope
 15 |
 16 |     func load<T>(symbol: String) -> T {
 17 |         if let sym = dlsym(handle, symbol) {
    |                      `- error: cannot find 'dlsym' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:20:50: error: cannot find 'dlerror' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
 20 |         let errorString = String(validatingUTF8: dlerror())
    |                                                  `- error: cannot find 'dlerror' in scope
 21 |         fatalError("Finding symbol \(symbol) failed: \(errorString ?? "unknown error")")
 22 |     }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:29: error: cannot find 'dlopen' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                             `- error: cannot find 'dlopen' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:46: error: cannot find 'RTLD_LAZY' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                                              `- error: cannot find 'RTLD_LAZY' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
[72/90] Compiling SourceKittenFramework library_wrapper_Documentation.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:17:22: error: cannot find 'dlsym' in scope
 15 |
 16 |     func load<T>(symbol: String) -> T {
 17 |         if let sym = dlsym(handle, symbol) {
    |                      `- error: cannot find 'dlsym' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:20:50: error: cannot find 'dlerror' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
 20 |         let errorString = String(validatingUTF8: dlerror())
    |                                                  `- error: cannot find 'dlerror' in scope
 21 |         fatalError("Finding symbol \(symbol) failed: \(errorString ?? "unknown error")")
 22 |     }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:29: error: cannot find 'dlopen' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                             `- error: cannot find 'dlopen' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:46: error: cannot find 'RTLD_LAZY' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                                              `- error: cannot find 'RTLD_LAZY' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
[73/90] Compiling SourceKittenFramework library_wrapper_Index.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:17:22: error: cannot find 'dlsym' in scope
 15 |
 16 |     func load<T>(symbol: String) -> T {
 17 |         if let sym = dlsym(handle, symbol) {
    |                      `- error: cannot find 'dlsym' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:20:50: error: cannot find 'dlerror' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
 20 |         let errorString = String(validatingUTF8: dlerror())
    |                                                  `- error: cannot find 'dlerror' in scope
 21 |         fatalError("Finding symbol \(symbol) failed: \(errorString ?? "unknown error")")
 22 |     }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:29: error: cannot find 'dlopen' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                             `- error: cannot find 'dlopen' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:46: error: cannot find 'RTLD_LAZY' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                                              `- error: cannot find 'RTLD_LAZY' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
[74/90] Compiling SourceKittenFramework library_wrapper_sourcekitd.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:17:22: error: cannot find 'dlsym' in scope
 15 |
 16 |     func load<T>(symbol: String) -> T {
 17 |         if let sym = dlsym(handle, symbol) {
    |                      `- error: cannot find 'dlsym' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:20:50: error: cannot find 'dlerror' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
 20 |         let errorString = String(validatingUTF8: dlerror())
    |                                                  `- error: cannot find 'dlerror' in scope
 21 |         fatalError("Finding symbol \(symbol) failed: \(errorString ?? "unknown error")")
 22 |     }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:29: error: cannot find 'dlopen' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                             `- error: cannot find 'dlopen' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:46: error: cannot find 'RTLD_LAZY' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                                              `- error: cannot find 'RTLD_LAZY' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
[75/90] Compiling SourceKittenFramework Parameter.swift
[76/90] Compiling SourceKittenFramework Request.swift
[77/90] Compiling SourceKittenFramework SourceDeclaration.swift
[78/90] Compiling SourceKittenFramework SourceKitObject.swift
[79/90] Compiling SourceKittenFramework SourceLocation.swift
[80/90] Compiling SourceKittenFramework StatementKind.swift
[81/90] Compiling SourceKittenFramework Dictionary+Merge.swift
[82/90] Compiling SourceKittenFramework Documentation.swift
[83/90] Compiling SourceKittenFramework Exec.swift
[84/90] Compiling SourceKittenFramework File+Hashable.swift
[85/90] Compiling SourceKittenFramework File.swift
[86/90] Compiling SourceKittenFramework JSONOutput.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/7] Write swift-version-24593BA9C3E375BF.txt
[2/26] Compiling SWXMLHash shim.swift
[3/26] Emitting module SWXMLHash
[4/26] Compiling SWXMLHash SWXMLHash.swift
[5/26] Compiling Yams String+Yams.swift
[6/26] Compiling Yams Tag.swift
[7/28] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[8/29] Emitting module Yams
[9/29] Compiling Yams Representer.swift
[10/29] Compiling Yams Resolver.swift
[12/29] Compiling Yams Node.Scalar.swift
[13/29] Compiling Yams Node.Sequence.swift
[14/29] Compiling Yams Mark.swift
[15/29] Compiling Yams Node.Mapping.swift
[16/29] Compiling Yams Node.swift
[17/29] Compiling Yams Parser.swift
[17/29] Wrapping AST for SWXMLHash for debugging
[19/29] Compiling Yams YamlError.swift
[20/29] Compiling Yams shim.swift
[21/29] Compiling Yams Emitter.swift
[22/29] Compiling Yams Encoder.swift
[23/29] Compiling Yams Constructor.swift
[24/29] Compiling Yams Decoder.swift
[25/30] Wrapping AST for Yams for debugging
[27/73] Compiling SourceKittenFramework SwiftDocKey.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[28/73] Compiling SourceKittenFramework SwiftDocs.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[29/73] Compiling SourceKittenFramework SwiftVersion.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[30/73] Compiling SourceKittenFramework SyntaxKind.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[31/73] Compiling SourceKittenFramework SyntaxMap.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[32/73] Compiling SourceKittenFramework SyntaxToken.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:13: error: cannot find 'fputs' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |             `- error: cannot find 'fputs' in scope
36 |             return nil
37 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/SwiftDocs.swift:35:38: error: cannot find 'stderr' in scope
33 |             )
34 |         } catch let error as Request.Error {
35 |             fputs(error.description, stderr)
   |                                      `- error: cannot find 'stderr' in scope
36 |             return nil
37 |         } catch {
[33/78] Compiling SourceKittenFramework Language.swift
[34/78] Compiling SourceKittenFramework Line.swift
[35/78] Compiling SourceKittenFramework LinuxCompatibility.swift
[36/78] Compiling SourceKittenFramework Module.swift
[37/78] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[38/78] Compiling SourceKittenFramework OffsetMap.swift
[39/78] Compiling SourceKittenFramework library_wrapper.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:17:22: error: cannot find 'dlsym' in scope
 15 |
 16 |     func load<T>(symbol: String) -> T {
 17 |         if let sym = dlsym(handle, symbol) {
    |                      `- error: cannot find 'dlsym' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:20:50: error: cannot find 'dlerror' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
 20 |         let errorString = String(validatingUTF8: dlerror())
    |                                                  `- error: cannot find 'dlerror' in scope
 21 |         fatalError("Finding symbol \(symbol) failed: \(errorString ?? "unknown error")")
 22 |     }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:29: error: cannot find 'dlopen' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                             `- error: cannot find 'dlopen' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:46: error: cannot find 'RTLD_LAZY' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                                              `- error: cannot find 'RTLD_LAZY' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
[40/78] Compiling SourceKittenFramework library_wrapper_CXString.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:17:22: error: cannot find 'dlsym' in scope
 15 |
 16 |     func load<T>(symbol: String) -> T {
 17 |         if let sym = dlsym(handle, symbol) {
    |                      `- error: cannot find 'dlsym' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:20:50: error: cannot find 'dlerror' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
 20 |         let errorString = String(validatingUTF8: dlerror())
    |                                                  `- error: cannot find 'dlerror' in scope
 21 |         fatalError("Finding symbol \(symbol) failed: \(errorString ?? "unknown error")")
 22 |     }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:29: error: cannot find 'dlopen' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                             `- error: cannot find 'dlopen' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:46: error: cannot find 'RTLD_LAZY' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                                              `- error: cannot find 'RTLD_LAZY' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
[41/78] Compiling SourceKittenFramework library_wrapper_Documentation.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:17:22: error: cannot find 'dlsym' in scope
 15 |
 16 |     func load<T>(symbol: String) -> T {
 17 |         if let sym = dlsym(handle, symbol) {
    |                      `- error: cannot find 'dlsym' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:20:50: error: cannot find 'dlerror' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
 20 |         let errorString = String(validatingUTF8: dlerror())
    |                                                  `- error: cannot find 'dlerror' in scope
 21 |         fatalError("Finding symbol \(symbol) failed: \(errorString ?? "unknown error")")
 22 |     }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:29: error: cannot find 'dlopen' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                             `- error: cannot find 'dlopen' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:46: error: cannot find 'RTLD_LAZY' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                                              `- error: cannot find 'RTLD_LAZY' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
[42/78] Compiling SourceKittenFramework library_wrapper_Index.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:17:22: error: cannot find 'dlsym' in scope
 15 |
 16 |     func load<T>(symbol: String) -> T {
 17 |         if let sym = dlsym(handle, symbol) {
    |                      `- error: cannot find 'dlsym' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:20:50: error: cannot find 'dlerror' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
 20 |         let errorString = String(validatingUTF8: dlerror())
    |                                                  `- error: cannot find 'dlerror' in scope
 21 |         fatalError("Finding symbol \(symbol) failed: \(errorString ?? "unknown error")")
 22 |     }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:29: error: cannot find 'dlopen' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                             `- error: cannot find 'dlopen' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:46: error: cannot find 'RTLD_LAZY' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                                              `- error: cannot find 'RTLD_LAZY' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
[43/78] Compiling SourceKittenFramework library_wrapper_sourcekitd.swift
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:17:22: error: cannot find 'dlsym' in scope
 15 |
 16 |     func load<T>(symbol: String) -> T {
 17 |         if let sym = dlsym(handle, symbol) {
    |                      `- error: cannot find 'dlsym' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:20:50: error: cannot find 'dlerror' in scope
 18 |             return unsafeBitCast(sym, to: T.self)
 19 |         }
 20 |         let errorString = String(validatingUTF8: dlerror())
    |                                                  `- error: cannot find 'dlerror' in scope
 21 |         fatalError("Finding symbol \(symbol) failed: \(errorString ?? "unknown error")")
 22 |     }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:29: error: cannot find 'dlopen' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                             `- error: cannot find 'dlopen' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
/host/spi-builder-workspace/.build/checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift:34:46: error: cannot find 'RTLD_LAZY' in scope
 32 |         // then try loading with simple path that depends resolving to DYLD
 33 |         for fullPath in fullPaths + [path] {
 34 |             if let handle = dlopen(fullPath, RTLD_LAZY) {
    |                                              `- error: cannot find 'RTLD_LAZY' in scope
 35 |                 return DynamicLinkLibrary(handle: handle)
 36 |             }
[44/78] Emitting module SourceKittenFramework
[45/78] Compiling SourceKittenFramework Text.swift
[46/78] Compiling SourceKittenFramework UID.swift
[47/78] Compiling SourceKittenFramework UIDRepresentable.swift
[48/78] Compiling SourceKittenFramework Version.swift
[49/78] Compiling SourceKittenFramework Xcode.swift
[50/78] Compiling SourceKittenFramework XcodeBuildSetting.swift
[51/78] Compiling SourceKittenFramework String+SourceKitten.swift
[52/78] Compiling SourceKittenFramework StringView+SourceKitten.swift
[53/78] Compiling SourceKittenFramework StringView.swift
[54/78] Compiling SourceKittenFramework Structure.swift
[55/78] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[56/78] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[57/78] Compiling SourceKittenFramework ByteCount.swift
[58/78] Compiling SourceKittenFramework ByteRange.swift
[59/78] Compiling SourceKittenFramework Clang+SourceKitten.swift
[60/78] Compiling SourceKittenFramework ClangTranslationUnit.swift
[61/78] Compiling SourceKittenFramework CodeCompletionItem.swift
[62/78] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[63/78] Compiling SourceKittenFramework Dictionary+Merge.swift
[64/78] Compiling SourceKittenFramework Documentation.swift
[65/78] Compiling SourceKittenFramework Exec.swift
[66/78] Compiling SourceKittenFramework File+Hashable.swift
[67/78] Compiling SourceKittenFramework File.swift
[68/78] Compiling SourceKittenFramework JSONOutput.swift
[69/78] Compiling SourceKittenFramework Parameter.swift
[70/78] Compiling SourceKittenFramework Request.swift
[71/78] Compiling SourceKittenFramework SourceDeclaration.swift
[72/78] Compiling SourceKittenFramework SourceKitObject.swift
[73/78] Compiling SourceKittenFramework SourceLocation.swift
[74/78] Compiling SourceKittenFramework StatementKind.swift
BUILD FAILURE 6.1 android