The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectLDAP with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfect-ldap.git
Reference: 3.0.2
Cloned https://github.com/perfectlysoft/perfect-ldap.git into spi-builder-workspace
SUCCESS checkout https://github.com/perfectlysoft/perfect-ldap.git at 3.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-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/101] Fetching perfect-iconv
Fetched https://github.com/PerfectlySoft/Perfect-libSASL.git (0.22s)
Fetched https://github.com/PerfectlySoft/Perfect-OpenLDAP.git (0.22s)
Fetched https://github.com/PerfectSideRepos/Perfect-ICONV.git (0.25s)
Computing version for https://github.com/PerfectSideRepos/Perfect-ICONV.git
Computed https://github.com/PerfectSideRepos/Perfect-ICONV.git at 3.0.1 (0.29s)
Computing version for https://github.com/PerfectlySoft/Perfect-libSASL.git
Computed https://github.com/PerfectlySoft/Perfect-libSASL.git at 1.0.2 (0.29s)
Computing version for https://github.com/PerfectlySoft/Perfect-OpenLDAP.git
Computed https://github.com/PerfectlySoft/Perfect-OpenLDAP.git at 1.0.3 (0.26s)
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/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-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/1] Compiling ICONVApiLinux ICONVApiLinux.c
[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.9 linux

Build Machine: Linux 1