The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Menkyo with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/yasumoto/menkyo.git
Reference: 1.2.3
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/yasumoto/menkyo
 * tag               1.2.3      -> FETCH_HEAD
HEAD is now at e5e1a6f Simplify name parsing
Cloned https://github.com/yasumoto/menkyo.git
Revision (git rev-parse @):
e5e1a6f3b363148620b0e1f064d5ab8857897963
SUCCESS checkout https://github.com/yasumoto/menkyo.git at 1.2.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/yasumoto/menkyo.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.23s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.38s)
Creating working copy for https://github.com/vapor/ctls.git
Working copy of https://github.com/vapor/ctls.git resolved at 1.1.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Compiling Menkyo Certificate.swift
[4/5] Emitting module Menkyo
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:65:47: error: cannot find type 'X509_NAME' in scope
func parseX509Name(name: UnsafeMutablePointer<X509_NAME>, debug: Bool = false) -> [SubjectAttributes:String] {
                                              ^~~~~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:100:50: error: cannot find type 'X509' in scope
func parseExpiryDates(cert: UnsafeMutablePointer<X509>) -> (Date?, Date?) {
                                                 ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:147:53: error: cannot find type 'X509' in scope
func parseExtensionNames(cert: UnsafeMutablePointer<X509>, nid: Int32, nameType: Int32) -> [String] {
                                                    ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:173:53: error: cannot find type 'X509' in scope
func retrieveSubjectName(cert: UnsafeMutablePointer<X509>) -> [SubjectAttributes:String]? {
                                                    ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:183:52: error: cannot find type 'X509' in scope
func retrieveIssuerName(cert: UnsafeMutablePointer<X509>) -> [SubjectAttributes:String]? {
                                                   ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:195:63: error: cannot find type 'X509' in scope
func retrieveIssuerAlternativeName(cert: UnsafeMutablePointer<X509>) -> [String] {
                                                              ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:202:57: error: cannot find type 'X509' in scope
func retrieveSubjectAltNames(cert: UnsafeMutablePointer<X509>) -> [String] {
                                                        ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:209:57: error: cannot find type 'X509' in scope
func readCert(pathName: String) -> UnsafeMutablePointer<X509>? {
                                                        ^~~~
[5/5] Compiling Menkyo Menkyo.swift
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:65:47: error: cannot find type 'X509_NAME' in scope
func parseX509Name(name: UnsafeMutablePointer<X509_NAME>, debug: Bool = false) -> [SubjectAttributes:String] {
                                              ^~~~~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:100:50: error: cannot find type 'X509' in scope
func parseExpiryDates(cert: UnsafeMutablePointer<X509>) -> (Date?, Date?) {
                                                 ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:147:53: error: cannot find type 'X509' in scope
func parseExtensionNames(cert: UnsafeMutablePointer<X509>, nid: Int32, nameType: Int32) -> [String] {
                                                    ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:173:53: error: cannot find type 'X509' in scope
func retrieveSubjectName(cert: UnsafeMutablePointer<X509>) -> [SubjectAttributes:String]? {
                                                    ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:183:52: error: cannot find type 'X509' in scope
func retrieveIssuerName(cert: UnsafeMutablePointer<X509>) -> [SubjectAttributes:String]? {
                                                   ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:195:63: error: cannot find type 'X509' in scope
func retrieveIssuerAlternativeName(cert: UnsafeMutablePointer<X509>) -> [String] {
                                                              ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:202:57: error: cannot find type 'X509' in scope
func retrieveSubjectAltNames(cert: UnsafeMutablePointer<X509>) -> [String] {
                                                        ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:209:57: error: cannot find type 'X509' in scope
func readCert(pathName: String) -> UnsafeMutablePointer<X509>? {
                                                        ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:150:54: error: cannot find '_STACK' in scope
        let names = rawNames.assumingMemoryBound(to: _STACK.self)
                                                     ^~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:152:13: error: cannot find 'sk_free' in scope
            sk_free(names)
            ^~~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:154:25: error: cannot find 'sk_num' in scope
        let nameCount = sk_num(names) // Know how many elements are present in the cert
                        ^~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:158:30: error: cannot find 'sk_pop' in scope
            if let rawName = sk_pop(names) {
                             ^~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:213:40: error: cannot find type 'X509' in scope
        var cert: UnsafeMutablePointer<X509>?
                                       ^~~~
error: fatalError
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: you may be able to install ctls using your system-packager:
    apt-get install libssl-dev
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Menkyo
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:65:47: error: cannot find type 'X509_NAME' in scope
func parseX509Name(name: UnsafeMutablePointer<X509_NAME>, debug: Bool = false) -> [SubjectAttributes:String] {
                                              ^~~~~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:100:50: error: cannot find type 'X509' in scope
func parseExpiryDates(cert: UnsafeMutablePointer<X509>) -> (Date?, Date?) {
                                                 ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:147:53: error: cannot find type 'X509' in scope
func parseExtensionNames(cert: UnsafeMutablePointer<X509>, nid: Int32, nameType: Int32) -> [String] {
                                                    ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:173:53: error: cannot find type 'X509' in scope
func retrieveSubjectName(cert: UnsafeMutablePointer<X509>) -> [SubjectAttributes:String]? {
                                                    ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:183:52: error: cannot find type 'X509' in scope
func retrieveIssuerName(cert: UnsafeMutablePointer<X509>) -> [SubjectAttributes:String]? {
                                                   ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:195:63: error: cannot find type 'X509' in scope
func retrieveIssuerAlternativeName(cert: UnsafeMutablePointer<X509>) -> [String] {
                                                              ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:202:57: error: cannot find type 'X509' in scope
func retrieveSubjectAltNames(cert: UnsafeMutablePointer<X509>) -> [String] {
                                                        ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:209:57: error: cannot find type 'X509' in scope
func readCert(pathName: String) -> UnsafeMutablePointer<X509>? {
                                                        ^~~~
[3/3] Compiling Menkyo Menkyo.swift
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:65:47: error: cannot find type 'X509_NAME' in scope
func parseX509Name(name: UnsafeMutablePointer<X509_NAME>, debug: Bool = false) -> [SubjectAttributes:String] {
                                              ^~~~~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:100:50: error: cannot find type 'X509' in scope
func parseExpiryDates(cert: UnsafeMutablePointer<X509>) -> (Date?, Date?) {
                                                 ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:147:53: error: cannot find type 'X509' in scope
func parseExtensionNames(cert: UnsafeMutablePointer<X509>, nid: Int32, nameType: Int32) -> [String] {
                                                    ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:173:53: error: cannot find type 'X509' in scope
func retrieveSubjectName(cert: UnsafeMutablePointer<X509>) -> [SubjectAttributes:String]? {
                                                    ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:183:52: error: cannot find type 'X509' in scope
func retrieveIssuerName(cert: UnsafeMutablePointer<X509>) -> [SubjectAttributes:String]? {
                                                   ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:195:63: error: cannot find type 'X509' in scope
func retrieveIssuerAlternativeName(cert: UnsafeMutablePointer<X509>) -> [String] {
                                                              ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:202:57: error: cannot find type 'X509' in scope
func retrieveSubjectAltNames(cert: UnsafeMutablePointer<X509>) -> [String] {
                                                        ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:209:57: error: cannot find type 'X509' in scope
func readCert(pathName: String) -> UnsafeMutablePointer<X509>? {
                                                        ^~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:150:54: error: cannot find '_STACK' in scope
        let names = rawNames.assumingMemoryBound(to: _STACK.self)
                                                     ^~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:152:13: error: cannot find 'sk_free' in scope
            sk_free(names)
            ^~~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:154:25: error: cannot find 'sk_num' in scope
        let nameCount = sk_num(names) // Know how many elements are present in the cert
                        ^~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:158:30: error: cannot find 'sk_pop' in scope
            if let rawName = sk_pop(names) {
                             ^~~~~~
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:213:40: error: cannot find type 'X509' in scope
        var cert: UnsafeMutablePointer<X509>?
                                       ^~~~
error: fatalError
BUILD FAILURE 5.10 linux