The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Menkyo, reference 1.2.3 (e5e1a6), with Swift 6.1 for Wasm on 27 May 2025 13:58:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yasumoto/menkyo.git
https://github.com/yasumoto/menkyo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "ctls",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/ctls.git"
    }
  ],
  "manifest_display_name" : "Menkyo",
  "name" : "Menkyo",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Menkyo",
      "targets" : [
        "Menkyo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MenkyoTests",
      "module_type" : "SwiftTarget",
      "name" : "MenkyoTests",
      "path" : "Tests/MenkyoTests",
      "sources" : [
        "MenkyoTests.swift"
      ],
      "target_dependencies" : [
        "Menkyo"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Menkyo",
      "module_type" : "SwiftTarget",
      "name" : "Menkyo",
      "path" : "Sources/Menkyo",
      "product_dependencies" : [
        "CTLS"
      ],
      "product_memberships" : [
        "Menkyo"
      ],
      "sources" : [
        "Certificate.swift",
        "Menkyo.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/ctls.git
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls.git from cache (0.27s)
Computing version for https://github.com/vapor/ctls.git
Computed https://github.com/vapor/ctls.git at 1.1.3 (0.91s)
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
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] Emitting module Menkyo
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:13:8: error: could not build C module 'CTLS'
 11 |
 12 | import Foundation
 13 | import CTLS
    |        `- error: could not build C module 'CTLS'
 14 |
 15 | /**
[4/5] Compiling Menkyo Menkyo.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:13:8: error: could not build C module 'CTLS'
 11 |
 12 | import Foundation
 13 | import CTLS
    |        `- error: could not build C module 'CTLS'
 14 |
 15 | /**
[5/5] Compiling Menkyo Certificate.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:13:8: error: could not build C module 'CTLS'
 11 |
 12 | import Foundation
 13 | import CTLS
    |        `- error: could not build C module 'CTLS'
 14 |
 15 | /**
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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
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/4] Emitting module Menkyo
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:13:8: error: could not build C module 'CTLS'
 11 |
 12 | import Foundation
 13 | import CTLS
    |        `- error: could not build C module 'CTLS'
 14 |
 15 | /**
[3/4] Compiling Menkyo Certificate.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:13:8: error: could not build C module 'CTLS'
 11 |
 12 | import Foundation
 13 | import CTLS
    |        `- error: could not build C module 'CTLS'
 14 |
 15 | /**
[4/4] Compiling Menkyo Menkyo.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/host/spi-builder-workspace/Sources/Menkyo/Menkyo.swift:13:8: error: could not build C module 'CTLS'
 11 |
 12 | import Foundation
 13 | import CTLS
    |        `- error: could not build C module 'CTLS'
 14 |
 15 | /**
BUILD FAILURE 6.1 wasm