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 cmark-gfm, reference 0.5.0 (3ccff7), with Swift 5.9 for Linux on 17 Sep 2024 18:05:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-cmark.git
Reference: 0.5.0
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/swiftlang/swift-cmark
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at 3ccff77 Merge pull request #74 from bc-lee/feature/6.0-pic
Cloned https://github.com/swiftlang/swift-cmark.git
Revision (git rev-parse @):
3ccff77b2dc5b96b77db3da0d68d28068593fa53
SUCCESS checkout https://github.com/swiftlang/swift-cmark.git at 0.5.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/swiftlang/swift-cmark.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:66706f89ac15d55dcb11e8d3274e2fe11925b5da93d240b09d5a1eb775db6cc2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[0/40] Compiling api_test harness.c
[1/40] Compiling cmark-gfm-extensions tagfilter.c
[2/40] Compiling cmark-gfm html.c
[3/40] Compiling cmark-gfm-extensions strikethrough.c
[4/40] Compiling cmark-gfm-extensions tasklist.c
[5/40] Compiling cmark-gfm-extensions ext_scanners.c
[6/40] Compiling cmark-gfm-extensions core-extensions.c
[6/40] Compiling cmark-gfm-bin main.c
[8/40] Compiling cmark-gfm-extensions table.c
[9/40] Compiling cmark-gfm inlines.c
[10/40] Compiling cmark-gfm-extensions autolink.c
[10/40] Compiling cmark-gfm xml.c
[12/40] Compiling cmark-gfm syntax_extension.c
[13/40] Compiling cmark-gfm plugin.c
[14/40] Compiling cmark-gfm registry.c
[15/40] Compiling api_test main.c
[16/40] Compiling cmark-gfm render.c
[17/40] Compiling cmark-gfm references.c
[18/40] Compiling cmark-gfm plaintext.c
[19/40] Compiling cmark-gfm linked_list.c
[20/40] Compiling cmark-gfm map.c
[21/40] Compiling cmark-gfm man.c
[22/40] Compiling cmark-gfm latex.c
[23/40] Compiling cmark-gfm houdini_href_e.c
[23/40] Compiling cmark-gfm houdini_html_e.c
[24/40] Compiling cmark-gfm node.c
[26/40] Compiling cmark-gfm iterator.c
[27/40] Compiling cmark-gfm utf8.c
[28/40] Compiling cmark-gfm cmark_ctype.c
[29/40] Compiling cmark-gfm cmark.c
[30/40] Compiling cmark-gfm footnotes.c
[31/40] Compiling cmark-gfm buffer.c
[32/40] Compiling cmark-gfm houdini_html_u.c
[33/40] Compiling cmark-gfm commonmark.c
[34/40] Compiling cmark-gfm arena.c
[35/40] Compiling cmark-gfm blocks.c
[36/40] Compiling cmark-gfm scanners.c
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:2:
/host/spi-builder-workspace/src/include/cmark-gfm-extension_api.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/cmark-gfm-extension_api.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:7:
/host/spi-builder-workspace/src/include/houdini.h:10:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "buffer.h"
^
/host/spi-builder-workspace/src/include/houdini.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:8:
In file included from /host/spi-builder-workspace/src/include/html.h:5:
/host/spi-builder-workspace/src/include/node.h:12:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/node.h:13:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm-extension_api.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/node.h:14:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "buffer.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/node.h:15:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "chunk.h"
^
/host/spi-builder-workspace/src/include/node.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:9:
/host/spi-builder-workspace/src/include/inlines.h:11:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "references.h"
^
/host/spi-builder-workspace/src/include/inlines.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:9:
In file included from /host/spi-builder-workspace/src/include/inlines.h:11:
/host/spi-builder-workspace/src/include/references.h:6:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "map.h"
^
/host/spi-builder-workspace/src/include/inlines.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:10:
/host/spi-builder-workspace/src/include/iterator.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/iterator.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:14:
/host/spi-builder-workspace/src/include/plugin.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/plugin.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/plugin.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm-extension_api.h"
^
/host/spi-builder-workspace/src/include/plugin.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:16:
/host/spi-builder-workspace/src/include/registry.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm.h"
^
/host/spi-builder-workspace/src/include/registry.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/registry.h:9:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "cmark-gfm-extension_api.h"
^
/host/spi-builder-workspace/src/include/registry.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:17:
/host/spi-builder-workspace/src/include/render.h:11:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "buffer.h"
^
/host/spi-builder-workspace/src/include/render.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/render.h:12:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "chunk.h"
^
/host/spi-builder-workspace/src/include/render.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/api_test/cplusplus.cpp:3:10: fatal error: could not build module 'cmark_gfm'
#include <cmark-gfm.h>
 ~~~~~~~~^
16 errors generated.
[37/40] Compiling api_test cplusplus.cpp
[37/40] Linking cmark-gfm-bin
BUILD FAILURE 5.9 linux