Build Information
Failed to build PerfectLDAP, reference 3.0.2 (e351ef
), with Swift 6.0 for Linux on 31 Oct 2024 14:06:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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.0
Building package at path: $PWD
https://github.com/perfectlysoft/perfect-ldap.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/PerfectSideRepos/Perfect-ICONV.git
Fetching https://github.com/PerfectlySoft/Perfect-libSASL.git
Fetching https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
[1/29] Fetching perfect-libsasl
[21/130] Fetching perfect-libsasl, perfect-iconv
[63/162] Fetching perfect-libsasl, perfect-iconv, perfect-openldap
Fetched https://github.com/PerfectlySoft/Perfect-libSASL.git from cache (0.36s)
Fetched https://github.com/PerfectSideRepos/Perfect-ICONV.git from cache (0.37s)
Fetched https://github.com/PerfectlySoft/Perfect-OpenLDAP.git from cache (0.37s)
Computing version for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Computed https://github.com/PerfectSideRepos/Perfect-ICONV.git at 3.0.1 (0.84s)
Computing version for https://github.com/PerfectlySoft/Perfect-libSASL.git
Computed https://github.com/PerfectlySoft/Perfect-libSASL.git at 1.0.2 (1.72s)
Computing version for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Computed https://github.com/PerfectlySoft/Perfect-OpenLDAP.git at 1.0.3 (1.06s)
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-libsasl': ignoring declared target(s) 'SASL' in the system package
warning: 'perfect-openldap': ignoring declared target(s) 'OpenLDAP' 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()
BUILD FAILURE 6.0 linux