Build Information
Failed to build Nodal, reference main (c06334), with Swift 6.1 for Android on 2 Feb 2026 01:37:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tomasf/Nodal.git
Reference: main
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/tomasf/Nodal
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c063344 Merge branch 'dev'
Submodule path 'Sources/pugixml': checked out 'ee86beb30e4973f5feffe3ce63bfa4fbadf72f38'
Submodule 'Sources/pugixml' (https://tomasf@github.com/zeux/pugixml.git) registered for path 'Sources/pugixml'
Cloning into '/host/spi-builder-workspace/Sources/pugixml'...
Cloned https://github.com/tomasf/Nodal.git
Revision (git rev-parse @):
c063344c9679f327de484f3595a8dcf97f35db8a
SUCCESS checkout https://github.com/tomasf/Nodal.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/tomasf/Nodal.git
https://github.com/tomasf/Nodal.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "Nodal",
"name" : "Nodal",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Nodal",
"targets" : [
"Nodal"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "pugixml",
"module_type" : "ClangTarget",
"name" : "pugixml",
"path" : "Sources/pugixml",
"product_memberships" : [
"Nodal"
],
"sources" : [
"src/pugixml.cpp"
],
"type" : "library"
},
{
"c99name" : "Tests",
"module_type" : "SwiftTarget",
"name" : "Tests",
"path" : "Sources/Tests",
"sources" : [
"CodableProtocolTests.swift",
"ErrorTests.swift",
"HierarchyTests.swift",
"NamespaceTests.swift",
"OutputTests.swift",
"ParsingTests.swift",
"XPathTests.swift"
],
"target_dependencies" : [
"Nodal"
],
"type" : "test"
},
{
"c99name" : "Nodal",
"module_type" : "SwiftTarget",
"name" : "Nodal",
"path" : "Sources/Nodal",
"product_memberships" : [
"Nodal"
],
"sources" : [
"Codable/Element/Node+XMLElementCodable.swift",
"Codable/Element/XMLElementCodable.swift",
"Codable/Value/Foundation+XMLValueCodable.swift",
"Codable/Value/Node+XMLValueCodable.swift",
"Codable/Value/Node+XMLValueCodableArray.swift",
"Codable/Value/XMLDataFormat.swift",
"Codable/Value/XMLDateFormat.swift",
"Codable/Value/XMLValueCodable.swift",
"Document/Document+Errors.swift",
"Document/Document+Input.swift",
"Document/Document+Namespaces.swift",
"Document/Document+Output.swift",
"Document/Document+PendingNameRecords.swift",
"Document/Document+RootElement.swift",
"Document/Document.ParseOptions.swift",
"Document/Document.swift",
"Document/PendingNameRecord.swift",
"Encoding.swift",
"ExpandedName+Pending.swift",
"ExpandedName.swift",
"Extensions/Extensions.swift",
"Extensions/Pugi.swift",
"Extensions/PugiNode.swift",
"Node/Node+Attributes.swift",
"Node/Node+Children.swift",
"Node/Node+Elements.swift",
"Node/Node+Hierarchy.swift",
"Node/Node+MoveCopy.swift",
"Node/Node+Names.swift",
"Node/Node+Namespaces.swift",
"Node/Node.Kind.swift",
"Node/Node.swift",
"OutputOptions.swift",
"Sequences/AncestorAttributeSequence.swift",
"Sequences/AttributeSequence.swift",
"Sequences/ChildSequence.swift",
"Sequences/DescendantSequence.swift",
"Sequences/ReverseSiblingSequence.swift",
"XPath/Node+xPath.swift",
"XPath/XPathQuery.swift",
"XPath/XPathResults.swift",
"XPath/XPathVariableValue.swift"
],
"target_dependencies" : [
"pugixml",
"Bridge"
],
"type" : "library"
},
{
"c99name" : "Bridge",
"module_type" : "ClangTarget",
"name" : "Bridge",
"path" : "Sources/bridge",
"product_memberships" : [
"Nodal"
],
"sources" : [
"bridge.cpp"
],
"target_dependencies" : [
"pugixml"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling Bridge bridge.cpp
[3/4] Compiling pugixml.cpp
[5/42] Compiling Nodal Encoding.swift
/host/spi-builder-workspace/Sources/Nodal/Extensions/Extensions.swift:34:31: error: ambiguous use of 'strstr'
32 | extension UnsafePointer<CChar> {
33 | var qualifiedNameParts: (prefix: String?, localName: String) {
34 | guard let separator = strstr(self, ":"),
| `- error: ambiguous use of 'strstr'
35 | let prefix = String(data: Data(bytes: self, count: distance(to: separator)), encoding: .utf8)
36 | else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/string.h:117:17: note: found this candidate in module '_string'
115 | char* _Nullable strdup(const char* _Nonnull __s);
116 |
117 | char* _Nullable strstr(const char* _Nonnull __haystack, const char* _Nonnull __needle) __attribute_pure__;
| `- note: found this candidate in module '_string'
118 | #if defined(__cplusplus)
119 | extern "C++" char* _Nullable strcasestr(char* _Nonnull, const char* _Nonnull) __RENAME(strcasestr) __attribute_pure__;
:
277 |
278 | inline __always_inline
279 | const char* _Nullable strstr(const char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload {
| `- note: found this candidate in module '_string'
280 | return __bionic_strstr(h, n);
281 | }
[6/42] Compiling Nodal ExpandedName+Pending.swift
/host/spi-builder-workspace/Sources/Nodal/Extensions/Extensions.swift:34:31: error: ambiguous use of 'strstr'
32 | extension UnsafePointer<CChar> {
33 | var qualifiedNameParts: (prefix: String?, localName: String) {
34 | guard let separator = strstr(self, ":"),
| `- error: ambiguous use of 'strstr'
35 | let prefix = String(data: Data(bytes: self, count: distance(to: separator)), encoding: .utf8)
36 | else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/string.h:117:17: note: found this candidate in module '_string'
115 | char* _Nullable strdup(const char* _Nonnull __s);
116 |
117 | char* _Nullable strstr(const char* _Nonnull __haystack, const char* _Nonnull __needle) __attribute_pure__;
| `- note: found this candidate in module '_string'
118 | #if defined(__cplusplus)
119 | extern "C++" char* _Nullable strcasestr(char* _Nonnull, const char* _Nonnull) __RENAME(strcasestr) __attribute_pure__;
:
277 |
278 | inline __always_inline
279 | const char* _Nullable strstr(const char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload {
| `- note: found this candidate in module '_string'
280 | return __bionic_strstr(h, n);
281 | }
[7/42] Compiling Nodal ExpandedName.swift
/host/spi-builder-workspace/Sources/Nodal/Extensions/Extensions.swift:34:31: error: ambiguous use of 'strstr'
32 | extension UnsafePointer<CChar> {
33 | var qualifiedNameParts: (prefix: String?, localName: String) {
34 | guard let separator = strstr(self, ":"),
| `- error: ambiguous use of 'strstr'
35 | let prefix = String(data: Data(bytes: self, count: distance(to: separator)), encoding: .utf8)
36 | else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/string.h:117:17: note: found this candidate in module '_string'
115 | char* _Nullable strdup(const char* _Nonnull __s);
116 |
117 | char* _Nullable strstr(const char* _Nonnull __haystack, const char* _Nonnull __needle) __attribute_pure__;
| `- note: found this candidate in module '_string'
118 | #if defined(__cplusplus)
119 | extern "C++" char* _Nullable strcasestr(char* _Nonnull, const char* _Nonnull) __RENAME(strcasestr) __attribute_pure__;
:
277 |
278 | inline __always_inline
279 | const char* _Nullable strstr(const char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload {
| `- note: found this candidate in module '_string'
280 | return __bionic_strstr(h, n);
281 | }
[8/42] Compiling Nodal Extensions.swift
/host/spi-builder-workspace/Sources/Nodal/Extensions/Extensions.swift:34:31: error: ambiguous use of 'strstr'
32 | extension UnsafePointer<CChar> {
33 | var qualifiedNameParts: (prefix: String?, localName: String) {
34 | guard let separator = strstr(self, ":"),
| `- error: ambiguous use of 'strstr'
35 | let prefix = String(data: Data(bytes: self, count: distance(to: separator)), encoding: .utf8)
36 | else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/string.h:117:17: note: found this candidate in module '_string'
115 | char* _Nullable strdup(const char* _Nonnull __s);
116 |
117 | char* _Nullable strstr(const char* _Nonnull __haystack, const char* _Nonnull __needle) __attribute_pure__;
| `- note: found this candidate in module '_string'
118 | #if defined(__cplusplus)
119 | extern "C++" char* _Nullable strcasestr(char* _Nonnull, const char* _Nonnull) __RENAME(strcasestr) __attribute_pure__;
:
277 |
278 | inline __always_inline
279 | const char* _Nullable strstr(const char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload {
| `- note: found this candidate in module '_string'
280 | return __bionic_strstr(h, n);
281 | }
[9/42] Compiling Nodal Pugi.swift
/host/spi-builder-workspace/Sources/Nodal/Extensions/Extensions.swift:34:31: error: ambiguous use of 'strstr'
32 | extension UnsafePointer<CChar> {
33 | var qualifiedNameParts: (prefix: String?, localName: String) {
34 | guard let separator = strstr(self, ":"),
| `- error: ambiguous use of 'strstr'
35 | let prefix = String(data: Data(bytes: self, count: distance(to: separator)), encoding: .utf8)
36 | else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/string.h:117:17: note: found this candidate in module '_string'
115 | char* _Nullable strdup(const char* _Nonnull __s);
116 |
117 | char* _Nullable strstr(const char* _Nonnull __haystack, const char* _Nonnull __needle) __attribute_pure__;
| `- note: found this candidate in module '_string'
118 | #if defined(__cplusplus)
119 | extern "C++" char* _Nullable strcasestr(char* _Nonnull, const char* _Nonnull) __RENAME(strcasestr) __attribute_pure__;
:
277 |
278 | inline __always_inline
279 | const char* _Nullable strstr(const char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload {
| `- note: found this candidate in module '_string'
280 | return __bionic_strstr(h, n);
281 | }
[10/47] Compiling Nodal ReverseSiblingSequence.swift
[11/47] Compiling Nodal Node+xPath.swift
[12/47] Compiling Nodal XPathQuery.swift
[13/47] Compiling Nodal XPathResults.swift
[14/47] Compiling Nodal XPathVariableValue.swift
[15/47] Compiling Nodal PugiNode.swift
[16/47] Compiling Nodal Node+Attributes.swift
[17/47] Compiling Nodal Node+Children.swift
[18/47] Compiling Nodal Node+Elements.swift
[19/47] Compiling Nodal Node+Hierarchy.swift
[20/47] Compiling Nodal XMLDateFormat.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[21/47] Compiling Nodal XMLValueCodable.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[22/47] Compiling Nodal Document+Errors.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[23/47] Compiling Nodal Document+Input.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[24/47] Compiling Nodal Document+Namespaces.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[25/47] Compiling Nodal Document+Output.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[26/47] Compiling Nodal OutputOptions.swift
[27/47] Compiling Nodal AncestorAttributeSequence.swift
[28/47] Compiling Nodal AttributeSequence.swift
[29/47] Compiling Nodal ChildSequence.swift
[30/47] Compiling Nodal DescendantSequence.swift
[31/47] Compiling Nodal Document+PendingNameRecords.swift
[32/47] Compiling Nodal Document+RootElement.swift
[33/47] Compiling Nodal Document.ParseOptions.swift
[34/47] Compiling Nodal Document.swift
[35/47] Compiling Nodal PendingNameRecord.swift
[36/47] Compiling Nodal Node+MoveCopy.swift
[37/47] Compiling Nodal Node+Names.swift
[38/47] Compiling Nodal Node+Namespaces.swift
[39/47] Compiling Nodal Node.Kind.swift
[40/47] Compiling Nodal Node.swift
[41/47] Compiling Nodal Node+XMLElementCodable.swift
[42/47] Compiling Nodal XMLElementCodable.swift
[43/47] Compiling Nodal Foundation+XMLValueCodable.swift
[44/47] Compiling Nodal Node+XMLValueCodable.swift
[45/47] Compiling Nodal Node+XMLValueCodableArray.swift
[46/47] Compiling Nodal XMLDataFormat.swift
[47/47] Emitting module Nodal
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
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/39] Emitting module Nodal
[3/44] Compiling Nodal PugiNode.swift
[4/44] Compiling Nodal Node+Attributes.swift
[5/44] Compiling Nodal Node+Children.swift
[6/44] Compiling Nodal Node+Elements.swift
[7/44] Compiling Nodal Node+Hierarchy.swift
[8/44] Compiling Nodal Encoding.swift
/host/spi-builder-workspace/Sources/Nodal/Extensions/Extensions.swift:34:31: error: ambiguous use of 'strstr'
32 | extension UnsafePointer<CChar> {
33 | var qualifiedNameParts: (prefix: String?, localName: String) {
34 | guard let separator = strstr(self, ":"),
| `- error: ambiguous use of 'strstr'
35 | let prefix = String(data: Data(bytes: self, count: distance(to: separator)), encoding: .utf8)
36 | else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/string.h:117:17: note: found this candidate in module '_string'
115 | char* _Nullable strdup(const char* _Nonnull __s);
116 |
117 | char* _Nullable strstr(const char* _Nonnull __haystack, const char* _Nonnull __needle) __attribute_pure__;
| `- note: found this candidate in module '_string'
118 | #if defined(__cplusplus)
119 | extern "C++" char* _Nullable strcasestr(char* _Nonnull, const char* _Nonnull) __RENAME(strcasestr) __attribute_pure__;
:
277 |
278 | inline __always_inline
279 | const char* _Nullable strstr(const char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload {
| `- note: found this candidate in module '_string'
280 | return __bionic_strstr(h, n);
281 | }
[9/44] Compiling Nodal ExpandedName+Pending.swift
/host/spi-builder-workspace/Sources/Nodal/Extensions/Extensions.swift:34:31: error: ambiguous use of 'strstr'
32 | extension UnsafePointer<CChar> {
33 | var qualifiedNameParts: (prefix: String?, localName: String) {
34 | guard let separator = strstr(self, ":"),
| `- error: ambiguous use of 'strstr'
35 | let prefix = String(data: Data(bytes: self, count: distance(to: separator)), encoding: .utf8)
36 | else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/string.h:117:17: note: found this candidate in module '_string'
115 | char* _Nullable strdup(const char* _Nonnull __s);
116 |
117 | char* _Nullable strstr(const char* _Nonnull __haystack, const char* _Nonnull __needle) __attribute_pure__;
| `- note: found this candidate in module '_string'
118 | #if defined(__cplusplus)
119 | extern "C++" char* _Nullable strcasestr(char* _Nonnull, const char* _Nonnull) __RENAME(strcasestr) __attribute_pure__;
:
277 |
278 | inline __always_inline
279 | const char* _Nullable strstr(const char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload {
| `- note: found this candidate in module '_string'
280 | return __bionic_strstr(h, n);
281 | }
[10/44] Compiling Nodal ExpandedName.swift
/host/spi-builder-workspace/Sources/Nodal/Extensions/Extensions.swift:34:31: error: ambiguous use of 'strstr'
32 | extension UnsafePointer<CChar> {
33 | var qualifiedNameParts: (prefix: String?, localName: String) {
34 | guard let separator = strstr(self, ":"),
| `- error: ambiguous use of 'strstr'
35 | let prefix = String(data: Data(bytes: self, count: distance(to: separator)), encoding: .utf8)
36 | else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/string.h:117:17: note: found this candidate in module '_string'
115 | char* _Nullable strdup(const char* _Nonnull __s);
116 |
117 | char* _Nullable strstr(const char* _Nonnull __haystack, const char* _Nonnull __needle) __attribute_pure__;
| `- note: found this candidate in module '_string'
118 | #if defined(__cplusplus)
119 | extern "C++" char* _Nullable strcasestr(char* _Nonnull, const char* _Nonnull) __RENAME(strcasestr) __attribute_pure__;
:
277 |
278 | inline __always_inline
279 | const char* _Nullable strstr(const char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload {
| `- note: found this candidate in module '_string'
280 | return __bionic_strstr(h, n);
281 | }
[11/44] Compiling Nodal Extensions.swift
/host/spi-builder-workspace/Sources/Nodal/Extensions/Extensions.swift:34:31: error: ambiguous use of 'strstr'
32 | extension UnsafePointer<CChar> {
33 | var qualifiedNameParts: (prefix: String?, localName: String) {
34 | guard let separator = strstr(self, ":"),
| `- error: ambiguous use of 'strstr'
35 | let prefix = String(data: Data(bytes: self, count: distance(to: separator)), encoding: .utf8)
36 | else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/string.h:117:17: note: found this candidate in module '_string'
115 | char* _Nullable strdup(const char* _Nonnull __s);
116 |
117 | char* _Nullable strstr(const char* _Nonnull __haystack, const char* _Nonnull __needle) __attribute_pure__;
| `- note: found this candidate in module '_string'
118 | #if defined(__cplusplus)
119 | extern "C++" char* _Nullable strcasestr(char* _Nonnull, const char* _Nonnull) __RENAME(strcasestr) __attribute_pure__;
:
277 |
278 | inline __always_inline
279 | const char* _Nullable strstr(const char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload {
| `- note: found this candidate in module '_string'
280 | return __bionic_strstr(h, n);
281 | }
[12/44] Compiling Nodal Pugi.swift
/host/spi-builder-workspace/Sources/Nodal/Extensions/Extensions.swift:34:31: error: ambiguous use of 'strstr'
32 | extension UnsafePointer<CChar> {
33 | var qualifiedNameParts: (prefix: String?, localName: String) {
34 | guard let separator = strstr(self, ":"),
| `- error: ambiguous use of 'strstr'
35 | let prefix = String(data: Data(bytes: self, count: distance(to: separator)), encoding: .utf8)
36 | else {
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/string.h:117:17: note: found this candidate in module '_string'
115 | char* _Nullable strdup(const char* _Nonnull __s);
116 |
117 | char* _Nullable strstr(const char* _Nonnull __haystack, const char* _Nonnull __needle) __attribute_pure__;
| `- note: found this candidate in module '_string'
118 | #if defined(__cplusplus)
119 | extern "C++" char* _Nullable strcasestr(char* _Nonnull, const char* _Nonnull) __RENAME(strcasestr) __attribute_pure__;
:
277 |
278 | inline __always_inline
279 | const char* _Nullable strstr(const char* _Nonnull h, const char* _Nonnull n) __prefer_this_overload {
| `- note: found this candidate in module '_string'
280 | return __bionic_strstr(h, n);
281 | }
[13/44] Compiling Nodal Node+XMLElementCodable.swift
[14/44] Compiling Nodal XMLElementCodable.swift
[15/44] Compiling Nodal Foundation+XMLValueCodable.swift
[16/44] Compiling Nodal Node+XMLValueCodable.swift
[17/44] Compiling Nodal Node+XMLValueCodableArray.swift
[18/44] Compiling Nodal XMLDataFormat.swift
[19/44] Compiling Nodal Document+PendingNameRecords.swift
[20/44] Compiling Nodal Document+RootElement.swift
[21/44] Compiling Nodal Document.ParseOptions.swift
[22/44] Compiling Nodal Document.swift
[23/44] Compiling Nodal PendingNameRecord.swift
[24/44] Compiling Nodal OutputOptions.swift
[25/44] Compiling Nodal AncestorAttributeSequence.swift
[26/44] Compiling Nodal AttributeSequence.swift
[27/44] Compiling Nodal ChildSequence.swift
[28/44] Compiling Nodal DescendantSequence.swift
[29/44] Compiling Nodal XMLDateFormat.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[30/44] Compiling Nodal XMLValueCodable.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[31/44] Compiling Nodal Document+Errors.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[32/44] Compiling Nodal Document+Input.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[33/44] Compiling Nodal Document+Namespaces.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[34/44] Compiling Nodal Document+Output.swift
/host/spi-builder-workspace/Sources/Nodal/Document/Document+Output.swift:39:23: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
37 | indentation: String = .fourSpaces
38 | ) throws {
39 | FileManager().createFile(atPath: fileURL.path, contents: nil)
| `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused
40 | let fileHandle = try FileHandle(forWritingTo: fileURL)
41 | fileHandle.truncateFile(atOffset: 0)
[35/44] Compiling Nodal Node+MoveCopy.swift
[36/44] Compiling Nodal Node+Names.swift
[37/44] Compiling Nodal Node+Namespaces.swift
[38/44] Compiling Nodal Node.Kind.swift
[39/44] Compiling Nodal Node.swift
[40/44] Compiling Nodal ReverseSiblingSequence.swift
[41/44] Compiling Nodal Node+xPath.swift
[42/44] Compiling Nodal XPathQuery.swift
[43/44] Compiling Nodal XPathResults.swift
[44/44] Compiling Nodal XPathVariableValue.swift
BUILD FAILURE 6.1 android