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 Fortify, reference 2.1.12 (999f26), with Swift 6.1 for Android on 30 May 2025 15:18:17 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/johnno1962/Fortify.git
Reference: 2.1.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/johnno1962/Fortify
 * tag               2.1.12     -> FETCH_HEAD
HEAD is now at 999f264 Remove #filePath
Cloned https://github.com/johnno1962/Fortify.git
Revision (git rev-parse @):
999f2644ed80ecd67db3344c79bfe9f329f03ad5
SUCCESS checkout https://github.com/johnno1962/Fortify.git at 2.1.12
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/johnno1962/Fortify.git
https://github.com/johnno1962/Fortify.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "stringindex",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/StringIndex"
    },
    {
      "identity" : "swiftregex5",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.1",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/SwiftRegex5.git"
    },
    {
      "identity" : "popen",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/Popen.git"
    },
    {
      "identity" : "dlkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.3",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnno1962/DLKit"
    }
  ],
  "manifest_display_name" : "Fortify",
  "name" : "Fortify",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Fortify",
      "targets" : [
        "Fortify"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FortifyTests",
      "module_type" : "SwiftTarget",
      "name" : "FortifyTests",
      "path" : "Tests/FortifyTests",
      "sources" : [
        "FortifyTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Fortify"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Fortify",
      "module_type" : "SwiftTarget",
      "name" : "Fortify",
      "path" : "Sources",
      "product_dependencies" : [
        "StringIndex",
        "DLKit",
        "Popen",
        "DLKitC",
        "SwiftRegex"
      ],
      "product_memberships" : [
        "Fortify"
      ],
      "sources" : [
        "Fortify.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/johnno1962/StringIndex
Fetching https://github.com/johnno1962/Popen.git
Fetching https://github.com/johnno1962/SwiftRegex5.git
Fetching https://github.com/johnno1962/DLKit
[1/209] Fetching swiftregex5
[10/336] Fetching swiftregex5, popen
[233/490] Fetching swiftregex5, popen, stringindex
[442/889] Fetching swiftregex5, popen, stringindex, dlkit
Fetched https://github.com/johnno1962/Popen.git from cache (0.38s)
Fetched https://github.com/johnno1962/SwiftRegex5.git from cache (0.39s)
Fetched https://github.com/johnno1962/DLKit from cache (0.39s)
Fetched https://github.com/johnno1962/StringIndex from cache (0.40s)
Computing version for https://github.com/johnno1962/SwiftRegex5.git
Computed https://github.com/johnno1962/SwiftRegex5.git at 6.1.3 (1.30s)
Computing version for https://github.com/johnno1962/StringIndex
Computed https://github.com/johnno1962/StringIndex at 2.2.4 (0.94s)
Computing version for https://github.com/johnno1962/Popen.git
Computed https://github.com/johnno1962/Popen.git at 2.1.7 (0.99s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.8 (1.01s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook from cache (0.38s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (1.25s)
Creating working copy for https://github.com/johnno1962/DLKit
Working copy of https://github.com/johnno1962/DLKit resolved at 3.4.8
Creating working copy for https://github.com/johnno1962/Popen.git
Working copy of https://github.com/johnno1962/Popen.git resolved at 2.1.7
Creating working copy for https://github.com/johnno1962/SwiftRegex5.git
Working copy of https://github.com/johnno1962/SwiftRegex5.git resolved at 6.1.3
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
Creating working copy for https://github.com/johnno1962/StringIndex
Working copy of https://github.com/johnno1962/StringIndex resolved at 2.2.4
Building for debugging...
[0/10] Write sources
[5/10] Compiling DLKitC trie_dladdr.mm
[6/10] Compiling DLKitC DLKitC.c
[7/10] Compiling fishhook fishhook.c
[8/10] Compiling DLKitC trie_dlops.mm
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/30] Compiling DLKit DLKit.swift
[12/30] Emitting module DLKit
[13/30] Compiling DLKit FileSymbols.swift
[14/30] Compiling DLKit Interposing.swift
[15/30] Compiling DLKit Demangling.swift
[16/30] Compiling DLKit ImageSymbols.swift
[17/30] Compiling DLKit Iterators.swift
[19/31] Compiling Popen Topen.swift
[20/31] Emitting module StringIndex
[21/31] Compiling Popen Stream.swift
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:13:42: error: cannot find type 'FILE' in scope
11 |
12 | public protocol FILEStream {
13 |     var fileStream: UnsafeMutablePointer<FILE> { get }
   |                                          `- error: cannot find type 'FILE' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:17:61: error: cannot find type 'FILE' in scope
15 |
16 | extension UnsafeMutablePointer: FILEStream,
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
   |                                                             `- error: cannot find type 'FILE' in scope
18 |     public typealias Element = String
19 |     public var fileStream: Self { return self }
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:16:1: error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'Sequence'
14 | }
15 |
16 | extension UnsafeMutablePointer: FILEStream,
   | `- error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'Sequence'
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
18 |     public typealias Element = String
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:16:1: error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'IteratorProtocol'
14 | }
15 |
16 | extension UnsafeMutablePointer: FILEStream,
   | |- error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'IteratorProtocol'
   | `- note: add stubs for conformance
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
18 |     public typealias Element = String
Swift.Sequence.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
  |                `- note: protocol requires nested type 'Element'
3 |
Swift.Sequence.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
  |                `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:28:44: error: cannot find type 'FILE' in scope
 26 |     _: UnsafePointer<CChar>) -> UnsafeMutablePointer<FILE>!
 27 | @_silgen_name("pclose")
 28 | public func pclose(_: UnsafeMutablePointer<FILE>?) -> CInt
    |                                            `- error: cannot find type 'FILE' in scope
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
[22/31] Compiling Popen Popen.swift
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:26:54: error: cannot find type 'FILE' in scope
 24 | @_silgen_name("popen")
 25 | public func popen(_: UnsafePointer<CChar>,
 26 |     _: UnsafePointer<CChar>) -> UnsafeMutablePointer<FILE>!
    |                                                      `- error: cannot find type 'FILE' in scope
 27 | @_silgen_name("pclose")
 28 | public func pclose(_: UnsafeMutablePointer<FILE>?) -> CInt
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:28:44: error: cannot find type 'FILE' in scope
 26 |     _: UnsafePointer<CChar>) -> UnsafeMutablePointer<FILE>!
 27 | @_silgen_name("pclose")
 28 | public func pclose(_: UnsafeMutablePointer<FILE>?) -> CInt
    |                                            `- error: cannot find type 'FILE' in scope
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:78:47: error: cannot find type 'FILE' in scope
 76 |     #endif
 77 |
 78 |     open var fileStream: UnsafeMutablePointer<FILE>
    |                                               `- error: cannot find type 'FILE' in scope
 79 |     open var exitStatus: CInt?
 80 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:81:46: error: cannot find type 'FILE' in scope
 79 |     open var exitStatus: CInt?
 80 |
 81 |     public init(stream: UnsafeMutablePointer<FILE>) {
    |                                              `- error: cannot find type 'FILE' in scope
 82 |         Self.openFILEStreams += 1
 83 |         fileStream = stream
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:13:42: error: cannot find type 'FILE' in scope
11 |
12 | public protocol FILEStream {
13 |     var fileStream: UnsafeMutablePointer<FILE> { get }
   |                                          `- error: cannot find type 'FILE' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:90:27: error: extra argument 'stream' in call
 88 |             return nil
 89 |         }
 90 |         self.init(stream: stream)
    |                           `- error: extra argument 'stream' in call
 91 |     }
 92 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:90:19: error: missing argument for parameter 'cmd' in call
 84 |     }
 85 |
 86 |     public convenience init?(cmd: String, mode: Fopen.FILEMode = .read) {
    |                        `- note: 'init(cmd:mode:)' declared here
 87 |         guard let stream = popen(cmd, mode.mode) else {
 88 |             return nil
 89 |         }
 90 |         self.init(stream: stream)
    |                   `- error: missing argument for parameter 'cmd' in call
 91 |     }
 92 |
[23/31] Compiling Popen Fstat.swift
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fstat.swift:13:26: error: cannot find type 'stat' in scope
11 | import Foundation
12 |
13 | public typealias Fstat = stat
   |                          `- error: cannot find type 'stat' in scope
14 |
15 | extension Fstat {
[24/31] Compiling Popen Glob.swift
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Glob.swift:14:17: error: cannot find 'glob_t' in scope
12 |
13 | public class Glob: Sequence, IteratorProtocol {
14 |     var pglob = glob_t()
   |                 `- error: cannot find 'glob_t' in scope
15 |     var index = 0
16 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Glob.swift:18:12: error: cannot find 'glob' in scope
16 |
17 |     public init?(pattern: String, flags: CInt = 0) {
18 |         if glob(pattern, flags, nil, &pglob) != 0 {
   |            `- error: cannot find 'glob' in scope
19 |             return nil
20 |         }
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Glob.swift:18:33: error: 'nil' requires a contextual type
16 |
17 |     public init?(pattern: String, flags: CInt = 0) {
18 |         if glob(pattern, flags, nil, &pglob) != 0 {
   |                                 `- error: 'nil' requires a contextual type
19 |             return nil
20 |         }
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Glob.swift:33:9: error: cannot find 'globfree' in scope
31 |
32 |     deinit {
33 |         globfree(&pglob)
   |         `- error: cannot find 'globfree' in scope
34 |     }
35 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/31] Emitting module Popen
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:53:47: error: cannot find type 'FILE' in scope
 51 |     }
 52 |
 53 |     open var fileStream: UnsafeMutablePointer<FILE>
    |                                               `- error: cannot find type 'FILE' in scope
 54 |
 55 |     public init?(stream: UnsafeMutablePointer<FILE>?) {
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:55:47: error: cannot find type 'FILE' in scope
 53 |     open var fileStream: UnsafeMutablePointer<FILE>
 54 |
 55 |     public init?(stream: UnsafeMutablePointer<FILE>?) {
    |                                               `- error: cannot find type 'FILE' in scope
 56 |         guard let stream = stream else { return nil }
 57 |         fileStream = stream
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:13:42: error: cannot find type 'FILE' in scope
11 |
12 | public protocol FILEStream {
13 |     var fileStream: UnsafeMutablePointer<FILE> { get }
   |                                          `- error: cannot find type 'FILE' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fstat.swift:13:26: error: cannot find type 'stat' in scope
11 | import Foundation
12 |
13 | public typealias Fstat = stat
   |                          `- error: cannot find type 'stat' in scope
14 |
15 | extension Fstat {
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Glob.swift:14:17: error: cannot find 'glob_t' in scope
12 |
13 | public class Glob: Sequence, IteratorProtocol {
14 |     var pglob = glob_t()
   |                 `- error: cannot find 'glob_t' in scope
15 |     var index = 0
16 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:26:54: error: cannot find type 'FILE' in scope
 24 | @_silgen_name("popen")
 25 | public func popen(_: UnsafePointer<CChar>,
 26 |     _: UnsafePointer<CChar>) -> UnsafeMutablePointer<FILE>!
    |                                                      `- error: cannot find type 'FILE' in scope
 27 | @_silgen_name("pclose")
 28 | public func pclose(_: UnsafeMutablePointer<FILE>?) -> CInt
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:28:44: error: cannot find type 'FILE' in scope
 26 |     _: UnsafePointer<CChar>) -> UnsafeMutablePointer<FILE>!
 27 | @_silgen_name("pclose")
 28 | public func pclose(_: UnsafeMutablePointer<FILE>?) -> CInt
    |                                            `- error: cannot find type 'FILE' in scope
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:78:47: error: cannot find type 'FILE' in scope
 76 |     #endif
 77 |
 78 |     open var fileStream: UnsafeMutablePointer<FILE>
    |                                               `- error: cannot find type 'FILE' in scope
 79 |     open var exitStatus: CInt?
 80 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:81:46: error: cannot find type 'FILE' in scope
 79 |     open var exitStatus: CInt?
 80 |
 81 |     public init(stream: UnsafeMutablePointer<FILE>) {
    |                                              `- error: cannot find type 'FILE' in scope
 82 |         Self.openFILEStreams += 1
 83 |         fileStream = stream
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:17:61: error: cannot find type 'FILE' in scope
15 |
16 | extension UnsafeMutablePointer: FILEStream,
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
   |                                                             `- error: cannot find type 'FILE' in scope
18 |     public typealias Element = String
19 |     public var fileStream: Self { return self }
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:16:1: error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'Sequence'
14 | }
15 |
16 | extension UnsafeMutablePointer: FILEStream,
   | `- error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'Sequence'
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
18 |     public typealias Element = String
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:16:1: error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'IteratorProtocol'
14 | }
15 |
16 | extension UnsafeMutablePointer: FILEStream,
   | |- error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'IteratorProtocol'
   | `- note: add stubs for conformance
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
18 |     public typealias Element = String
Swift.Sequence.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
  |                `- note: protocol requires nested type 'Element'
3 |
Swift.Sequence.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
  |                `- note: protocol requires nested type 'Iterator'
3 |
[26/31] Compiling Popen Fopen.swift
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:53:47: error: cannot find type 'FILE' in scope
 51 |     }
 52 |
 53 |     open var fileStream: UnsafeMutablePointer<FILE>
    |                                               `- error: cannot find type 'FILE' in scope
 54 |
 55 |     public init?(stream: UnsafeMutablePointer<FILE>?) {
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:55:47: error: cannot find type 'FILE' in scope
 53 |     open var fileStream: UnsafeMutablePointer<FILE>
 54 |
 55 |     public init?(stream: UnsafeMutablePointer<FILE>?) {
    |                                               `- error: cannot find type 'FILE' in scope
 56 |         guard let stream = stream else { return nil }
 57 |         fileStream = stream
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:13:42: error: cannot find type 'FILE' in scope
11 |
12 | public protocol FILEStream {
13 |     var fileStream: UnsafeMutablePointer<FILE> { get }
   |                                          `- error: cannot find type 'FILE' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:62:14: error: no exact matches in call to initializer
 59 |     }
 60 |
 61 |     public convenience init?(path: String, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (path: String, mode: Fopen.FILEMode)
 62 |         self.init(stream: fopen(path, mode.mode))
    |              `- error: no exact matches in call to initializer
 63 |     }
 64 |
 65 |     public convenience init?(fd: CInt, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (fd: CInt, mode: Fopen.FILEMode)
 66 |         self.init(stream: fdopen(fd, mode.mode))
 67 |     }
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:66:14: error: no exact matches in call to initializer
 59 |     }
 60 |
 61 |     public convenience init?(path: String, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (path: String, mode: Fopen.FILEMode)
 62 |         self.init(stream: fopen(path, mode.mode))
 63 |     }
 64 |
 65 |     public convenience init?(fd: CInt, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (fd: CInt, mode: Fopen.FILEMode)
 66 |         self.init(stream: fdopen(fd, mode.mode))
    |              `- error: no exact matches in call to initializer
 67 |     }
 68 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:72:14: error: no exact matches in call to initializer
 59 |     }
 60 |
 61 |     public convenience init?(path: String, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (path: String, mode: Fopen.FILEMode)
 62 |         self.init(stream: fopen(path, mode.mode))
 63 |     }
 64 |
 65 |     public convenience init?(fd: CInt, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (fd: CInt, mode: Fopen.FILEMode)
 66 |         self.init(stream: fdopen(fd, mode.mode))
 67 |     }
    :
 70 |     public convenience init?(buffer: UnsafeMutableRawPointer,
 71 |                              count: Int, mode: FILEMode = .read) {
 72 |         self.init(stream: fmemopen(buffer, count, mode.mode))
    |              `- error: no exact matches in call to initializer
 73 |     }
 74 |
[27/31] Compiling StringIndex Subscripts.swift
[28/31] Compiling StringIndex OffsetIndex.swift
[29/31] Compiling StringIndex StringIndex.swift
[30/32] Compiling SwiftRegex TupleRegex.swift
[31/32] Emitting module SwiftRegex
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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling DLKit DLKit.swift
[3/21] Emitting module DLKit
[4/21] Compiling DLKit FileSymbols.swift
[5/21] Compiling DLKit ImageSymbols.swift
[6/21] Compiling DLKit Iterators.swift
[7/21] Compiling DLKit Interposing.swift
[8/21] Compiling DLKit Demangling.swift
[9/22] Emitting module StringIndex
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/22] Emitting module Popen
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:53:47: error: cannot find type 'FILE' in scope
 51 |     }
 52 |
 53 |     open var fileStream: UnsafeMutablePointer<FILE>
    |                                               `- error: cannot find type 'FILE' in scope
 54 |
 55 |     public init?(stream: UnsafeMutablePointer<FILE>?) {
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:55:47: error: cannot find type 'FILE' in scope
 53 |     open var fileStream: UnsafeMutablePointer<FILE>
 54 |
 55 |     public init?(stream: UnsafeMutablePointer<FILE>?) {
    |                                               `- error: cannot find type 'FILE' in scope
 56 |         guard let stream = stream else { return nil }
 57 |         fileStream = stream
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:13:42: error: cannot find type 'FILE' in scope
11 |
12 | public protocol FILEStream {
13 |     var fileStream: UnsafeMutablePointer<FILE> { get }
   |                                          `- error: cannot find type 'FILE' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fstat.swift:13:26: error: cannot find type 'stat' in scope
11 | import Foundation
12 |
13 | public typealias Fstat = stat
   |                          `- error: cannot find type 'stat' in scope
14 |
15 | extension Fstat {
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Glob.swift:14:17: error: cannot find 'glob_t' in scope
12 |
13 | public class Glob: Sequence, IteratorProtocol {
14 |     var pglob = glob_t()
   |                 `- error: cannot find 'glob_t' in scope
15 |     var index = 0
16 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:26:54: error: cannot find type 'FILE' in scope
 24 | @_silgen_name("popen")
 25 | public func popen(_: UnsafePointer<CChar>,
 26 |     _: UnsafePointer<CChar>) -> UnsafeMutablePointer<FILE>!
    |                                                      `- error: cannot find type 'FILE' in scope
 27 | @_silgen_name("pclose")
 28 | public func pclose(_: UnsafeMutablePointer<FILE>?) -> CInt
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:28:44: error: cannot find type 'FILE' in scope
 26 |     _: UnsafePointer<CChar>) -> UnsafeMutablePointer<FILE>!
 27 | @_silgen_name("pclose")
 28 | public func pclose(_: UnsafeMutablePointer<FILE>?) -> CInt
    |                                            `- error: cannot find type 'FILE' in scope
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:78:47: error: cannot find type 'FILE' in scope
 76 |     #endif
 77 |
 78 |     open var fileStream: UnsafeMutablePointer<FILE>
    |                                               `- error: cannot find type 'FILE' in scope
 79 |     open var exitStatus: CInt?
 80 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:81:46: error: cannot find type 'FILE' in scope
 79 |     open var exitStatus: CInt?
 80 |
 81 |     public init(stream: UnsafeMutablePointer<FILE>) {
    |                                              `- error: cannot find type 'FILE' in scope
 82 |         Self.openFILEStreams += 1
 83 |         fileStream = stream
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:17:61: error: cannot find type 'FILE' in scope
15 |
16 | extension UnsafeMutablePointer: FILEStream,
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
   |                                                             `- error: cannot find type 'FILE' in scope
18 |     public typealias Element = String
19 |     public var fileStream: Self { return self }
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:16:1: error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'Sequence'
14 | }
15 |
16 | extension UnsafeMutablePointer: FILEStream,
   | `- error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'Sequence'
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
18 |     public typealias Element = String
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:16:1: error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'IteratorProtocol'
14 | }
15 |
16 | extension UnsafeMutablePointer: FILEStream,
   | |- error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'IteratorProtocol'
   | `- note: add stubs for conformance
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
18 |     public typealias Element = String
Swift.Sequence.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
  |                `- note: protocol requires nested type 'Element'
3 |
Swift.Sequence.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
  |                `- note: protocol requires nested type 'Iterator'
3 |
[11/22] Compiling Popen Topen.swift
[12/22] Compiling Popen Fopen.swift
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:53:47: error: cannot find type 'FILE' in scope
 51 |     }
 52 |
 53 |     open var fileStream: UnsafeMutablePointer<FILE>
    |                                               `- error: cannot find type 'FILE' in scope
 54 |
 55 |     public init?(stream: UnsafeMutablePointer<FILE>?) {
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:55:47: error: cannot find type 'FILE' in scope
 53 |     open var fileStream: UnsafeMutablePointer<FILE>
 54 |
 55 |     public init?(stream: UnsafeMutablePointer<FILE>?) {
    |                                               `- error: cannot find type 'FILE' in scope
 56 |         guard let stream = stream else { return nil }
 57 |         fileStream = stream
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:13:42: error: cannot find type 'FILE' in scope
11 |
12 | public protocol FILEStream {
13 |     var fileStream: UnsafeMutablePointer<FILE> { get }
   |                                          `- error: cannot find type 'FILE' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:62:14: error: no exact matches in call to initializer
 59 |     }
 60 |
 61 |     public convenience init?(path: String, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (path: String, mode: Fopen.FILEMode)
 62 |         self.init(stream: fopen(path, mode.mode))
    |              `- error: no exact matches in call to initializer
 63 |     }
 64 |
 65 |     public convenience init?(fd: CInt, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (fd: CInt, mode: Fopen.FILEMode)
 66 |         self.init(stream: fdopen(fd, mode.mode))
 67 |     }
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:66:14: error: no exact matches in call to initializer
 59 |     }
 60 |
 61 |     public convenience init?(path: String, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (path: String, mode: Fopen.FILEMode)
 62 |         self.init(stream: fopen(path, mode.mode))
 63 |     }
 64 |
 65 |     public convenience init?(fd: CInt, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (fd: CInt, mode: Fopen.FILEMode)
 66 |         self.init(stream: fdopen(fd, mode.mode))
    |              `- error: no exact matches in call to initializer
 67 |     }
 68 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:72:14: error: no exact matches in call to initializer
 59 |     }
 60 |
 61 |     public convenience init?(path: String, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (path: String, mode: Fopen.FILEMode)
 62 |         self.init(stream: fopen(path, mode.mode))
 63 |     }
 64 |
 65 |     public convenience init?(fd: CInt, mode: FILEMode = .read) {
    |                        `- note: candidate has partially matching parameter list (fd: CInt, mode: Fopen.FILEMode)
 66 |         self.init(stream: fdopen(fd, mode.mode))
 67 |     }
    :
 70 |     public convenience init?(buffer: UnsafeMutableRawPointer,
 71 |                              count: Int, mode: FILEMode = .read) {
 72 |         self.init(stream: fmemopen(buffer, count, mode.mode))
    |              `- error: no exact matches in call to initializer
 73 |     }
 74 |
[13/22] Compiling Popen Fstat.swift
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fstat.swift:13:26: error: cannot find type 'stat' in scope
11 | import Foundation
12 |
13 | public typealias Fstat = stat
   |                          `- error: cannot find type 'stat' in scope
14 |
15 | extension Fstat {
[15/22] Compiling Popen Glob.swift
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Glob.swift:14:17: error: cannot find 'glob_t' in scope
12 |
13 | public class Glob: Sequence, IteratorProtocol {
14 |     var pglob = glob_t()
   |                 `- error: cannot find 'glob_t' in scope
15 |     var index = 0
16 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Glob.swift:18:12: error: cannot find 'glob' in scope
16 |
17 |     public init?(pattern: String, flags: CInt = 0) {
18 |         if glob(pattern, flags, nil, &pglob) != 0 {
   |            `- error: cannot find 'glob' in scope
19 |             return nil
20 |         }
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Glob.swift:18:33: error: 'nil' requires a contextual type
16 |
17 |     public init?(pattern: String, flags: CInt = 0) {
18 |         if glob(pattern, flags, nil, &pglob) != 0 {
   |                                 `- error: 'nil' requires a contextual type
19 |             return nil
20 |         }
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Glob.swift:33:9: error: cannot find 'globfree' in scope
31 |
32 |     deinit {
33 |         globfree(&pglob)
   |         `- error: cannot find 'globfree' in scope
34 |     }
35 | }
[16/22] Compiling Popen Stream.swift
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:13:42: error: cannot find type 'FILE' in scope
11 |
12 | public protocol FILEStream {
13 |     var fileStream: UnsafeMutablePointer<FILE> { get }
   |                                          `- error: cannot find type 'FILE' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:17:61: error: cannot find type 'FILE' in scope
15 |
16 | extension UnsafeMutablePointer: FILEStream,
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
   |                                                             `- error: cannot find type 'FILE' in scope
18 |     public typealias Element = String
19 |     public var fileStream: Self { return self }
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:16:1: error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'Sequence'
14 | }
15 |
16 | extension UnsafeMutablePointer: FILEStream,
   | `- error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'Sequence'
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
18 |     public typealias Element = String
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:16:1: error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'IteratorProtocol'
14 | }
15 |
16 | extension UnsafeMutablePointer: FILEStream,
   | |- error: type 'UnsafeMutablePointer<Pointee>' does not conform to protocol 'IteratorProtocol'
   | `- note: add stubs for conformance
17 |     Swift.Sequence, Swift.IteratorProtocol where Pointee == FILE {
18 |     public typealias Element = String
Swift.Sequence.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol Sequence {
2 | associatedtype Element where Self.Element == Self.Iterator.Element}
  |                `- note: protocol requires nested type 'Element'
3 |
Swift.Sequence.Iterator:2:16: note: protocol requires nested type 'Iterator'
1 | protocol Sequence {
2 | associatedtype Iterator : IteratorProtocol}
  |                `- note: protocol requires nested type 'Iterator'
3 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:28:44: error: cannot find type 'FILE' in scope
 26 |     _: UnsafePointer<CChar>) -> UnsafeMutablePointer<FILE>!
 27 | @_silgen_name("pclose")
 28 | public func pclose(_: UnsafeMutablePointer<FILE>?) -> CInt
    |                                            `- error: cannot find type 'FILE' in scope
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
[17/22] Compiling Popen Popen.swift
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:26:54: error: cannot find type 'FILE' in scope
 24 | @_silgen_name("popen")
 25 | public func popen(_: UnsafePointer<CChar>,
 26 |     _: UnsafePointer<CChar>) -> UnsafeMutablePointer<FILE>!
    |                                                      `- error: cannot find type 'FILE' in scope
 27 | @_silgen_name("pclose")
 28 | public func pclose(_: UnsafeMutablePointer<FILE>?) -> CInt
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:28:44: error: cannot find type 'FILE' in scope
 26 |     _: UnsafePointer<CChar>) -> UnsafeMutablePointer<FILE>!
 27 | @_silgen_name("pclose")
 28 | public func pclose(_: UnsafeMutablePointer<FILE>?) -> CInt
    |                                            `- error: cannot find type 'FILE' in scope
 29 |
 30 | open class Popen: FILEStream, Sequence, IteratorProtocol {
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:78:47: error: cannot find type 'FILE' in scope
 76 |     #endif
 77 |
 78 |     open var fileStream: UnsafeMutablePointer<FILE>
    |                                               `- error: cannot find type 'FILE' in scope
 79 |     open var exitStatus: CInt?
 80 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:81:46: error: cannot find type 'FILE' in scope
 79 |     open var exitStatus: CInt?
 80 |
 81 |     public init(stream: UnsafeMutablePointer<FILE>) {
    |                                              `- error: cannot find type 'FILE' in scope
 82 |         Self.openFILEStreams += 1
 83 |         fileStream = stream
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Stream.swift:13:42: error: cannot find type 'FILE' in scope
11 |
12 | public protocol FILEStream {
13 |     var fileStream: UnsafeMutablePointer<FILE> { get }
   |                                          `- error: cannot find type 'FILE' in scope
14 | }
15 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:90:27: error: extra argument 'stream' in call
 88 |             return nil
 89 |         }
 90 |         self.init(stream: stream)
    |                           `- error: extra argument 'stream' in call
 91 |     }
 92 |
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Popen.swift:90:19: error: missing argument for parameter 'cmd' in call
 84 |     }
 85 |
 86 |     public convenience init?(cmd: String, mode: Fopen.FILEMode = .read) {
    |                        `- note: 'init(cmd:mode:)' declared here
 87 |         guard let stream = popen(cmd, mode.mode) else {
 88 |             return nil
 89 |         }
 90 |         self.init(stream: stream)
    |                   `- error: missing argument for parameter 'cmd' in call
 91 |     }
 92 |
[18/22] Compiling StringIndex StringIndex.swift
[19/22] Compiling StringIndex OffsetIndex.swift
[20/22] Compiling StringIndex Subscripts.swift
[21/23] Emitting module SwiftRegex
BUILD FAILURE 6.1 android