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 swift-doc, reference 1.0.0-rc.1 (f935eb), with Swift 6.1 for Android on 27 May 2025 18:33:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/SwiftDocOrg/swift-doc.git
Reference: 1.0.0-rc.1
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/SwiftDocOrg/swift-doc
 * tag               1.0.0-rc.1 -> FETCH_HEAD
HEAD is now at f935ebf Bump version to 1.0.0-rc.1
Cloned https://github.com/SwiftDocOrg/swift-doc.git
Revision (git rev-parse @):
f935ebfe524a0ff27bda07dadc3662e3e45b5125
SUCCESS checkout https://github.com/SwiftDocOrg/swift-doc.git at 1.0.0-rc.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftDocOrg/swift-doc.git
https://github.com/SwiftDocOrg/swift-doc.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "revision" : [
          "0.50300.0"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    },
    {
      "identity" : "swiftsemantics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "0.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftDocOrg/SwiftSemantics.git"
    },
    {
      "identity" : "commonmark",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "0.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftDocOrg/CommonMark.git"
    },
    {
      "identity" : "swiftmarkup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.0",
            "upper_bound" : "0.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftDocOrg/SwiftMarkup.git"
    },
    {
      "identity" : "graphviz",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.1",
            "upper_bound" : "0.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftDocOrg/GraphViz.git"
    },
    {
      "identity" : "hypertextliteral",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.2",
            "upper_bound" : "0.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NSHipster/HypertextLiteral.git"
    },
    {
      "identity" : "markup",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.2",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftDocOrg/Markup.git"
    },
    {
      "identity" : "swiftsyntaxhighlighter",
      "requirement" : {
        "revision" : [
          "1.2.2"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NSHipster/SwiftSyntaxHighlighter.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.3.2",
            "upper_bound" : "0.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.2",
            "upper_bound" : "1.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-log-github-actions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "0.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/NSHipster/swift-log-github-actions.git"
    }
  ],
  "manifest_display_name" : "swift-doc",
  "name" : "swift-doc",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "swift-doc",
      "targets" : [
        "swift-doc"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SwiftDoc",
      "targets" : [
        "SwiftDoc"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_doc",
      "module_type" : "SwiftTarget",
      "name" : "swift-doc",
      "path" : "Sources/swift-doc",
      "product_dependencies" : [
        "ArgumentParser",
        "SwiftSemantics",
        "SwiftMarkup",
        "CommonMarkBuilder",
        "HypertextLiteral",
        "Markup",
        "GraphViz",
        "SwiftSyntaxHighlighter",
        "Logging",
        "LoggingGitHubActions"
      ],
      "product_memberships" : [
        "swift-doc"
      ],
      "sources" : [
        "Extensions/CommonMark+Extensions.swift",
        "Extensions/DCOV+Extensions.swift",
        "Extensions/HypertextLiteral+Extensions.swift",
        "Extensions/StringProtocol+Extensions.swift",
        "Extensions/SwiftDoc+Extensions.swift",
        "Generated/CSS.swift",
        "Helpers/Await.swift",
        "Subcommands/Coverage.swift",
        "Subcommands/Diagram.swift",
        "Subcommands/Generate.swift",
        "Supporting Types/AccessLevel.swift",
        "Supporting Types/Component.swift",
        "Supporting Types/Components/Abstract.swift",
        "Supporting Types/Components/Declaration.swift",
        "Supporting Types/Components/Documentation.swift",
        "Supporting Types/Components/Members.swift",
        "Supporting Types/Components/OperatorImplementations.swift",
        "Supporting Types/Components/Relationships.swift",
        "Supporting Types/Components/Requirements.swift",
        "Supporting Types/Helpers.swift",
        "Supporting Types/Layout.swift",
        "Supporting Types/Page.swift",
        "Supporting Types/Pages/ExternalTypePage.swift",
        "Supporting Types/Pages/FooterPage.swift",
        "Supporting Types/Pages/GlobalPage.swift",
        "Supporting Types/Pages/HomePage.swift",
        "Supporting Types/Pages/OperatorPage.swift",
        "Supporting Types/Pages/SidebarPage.swift",
        "Supporting Types/Pages/TypePage.swift",
        "Supporting Types/Pages/TypealiasPage.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SwiftDoc",
        "DCOV"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftDocTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDocTests",
      "path" : "Tests/SwiftDocTests",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSemantics",
        "SwiftMarkup"
      ],
      "sources" : [
        "Helpers/temporaryFile.swift",
        "InterfaceTypeTests.swift",
        "NestedTypesTests.swift",
        "PathTests.swift",
        "SourceFileTests.swift"
      ],
      "target_dependencies" : [
        "SwiftDoc"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftDoc",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDoc",
      "path" : "Sources/SwiftDoc",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSemantics",
        "SwiftMarkup",
        "SwiftSyntaxHighlighter"
      ],
      "product_memberships" : [
        "swift-doc",
        "SwiftDoc"
      ],
      "sources" : [
        "API.swift",
        "CompilationCondition.swift",
        "Extensions/Array+Parallel.swift",
        "Extensions/Foundation+Extensions.swift",
        "Extensions/SwiftSemantics+Extensions.swift",
        "Extensions/SwiftSyntax+Extensions.swift",
        "Helpers.swift",
        "Identifier.swift",
        "Interface.swift",
        "Module.swift",
        "Relationship.swift",
        "SourceFile.swift",
        "Symbol.swift",
        "Unknown.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "EndToEndTests",
      "module_type" : "SwiftTarget",
      "name" : "EndToEndTests",
      "path" : "Tests/EndToEndTests",
      "sources" : [
        "CoverageSubcommandTests.swift",
        "DiagramSubcommandTests.swift",
        "GenerateSubcommandTests.swift",
        "Helpers/Bundle+Extensions.swift",
        "Helpers/Process+Extensions.swift",
        "Helpers/XCTestCase+Extensions.swift",
        "Helpers/temporaryDirectory.swift"
      ],
      "target_dependencies" : [
        "swift-doc"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DCOV",
      "module_type" : "SwiftTarget",
      "name" : "DCOV",
      "path" : "Sources/DCOV",
      "product_memberships" : [
        "swift-doc"
      ],
      "sources" : [
        "Entry.swift",
        "Ratio.swift",
        "Report.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/apple/swift-syntax.git
[1/70444] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (5.16s)
Fetching https://github.com/NSHipster/SwiftSyntaxHighlighter.git
[1/547] Fetching swiftsyntaxhighlighter
Fetched https://github.com/NSHipster/SwiftSyntaxHighlighter.git from cache (0.69s)
Fetching https://github.com/SwiftDocOrg/Markup.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/NSHipster/HypertextLiteral.git
Fetching https://github.com/SwiftDocOrg/GraphViz.git
Fetching https://github.com/NSHipster/swift-log-github-actions.git
[1/379] Fetching markup
[380/446] Fetching markup, swift-log-github-actions
[447/1256] Fetching markup, swift-log-github-actions, graphviz
[488/1392] Fetching markup, swift-log-github-actions, graphviz, hypertextliteral
[521/5228] Fetching markup, swift-log-github-actions, graphviz, hypertextliteral, swift-log
Fetched https://github.com/NSHipster/swift-log-github-actions.git from cache (0.39s)
Fetched https://github.com/SwiftDocOrg/GraphViz.git from cache (0.40s)
Fetching https://github.com/SwiftDocOrg/SwiftMarkup.git
Fetching https://github.com/SwiftDocOrg/CommonMark.git
[4249/19702] Fetching markup, hypertextliteral, swift-log, swift-argument-parser
Fetched https://github.com/SwiftDocOrg/Markup.git from cache (0.94s)
Fetched https://github.com/NSHipster/HypertextLiteral.git from cache (0.94s)
Fetched https://github.com/apple/swift-log.git from cache (0.95s)
Fetching https://github.com/SwiftDocOrg/SwiftSemantics.git
[1/369] Fetching swiftmarkup
[370/801] Fetching swiftmarkup, swiftsemantics
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.66s)
[608/1976] Fetching swiftmarkup, swiftsemantics, commonmark
Fetched https://github.com/SwiftDocOrg/SwiftMarkup.git from cache (1.45s)
Fetched https://github.com/SwiftDocOrg/SwiftSemantics.git from cache (0.91s)
Fetched https://github.com/SwiftDocOrg/CommonMark.git from cache (1.46s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 0.3.2 (2.76s)
Computing version for https://github.com/NSHipster/swift-log-github-actions.git
Computed https://github.com/NSHipster/swift-log-github-actions.git at 0.0.1 (0.63s)
Computing version for https://github.com/SwiftDocOrg/GraphViz.git
Computed https://github.com/SwiftDocOrg/GraphViz.git at 0.4.1 (0.55s)
Computing version for https://github.com/SwiftDocOrg/SwiftMarkup.git
Computed https://github.com/SwiftDocOrg/SwiftMarkup.git at 0.3.0 (0.66s)
Computing version for https://github.com/SwiftDocOrg/Markup.git
Computed https://github.com/SwiftDocOrg/Markup.git at 0.1.3 (1.64s)
Computing version for https://github.com/NSHipster/HypertextLiteral.git
Computed https://github.com/NSHipster/HypertextLiteral.git at 0.0.3 (1.05s)
Computing version for https://github.com/SwiftDocOrg/CommonMark.git
Computed https://github.com/SwiftDocOrg/CommonMark.git at 0.5.1 (0.63s)
Fetching https://github.com/SwiftDocOrg/swift-cmark.git
[1/12555] Fetching swift-cmark
Fetched https://github.com/SwiftDocOrg/swift-cmark.git from cache (0.76s)
Computing version for https://github.com/SwiftDocOrg/swift-cmark.git
Computed https://github.com/SwiftDocOrg/swift-cmark.git at 0.29.0+20210102.9c8096a (3.10s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.4 (0.62s)
Computing version for https://github.com/SwiftDocOrg/SwiftSemantics.git
Computed https://github.com/SwiftDocOrg/SwiftSemantics.git at 0.3.2 (0.59s)
Creating working copy for https://github.com/SwiftDocOrg/SwiftMarkup.git
Working copy of https://github.com/SwiftDocOrg/SwiftMarkup.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50300.0 (844574d)
Creating working copy for https://github.com/SwiftDocOrg/SwiftSemantics.git
Working copy of https://github.com/SwiftDocOrg/SwiftSemantics.git resolved at 0.3.2
Creating working copy for https://github.com/NSHipster/SwiftSyntaxHighlighter.git
Working copy of https://github.com/NSHipster/SwiftSyntaxHighlighter.git resolved at 1.2.2 (175923d)
Creating working copy for https://github.com/SwiftDocOrg/Markup.git
Working copy of https://github.com/SwiftDocOrg/Markup.git resolved at 0.1.3
Creating working copy for https://github.com/SwiftDocOrg/GraphViz.git
Working copy of https://github.com/SwiftDocOrg/GraphViz.git resolved at 0.4.1
Creating working copy for https://github.com/NSHipster/swift-log-github-actions.git
Working copy of https://github.com/NSHipster/swift-log-github-actions.git resolved at 0.0.1
Creating working copy for https://github.com/SwiftDocOrg/CommonMark.git
Working copy of https://github.com/SwiftDocOrg/CommonMark.git resolved at 0.5.1
Creating working copy for https://github.com/SwiftDocOrg/swift-cmark.git
Working copy of https://github.com/SwiftDocOrg/swift-cmark.git resolved at 0.29.0+20210102.9c8096a
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.4
Creating working copy for https://github.com/NSHipster/HypertextLiteral.git
Working copy of https://github.com/NSHipster/HypertextLiteral.git resolved at 0.0.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 0.3.2
warning: you may be able to install libcgraph using your system-packager:
    apt-get install graphviz-dev
warning: you may be able to install libcgraph using your system-packager:
    apt-get install graphviz-dev
Building for debugging...
[0/67] Write sources
[5/67] Compiling cmark xml.c
[6/67] Compiling cmark render.c
[7/67] Compiling cmark references.c
[8/67] Compiling cmark node.c
[9/67] Compiling cmark man.c
[10/67] Compiling cmark iterator.c
[11/67] Compiling cmark latex.c
[12/67] Compiling cmark html.c
[13/67] Compiling cmark utf8.c
[14/67] Compiling atomic-counter.c
[15/67] Write swift-version-24593BA9C3E375BF.txt
[16/67] Compiling cmark houdini_html_e.c
[17/67] Compiling cmark inlines.c
[18/67] Compiling cmark houdini_href_e.c
[19/67] Compiling cmark cmark_ctype.c
[19/67] Write sources
[28/67] Compiling cmark houdini_html_u.c
[29/67] Compiling cmark commonmark.c
[30/67] Write sources
[38/67] Compiling cmark cmark.c
[39/67] Compiling cmark buffer.c
[40/67] Compiling cmark blocks.c
[41/67] Compiling cmark scanners.c
[43/215] Compiling Logging Logging.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1052:58: error: cannot find 'systemStderr' in scope
1050 |     }
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1054 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1053:58: error: cannot find 'systemStdout' in scope
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1054 |
1055 |     /// Defines the flushing strategy for the underlying stream.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1018:13: error: cannot find 'flockfile' in scope
1016 |             // no file locking on WASI
1017 |             #else
1018 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1019 |             #endif
1020 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1029:17: error: cannot find 'fwrite' in scope
1027 |                 #endif
1028 |             }
1029 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1030 |             if case .always = self.flushMode {
1031 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1039:13: error: cannot find 'fflush' in scope
1037 |     /// This has no effect when using the `.always` flush mode, which is the default
1038 |     internal func flush() {
1039 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1040 |     }
1041 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1157:25: error: cannot find 'time' in scope
1155 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1156 |         #else
1157 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1157:30: error: 'nil' requires a contextual type
1155 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1156 |         #else
1157 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1158:25: error: cannot find 'localtime' in scope
1156 |         #else
1157 |         var timestamp = time(nil)
1158 |         let localTime = localtime(&timestamp)
     |                         `- error: cannot find 'localtime' in scope
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
1160 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1159:9: error: cannot find 'strftime' in scope
1157 |         var timestamp = time(nil)
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1160 |         #endif
1161 |         return buffer.withUnsafeBufferPointer {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/215] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:52:49: error: cannot find type 'pthread_mutex_t' in scope
 50 |         UnsafeMutablePointer.allocate(capacity: 1)
 51 |     #else
 52 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 53 |         UnsafeMutablePointer.allocate(capacity: 1)
 54 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:146:50: error: cannot find type 'pthread_rwlock_t' in scope
144 |     fileprivate var shared: Bool = true
145 |     #else
146 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
147 |         UnsafeMutablePointer.allocate(capacity: 1)
148 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1052:58: error: cannot find 'systemStderr' in scope
1050 |     }
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1054 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1053:58: error: cannot find 'systemStdout' in scope
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1054 |
1055 |     /// Defines the flushing strategy for the underlying stream.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
[45/215] Emitting module DCOV
[46/215] Compiling DCOV Entry.swift
[47/215] Compiling CommonMark List.swift
[48/215] Compiling CommonMark Paragraph.swift
[49/215] Compiling CommonMark ThematicBreak.swift
[50/215] Compiling CommonMark Document.swift
[51/217] Compiling DCOV Ratio.swift
[52/217] Compiling DCOV Report.swift
[53/218] Compiling CommonMark Strong.swift
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
[54/218] Compiling CommonMark Text.swift
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
[55/218] Compiling CommonMark Node.swift
/host/spi-builder-workspace/.build/checkouts/CommonMark/Sources/CommonMark/Nodes/Node.swift:218:13: error: cannot find 'free' in scope
216 |
217 |         defer {
218 |             free(cString)
    |             `- error: cannot find 'free' in scope
219 |         }
220 |
[56/218] Compiling Logging Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:52:49: error: cannot find type 'pthread_mutex_t' in scope
 50 |         UnsafeMutablePointer.allocate(capacity: 1)
 51 |     #else
 52 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 53 |         UnsafeMutablePointer.allocate(capacity: 1)
 54 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:146:50: error: cannot find type 'pthread_rwlock_t' in scope
144 |     fileprivate var shared: Bool = true
145 |     #else
146 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
147 |         UnsafeMutablePointer.allocate(capacity: 1)
148 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
 59 |         InitializeSRWLock(self.mutex)
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 64 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:9: error: cannot find 'pthread_mutexattr_settype' in scope
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:43: error: cannot infer contextual base in reference to member 'init'
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:65:19: error: cannot find 'pthread_mutex_init' in scope
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 66 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 67 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:74:19: error: cannot find 'pthread_mutex_destroy' in scope
 72 |         // SRWLOCK does not need to be free'd
 73 |         #else
 74 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 75 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 76 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
 86 |         AcquireSRWLockExclusive(self.mutex)
 87 |         #else
 88 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 89 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 90 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_unlock' in scope
 99 |         ReleaseSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:157:19: error: cannot find 'pthread_rwlock_init' in scope
155 |         InitializeSRWLock(self.rwlock)
156 |         #else
157 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
158 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
159 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:157:52: error: 'nil' requires a contextual type
155 |         InitializeSRWLock(self.rwlock)
156 |         #else
157 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
158 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
159 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:168:19: error: cannot find 'pthread_rwlock_destroy' in scope
166 |         // SRWLOCK does not need to be free'd
167 |         #else
168 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
169 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
170 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:185:19: error: cannot find 'pthread_rwlock_rdlock' in scope
183 |         self.shared = true
184 |         #else
185 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
186 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
187 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_wrlock' in scope
199 |         self.shared = false
200 |         #else
201 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:221:19: error: cannot find 'pthread_rwlock_unlock' in scope
219 |         }
220 |         #else
221 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
222 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
223 |         #endif
[57/218] Compiling Logging LogHandler.swift
[58/219] Emitting module CommonMark
[59/219] Compiling CommonMark Code.swift
[60/219] Compiling CommonMark Emphasis.swift
[61/219] Compiling CommonMark HardLineBreak.swift
[62/219] Compiling CommonMark Image.swift
[63/219] Compiling CommonMark BlockQuote.swift
[64/219] Compiling CommonMark CodeBlock.swift
[65/219] Compiling CommonMark HTMLBlock.swift
[66/219] Compiling CommonMark Heading.swift
[67/219] Compiling CommonMark Link.swift
[68/219] Compiling CommonMark RawHTML.swift
[69/219] Compiling CommonMark SoftLineBreak.swift
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
 29 | #endif
 30 | #ifdef LIBXML_ICU_ENABLED
 31 | #include <unicode/ucnv.h>
    |          `- error: 'unicode/ucnv.h' file not found
 32 | #endif
 33 | #ifdef __cplusplus
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: you may be able to install libcgraph using your system-packager:
    apt-get install graphviz-dev
warning: you may be able to install libcgraph using your system-packager:
    apt-get install graphviz-dev
[0/1] Planning build
Building for debugging...
[0/26] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/174] Emitting module Logging
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:52:49: error: cannot find type 'pthread_mutex_t' in scope
 50 |         UnsafeMutablePointer.allocate(capacity: 1)
 51 |     #else
 52 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 53 |         UnsafeMutablePointer.allocate(capacity: 1)
 54 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:146:50: error: cannot find type 'pthread_rwlock_t' in scope
144 |     fileprivate var shared: Bool = true
145 |     #else
146 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
147 |         UnsafeMutablePointer.allocate(capacity: 1)
148 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1052:58: error: cannot find 'systemStderr' in scope
1050 |     }
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1054 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1053:58: error: cannot find 'systemStdout' in scope
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1054 |
1055 |     /// Defines the flushing strategy for the underlying stream.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
[3/174] Compiling Logging Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:38:8: error: Unsupported runtime
 36 | import Glibc
 37 | #else
 38 | #error("Unsupported runtime")
    |        `- error: Unsupported runtime
 39 | #endif
 40 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:52:49: error: cannot find type 'pthread_mutex_t' in scope
 50 |         UnsafeMutablePointer.allocate(capacity: 1)
 51 |     #else
 52 |     fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
    |                                                 `- error: cannot find type 'pthread_mutex_t' in scope
 53 |         UnsafeMutablePointer.allocate(capacity: 1)
 54 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:146:50: error: cannot find type 'pthread_rwlock_t' in scope
144 |     fileprivate var shared: Bool = true
145 |     #else
146 |     fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
    |                                                  `- error: cannot find type 'pthread_rwlock_t' in scope
147 |         UnsafeMutablePointer.allocate(capacity: 1)
148 |     #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:61:20: error: cannot find 'pthread_mutexattr_t' in scope
 59 |         InitializeSRWLock(self.mutex)
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
    |                    `- error: cannot find 'pthread_mutexattr_t' in scope
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:62:9: error: cannot find 'pthread_mutexattr_init' in scope
 60 |         #else
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
    |         `- error: cannot find 'pthread_mutexattr_init' in scope
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 64 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:9: error: cannot find 'pthread_mutexattr_settype' in scope
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |         `- error: cannot find 'pthread_mutexattr_settype' in scope
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                                `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:63:43: error: cannot infer contextual base in reference to member 'init'
 61 |         var attr = pthread_mutexattr_t()
 62 |         pthread_mutexattr_init(&attr)
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
    |                                           `- error: cannot infer contextual base in reference to member 'init'
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:65:19: error: cannot find 'pthread_mutex_init' in scope
 63 |         pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
 64 |
 65 |         let err = pthread_mutex_init(self.mutex, &attr)
    |                   `- error: cannot find 'pthread_mutex_init' in scope
 66 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 67 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:74:19: error: cannot find 'pthread_mutex_destroy' in scope
 72 |         // SRWLOCK does not need to be free'd
 73 |         #else
 74 |         let err = pthread_mutex_destroy(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_destroy' in scope
 75 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 76 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:88:19: error: cannot find 'pthread_mutex_lock' in scope
 86 |         AcquireSRWLockExclusive(self.mutex)
 87 |         #else
 88 |         let err = pthread_mutex_lock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_lock' in scope
 89 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
 90 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:101:19: error: cannot find 'pthread_mutex_unlock' in scope
 99 |         ReleaseSRWLockExclusive(self.mutex)
100 |         #else
101 |         let err = pthread_mutex_unlock(self.mutex)
    |                   `- error: cannot find 'pthread_mutex_unlock' in scope
102 |         precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
103 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:157:19: error: cannot find 'pthread_rwlock_init' in scope
155 |         InitializeSRWLock(self.rwlock)
156 |         #else
157 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                   `- error: cannot find 'pthread_rwlock_init' in scope
158 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
159 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:157:52: error: 'nil' requires a contextual type
155 |         InitializeSRWLock(self.rwlock)
156 |         #else
157 |         let err = pthread_rwlock_init(self.rwlock, nil)
    |                                                    `- error: 'nil' requires a contextual type
158 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
159 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:168:19: error: cannot find 'pthread_rwlock_destroy' in scope
166 |         // SRWLOCK does not need to be free'd
167 |         #else
168 |         let err = pthread_rwlock_destroy(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_destroy' in scope
169 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
170 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:185:19: error: cannot find 'pthread_rwlock_rdlock' in scope
183 |         self.shared = true
184 |         #else
185 |         let err = pthread_rwlock_rdlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_rdlock' in scope
186 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
187 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:201:19: error: cannot find 'pthread_rwlock_wrlock' in scope
199 |         self.shared = false
200 |         #else
201 |         let err = pthread_rwlock_wrlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_wrlock' in scope
202 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
203 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Locks.swift:221:19: error: cannot find 'pthread_rwlock_unlock' in scope
219 |         }
220 |         #else
221 |         let err = pthread_rwlock_unlock(self.rwlock)
    |                   `- error: cannot find 'pthread_rwlock_unlock' in scope
222 |         precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
223 |         #endif
[4/174] Compiling Logging LogHandler.swift
[5/174] Compiling Logging Logging.swift
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:24:8: error: Unsupported runtime
  22 | import WASILibc
  23 | #else
  24 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
  25 | #endif
  26 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1052:58: error: cannot find 'systemStderr' in scope
1050 |     }
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
     |                                                          `- error: cannot find 'systemStderr' in scope
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
1054 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1053:58: error: cannot find 'systemStdout' in scope
1051 |
1052 |     internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
1053 |     internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
     |                                                          `- error: cannot find 'systemStdout' in scope
1054 |
1055 |     /// Defines the flushing strategy for the underlying stream.
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1076:8: error: Unsupported runtime
1074 | let systemStdout = WASILibc.stdout!
1075 | #else
1076 | #error("Unsupported runtime")
     |        `- error: Unsupported runtime
1077 | #endif
1078 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1018:13: error: cannot find 'flockfile' in scope
1016 |             // no file locking on WASI
1017 |             #else
1018 |             flockfile(self.file)
     |             `- error: cannot find 'flockfile' in scope
1019 |             #endif
1020 |             defer {
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1029:17: error: cannot find 'fwrite' in scope
1027 |                 #endif
1028 |             }
1029 |             _ = fwrite(utf8Bytes.baseAddress!, 1, utf8Bytes.count, self.file)
     |                 `- error: cannot find 'fwrite' in scope
1030 |             if case .always = self.flushMode {
1031 |                 self.flush()
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1039:13: error: cannot find 'fflush' in scope
1037 |     /// This has no effect when using the `.always` flush mode, which is the default
1038 |     internal func flush() {
1039 |         _ = fflush(self.file)
     |             `- error: cannot find 'fflush' in scope
1040 |     }
1041 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1157:25: error: cannot find 'time' in scope
1155 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1156 |         #else
1157 |         var timestamp = time(nil)
     |                         `- error: cannot find 'time' in scope
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1157:30: error: 'nil' requires a contextual type
1155 |         _ = strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", &localTime)
1156 |         #else
1157 |         var timestamp = time(nil)
     |                              `- error: 'nil' requires a contextual type
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1158:25: error: cannot find 'localtime' in scope
1156 |         #else
1157 |         var timestamp = time(nil)
1158 |         let localTime = localtime(&timestamp)
     |                         `- error: cannot find 'localtime' in scope
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
1160 |         #endif
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:1159:9: error: cannot find 'strftime' in scope
1157 |         var timestamp = time(nil)
1158 |         let localTime = localtime(&timestamp)
1159 |         strftime(&buffer, buffer.count, "%Y-%m-%dT%H:%M:%S%z", localTime)
     |         `- error: cannot find 'strftime' in scope
1160 |         #endif
1161 |         return buffer.withUnsafeBufferPointer {
[6/174] Compiling DCOV Ratio.swift
[7/174] Compiling DCOV Report.swift
[8/174] Emitting module DCOV
[9/174] Compiling DCOV Entry.swift
[10/175] Compiling ArgumentParser EnumerableFlag.swift
[11/175] Compiling ArgumentParser ExpressibleByArgument.swift
[12/175] Compiling ArgumentParser ParsableArguments.swift
[13/175] Compiling ArgumentParser ParsableArgumentsValidation.swift
[14/175] Compiling ArgumentParser ParsableCommand.swift
[15/175] Compiling ArgumentParser ArgumentDecoder.swift
[16/175] Compiling ArgumentParser ArgumentDefinition.swift
[17/178] Emitting module CommonMark
[18/178] Compiling ArgumentParser ZshCompletionsGenerator.swift
[19/178] Compiling ArgumentParser Argument.swift
[20/178] Compiling ArgumentParser SplitArguments.swift
/usr/include/libxml2/libxml/encoding.h:31:10: error: 'unicode/ucnv.h' file not found
 29 | #endif
 30 | #ifdef LIBXML_ICU_ENABLED
 31 | #include <unicode/ucnv.h>
    |          `- error: 'unicode/ucnv.h' file not found
 32 | #endif
 33 | #ifdef __cplusplus
BUILD FAILURE 6.1 android