Build Information
Failed to build PerfectLDAP, reference 3.0.2 (e351ef
), with Swift 6.1 for Linux on 25 Apr 2025 14:40:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-ldap.git
Reference: 3.0.2
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/perfectlysoft/perfect-ldap
* tag 3.0.2 -> FETCH_HEAD
HEAD is now at e351ef5 Merge pull request #6 from Lagerregal/master
Cloned https://github.com/perfectlysoft/perfect-ldap.git
Revision (git rev-parse @):
e351ef5b9497265f9498555820e408e57f00f950
SUCCESS checkout https://github.com/perfectlysoft/perfect-ldap.git at 3.0.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-ldap.git
https://github.com/perfectlysoft/perfect-ldap.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "perfect-iconv",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PerfectSideRepos/Perfect-ICONV.git"
},
{
"identity" : "perfect-libsasl",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PerfectlySoft/Perfect-libSASL.git"
},
{
"identity" : "perfect-openldap",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/PerfectlySoft/Perfect-OpenLDAP.git"
}
],
"manifest_display_name" : "PerfectLDAP",
"name" : "PerfectLDAP",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "PerfectLDAP",
"targets" : [
"PerfectLDAP"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PerfectLDAPTests",
"module_type" : "SwiftTarget",
"name" : "PerfectLDAPTests",
"path" : "Tests/PerfectLDAPTests",
"sources" : [
"PerfectLDAPTests.swift"
],
"target_dependencies" : [
"PerfectLDAP"
],
"type" : "test"
},
{
"c99name" : "PerfectLDAP",
"module_type" : "SwiftTarget",
"name" : "PerfectLDAP",
"path" : "Sources/PerfectLDAP",
"product_dependencies" : [
"PerfectICONV"
],
"product_memberships" : [
"PerfectLDAP"
],
"sources" : [
"PerfectLDAP.swift",
"Utilities.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Fetching https://github.com/PerfectlySoft/Perfect-libSASL.git
Fetching https://github.com/PerfectSideRepos/Perfect-ICONV.git
[1/32] Fetching perfect-openldap
[33/133] Fetching perfect-openldap, perfect-iconv
[127/162] Fetching perfect-openldap, perfect-iconv, perfect-libsasl
Fetched https://github.com/PerfectSideRepos/Perfect-ICONV.git from cache (0.39s)
Fetched https://github.com/PerfectlySoft/Perfect-libSASL.git from cache (0.39s)
Fetched https://github.com/PerfectlySoft/Perfect-OpenLDAP.git from cache (0.39s)
Computing version for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Computed https://github.com/PerfectSideRepos/Perfect-ICONV.git at 3.0.1 (1.02s)
Computing version for https://github.com/PerfectlySoft/Perfect-libSASL.git
Computed https://github.com/PerfectlySoft/Perfect-libSASL.git at 1.0.2 (0.63s)
Computing version for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Computed https://github.com/PerfectlySoft/Perfect-OpenLDAP.git at 1.0.3 (0.59s)
Creating working copy for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Working copy of https://github.com/PerfectSideRepos/Perfect-ICONV.git resolved at 3.0.1
Creating working copy for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Working copy of https://github.com/PerfectlySoft/Perfect-OpenLDAP.git resolved at 1.0.3
Creating working copy for https://github.com/PerfectlySoft/Perfect-libSASL.git
Working copy of https://github.com/PerfectlySoft/Perfect-libSASL.git resolved at 1.0.2
warning: 'perfect-openldap': ignoring declared target(s) 'OpenLDAP' in the system package
warning: 'perfect-libsasl': ignoring declared target(s) 'SASL' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libsasl' is not used by any target
warning: 'spi-builder-workspace': dependency 'perfect-openldap' is not used by any target
Building for debugging...
[0/4] Write sources
[2/4] Compiling ICONVApiLinux ICONVApiLinux.c
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/6] Emitting module PerfectICONV
[6/6] Compiling PerfectICONV PerfectICONV.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:72:5: error: cannot find 'memset' in scope
70 |
71 | // clean the buffers
72 | memset(src, 0, cap)
| `- error: cannot find 'memset' in scope
73 | memset(tag, 0, cap)
74 |
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:73:5: error: cannot find 'memset' in scope
71 | // clean the buffers
72 | memset(src, 0, cap)
73 | memset(tag, 0, cap)
| `- error: cannot find 'memset' in scope
74 |
75 | // copy the buffer
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:76:5: error: cannot find 'memcpy' in scope
74 |
75 | // copy the buffer
76 | memcpy(src, buf, length)
| `- error: cannot find 'memcpy' in scope
77 |
78 | // *NOTE* MUST DUPLICATE POINTERS
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:110:5: error: cannot find 'memcpy' in scope
108 | let sz = cap - szb
109 | let des = UnsafeMutablePointer<Int8>.allocate(capacity: sz)
110 | memcpy(des, tag, sz)
| `- error: cannot find 'memcpy' in scope
111 | #if swift(>=4.1)
112 | tag.deallocate()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'perfect-openldap': ignoring declared target(s) 'OpenLDAP' in the system package
warning: 'perfect-libsasl': ignoring declared target(s) 'SASL' in the system package
warning: 'spi-builder-workspace': dependency 'perfect-libsasl' is not used by any target
warning: 'spi-builder-workspace': dependency 'perfect-openldap' is not used by any target
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module PerfectICONV
[3/3] Compiling PerfectICONV PerfectICONV.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:72:5: error: cannot find 'memset' in scope
70 |
71 | // clean the buffers
72 | memset(src, 0, cap)
| `- error: cannot find 'memset' in scope
73 | memset(tag, 0, cap)
74 |
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:73:5: error: cannot find 'memset' in scope
71 | // clean the buffers
72 | memset(src, 0, cap)
73 | memset(tag, 0, cap)
| `- error: cannot find 'memset' in scope
74 |
75 | // copy the buffer
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:76:5: error: cannot find 'memcpy' in scope
74 |
75 | // copy the buffer
76 | memcpy(src, buf, length)
| `- error: cannot find 'memcpy' in scope
77 |
78 | // *NOTE* MUST DUPLICATE POINTERS
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:110:5: error: cannot find 'memcpy' in scope
108 | let sz = cap - szb
109 | let des = UnsafeMutablePointer<Int8>.allocate(capacity: sz)
110 | memcpy(des, tag, sz)
| `- error: cannot find 'memcpy' in scope
111 | #if swift(>=4.1)
112 | tag.deallocate()
BUILD FAILURE 6.1 linux