The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectLDAP with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/perfectlysoft/perfect-ldap.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Fetching https://github.com/PerfectSideRepos/Perfect-ICONV.git
Fetching https://github.com/PerfectlySoft/Perfect-libSASL.git
[1/29] Fetching perfect-libsasl
[30/61] Fetching perfect-libsasl, perfect-openldap
[62/162] Fetching perfect-libsasl, perfect-openldap, perfect-iconv
Fetched https://github.com/PerfectlySoft/Perfect-libSASL.git from cache (0.26s)
Fetched https://github.com/PerfectSideRepos/Perfect-ICONV.git from cache (0.26s)
Fetched https://github.com/PerfectlySoft/Perfect-OpenLDAP.git from cache (0.26s)
Computing version for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Computed https://github.com/PerfectSideRepos/Perfect-ICONV.git at 3.0.1 (0.83s)
Computing version for https://github.com/PerfectlySoft/Perfect-libSASL.git
Computed https://github.com/PerfectlySoft/Perfect-libSASL.git at 1.0.2 (0.46s)
Computing version for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Computed https://github.com/PerfectlySoft/Perfect-OpenLDAP.git at 1.0.3 (0.45s)
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
[2/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
    memset(src, 0, cap)
    ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:73:5: error: cannot find 'memset' in scope
    memset(tag, 0, cap)
    ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:76:5: error: cannot find 'memcpy' in scope
    memcpy(src, buf, length)
    ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:110:5: error: cannot find 'memcpy' in scope
    memcpy(des, tag, sz)
    ^~~~~~
error: fatalError
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
[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
    memset(src, 0, cap)
    ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:73:5: error: cannot find 'memset' in scope
    memset(tag, 0, cap)
    ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:76:5: error: cannot find 'memcpy' in scope
    memcpy(src, buf, length)
    ^~~~~~
/host/spi-builder-workspace/.build/checkouts/Perfect-ICONV/Sources/PerfectICONV/PerfectICONV.swift:110:5: error: cannot find 'memcpy' in scope
    memcpy(des, tag, sz)
    ^~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2