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 master (8267a4), with Swift 6.1 for Android on 27 May 2025 12:09:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-3":/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/10657] Fetching yams
[2/26769] Fetching yams, sourcekitten
Fetched https://github.com/jpsim/SourceKitten.git from cache (2.24s)
Fetched https://github.com/jpsim/Yams.git from cache (2.25s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 2.0.0 (6.84s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.29.0 (0.52s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/Carthage/Commandant.git
[1/2820] Fetching swxmlhash
[312/5149] Fetching swxmlhash, commandant
Fetched https://github.com/Carthage/Commandant.git from cache (0.34s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.34s)
Computing version for https://github.com/Carthage/Commandant.git
Computed https://github.com/Carthage/Commandant.git at 0.17.0 (2.39s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/14755] Fetching quick
[4428/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (0.74s)
[14884/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.77s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 5.0.2 (2.32s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.61s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.80s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
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/Carthage/Commandant.git
Working copy of https://github.com/Carthage/Commandant.git resolved at 0.17.0
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 2.0.0
Building for debugging...
[0/19] Write sources
[4/19] Compiling SourceKit SourceKit.m
[5/19] Compiling reader.c
[6/19] Compiling Clang_C Clang_C.m
[7/19] Compiling parser.c
[8/19] Compiling writer.c
[9/19] Write swift-version-24593BA9C3E375BF.txt
[10/19] Compiling api.c
[11/19] Compiling emitter.c
[12/19] Compiling scanner.c
[14/38] Compiling SWXMLHash shim.swift
[15/38] Compiling Yams Mark.swift
[16/38] Compiling Yams Node.Mapping.swift
[17/40] Compiling Yams YamlError.swift
[18/40] Compiling Yams shim.swift
[19/40] Compiling Yams String+Yams.swift
[20/40] Compiling Yams Tag.swift
[21/40] Compiling SWXMLHash SWXMLHash.swift
[22/40] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[23/40] Emitting module SWXMLHash
[24/41] Compiling Yams Node.Scalar.swift
[25/41] Compiling Yams Node.Sequence.swift
[26/41] Compiling Yams Node.swift
[27/41] Compiling Yams Parser.swift
[28/41] Compiling Yams Representer.swift
[29/41] Compiling Yams Resolver.swift
[30/41] Compiling Yams Emitter.swift
[31/41] Compiling Yams Encoder.swift
[32/41] Emitting module Yams
[33/41] Compiling Yams Constructor.swift
[34/41] Compiling Yams Decoder.swift
[36/42] Wrapping AST for Yams for debugging
[37/42] Wrapping AST for SWXMLHash 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/85] 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/85] 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/85] 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/85] 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/85] 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/85] 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/85] Emitting module SourceKittenFramework
[52/90] Compiling SourceKittenFramework ByteCount.swift
[53/90] Compiling SourceKittenFramework ByteRange.swift
[54/90] Compiling SourceKittenFramework Clang+SourceKitten.swift
[55/90] Compiling SourceKittenFramework ClangTranslationUnit.swift
[56/90] Compiling SourceKittenFramework CodeCompletionItem.swift
[57/90] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[58/90] Compiling SourceKittenFramework String+SourceKitten.swift
[59/90] Compiling SourceKittenFramework StringView+SourceKitten.swift
[60/90] Compiling SourceKittenFramework StringView.swift
[61/90] Compiling SourceKittenFramework Structure.swift
[62/90] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[63/90] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[64/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 |             }
[65/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 |             }
[66/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 |             }
[67/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 |             }
[68/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 |             }
[69/90] Compiling SourceKittenFramework Parameter.swift
[70/90] Compiling SourceKittenFramework Request.swift
[71/90] Compiling SourceKittenFramework SourceDeclaration.swift
[72/90] Compiling SourceKittenFramework SourceKitObject.swift
[73/90] Compiling SourceKittenFramework SourceLocation.swift
[74/90] Compiling SourceKittenFramework StatementKind.swift
[75/90] Compiling SourceKittenFramework Dictionary+Merge.swift
[76/90] Compiling SourceKittenFramework Documentation.swift
[77/90] Compiling SourceKittenFramework Exec.swift
[78/90] Compiling SourceKittenFramework File+Hashable.swift
[79/90] Compiling SourceKittenFramework File.swift
[80/90] Compiling SourceKittenFramework JSONOutput.swift
[81/90] Compiling SourceKittenFramework Language.swift
[82/90] Compiling SourceKittenFramework Line.swift
[83/90] Compiling SourceKittenFramework LinuxCompatibility.swift
[84/90] Compiling SourceKittenFramework Module.swift
[85/90] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[86/90] Compiling SourceKittenFramework OffsetMap.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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] Compiling Yams String+Yams.swift
[4/26] Compiling Yams Tag.swift
[5/28] Compiling SWXMLHash XMLIndexer+XMLIndexerDeserializable.swift
[6/28] Compiling SWXMLHash SWXMLHash.swift
[7/28] Emitting module SWXMLHash
[8/29] Compiling Yams YamlError.swift
[9/29] Compiling Yams shim.swift
[11/29] Compiling Yams Representer.swift
[12/29] Compiling Yams Resolver.swift
[12/29] Wrapping AST for SWXMLHash for debugging
[14/29] Compiling Yams Mark.swift
[15/29] Compiling Yams Node.Mapping.swift
[16/29] Compiling Yams Node.Scalar.swift
[17/29] Compiling Yams Node.Sequence.swift
[18/29] Compiling Yams Node.swift
[19/29] Compiling Yams Parser.swift
[20/29] Compiling Yams Emitter.swift
[21/29] Compiling Yams Encoder.swift
[22/29] Emitting module Yams
[23/29] Compiling Yams Constructor.swift
[24/29] Compiling Yams Decoder.swift
[25/30] Wrapping AST for Yams for debugging
[27/73] Compiling SourceKittenFramework ByteCount.swift
[28/73] Compiling SourceKittenFramework ByteRange.swift
[29/73] Compiling SourceKittenFramework Clang+SourceKitten.swift
[30/73] Compiling SourceKittenFramework ClangTranslationUnit.swift
[31/73] Compiling SourceKittenFramework CodeCompletionItem.swift
[32/73] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[33/73] Compiling SourceKittenFramework Language.swift
[34/73] Compiling SourceKittenFramework Line.swift
[35/73] Compiling SourceKittenFramework LinuxCompatibility.swift
[36/73] Compiling SourceKittenFramework Module.swift
[37/73] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[38/73] Compiling SourceKittenFramework OffsetMap.swift
[39/73] Compiling SourceKittenFramework Text.swift
[40/73] Compiling SourceKittenFramework UID.swift
[41/73] Compiling SourceKittenFramework UIDRepresentable.swift
[42/73] Compiling SourceKittenFramework Version.swift
[43/73] Compiling SourceKittenFramework Xcode.swift
[44/73] Compiling SourceKittenFramework XcodeBuildSetting.swift
[45/78] Emitting module SourceKittenFramework
[46/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 |             }
[47/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 |             }
[48/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 |             }
[49/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 |             }
[50/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 |             }
[51/78] Compiling SourceKittenFramework Dictionary+Merge.swift
[52/78] Compiling SourceKittenFramework Documentation.swift
[53/78] Compiling SourceKittenFramework Exec.swift
[54/78] Compiling SourceKittenFramework File+Hashable.swift
[55/78] Compiling SourceKittenFramework File.swift
[56/78] Compiling SourceKittenFramework JSONOutput.swift
[57/78] Compiling SourceKittenFramework String+SourceKitten.swift
[58/78] Compiling SourceKittenFramework StringView+SourceKitten.swift
[59/78] Compiling SourceKittenFramework StringView.swift
[60/78] Compiling SourceKittenFramework Structure.swift
[61/78] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[62/78] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[63/78] 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 {
[64/78] 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 {
[65/78] 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 {
[66/78] 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 {
[67/78] 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 {
[68/78] 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 {
[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