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 with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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/SDGGiesbrecht/swift-cmark.git
Reference: master
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/SDGGiesbrecht/swift-cmark
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 622a3c3 Merged upstream/gfm, resolving conflicts.
Cloned https://github.com/SDGGiesbrecht/swift-cmark.git
Revision (git rev-parse @):
622a3c3271477523e57f6f739eccbfeacc8f164c
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-cmark.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/SDGGiesbrecht/swift-cmark.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/42] Compiling api_test harness.c
[1/42] Compiling cmark-gfm arena.c
[2/42] Compiling cmark-gfm-extensions tasklist.c
[3/42] Compiling cmark-gfm-extensions tagfilter.c
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:3:
/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>:5:
In file included from /host/spi-builder-workspace/src/include/chunk.h:9:
/host/spi-builder-workspace/src/include/cmark_ctype.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "export.h"
^
/host/spi-builder-workspace/src/include/cmark_ctype.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:
/host/spi-builder-workspace/src/include/houdini.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_config.h"
^
/host/spi-builder-workspace/src/include/houdini.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/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>:9:
In file included from /host/spi-builder-workspace/src/include/html.h:5:
/host/spi-builder-workspace/src/include/node.h:11: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:12: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:13: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:14: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>:10:
/host/spi-builder-workspace/src/include/inlines.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_config.h"
^
/host/spi-builder-workspace/src/include/inlines.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/inlines.h:10: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>:10:
In file included from /host/spi-builder-workspace/src/include/inlines.h:10:
/host/spi-builder-workspace/src/include/references.h:4: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>:11:
/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>:16:
/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>:18:
/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>:19:
/host/spi-builder-workspace/src/include/render.h:9: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:10: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>
 ~~~~~~~~^
19 errors generated.
[4/42] Compiling api_test cplusplus.cpp
[4/42] Compiling cmark-gfm-extensions ext_scanners.c
[4/42] Compiling cmark-gfm-extensions strikethrough.c
[4/42] Compiling cmark-gfm-extensions table.c
[4/42] Compiling cmark-gfm blocks.c
[4/42] Compiling api_test main.c
[4/42] Compiling cmark-gfm-bin main.c
[4/42] Compiling cmark-gfm inlines.c
[0/1] Planning build
Building for debugging...
[0/38] Compiling cmark-gfm-extensions core-extensions.c
[1/38] Compiling cmark-gfm-extensions ext_scanners.c
[2/38] Compiling cmark-gfm-extensions autolink.c
[3/38] Compiling cmark-gfm xml.c
[4/38] Compiling cmark-gfm-extensions strikethrough.c
[5/38] Compiling cmark-gfm syntax_extension.c
[6/38] Compiling cmark-gfm-extensions table.c
[7/38] Compiling cmark-gfm render.c
[8/38] Compiling cmark-gfm references.c
[9/38] Compiling cmark-gfm plugin.c
[10/38] Compiling cmark-gfm-bin main.c
[11/38] Compiling cmark-gfm registry.c
[12/38] Compiling cmark-gfm plaintext.c
[13/38] Compiling cmark-gfm linked_list.c
[14/38] Compiling cmark-gfm man.c
[14/38] Compiling cmark-gfm map.c
[16/38] Compiling cmark-gfm utf8.c
[17/38] Compiling cmark-gfm node.c
[18/38] Compiling cmark-gfm latex.c
[19/38] Compiling cmark-gfm iterator.c
[20/38] Compiling cmark-gfm html.c
[21/38] Compiling cmark-gfm houdini_html_e.c
[22/38] Compiling cmark-gfm houdini_href_e.c
[23/38] Compiling cmark-gfm footnotes.c
[24/38] Compiling cmark-gfm houdini_html_u.c
[25/38] Compiling cmark-gfm cmark_ctype.c
[26/38] Compiling cmark-gfm inlines.c
[27/38] Compiling cmark-gfm cmark.c
[28/38] Compiling cmark-gfm commonmark.c
[29/38] Compiling cmark-gfm buffer.c
[30/38] Compiling cmark-gfm scanners.c
[31/38] Compiling api_test main.c
[32/38] Compiling cmark-gfm blocks.c
[33/38] Write Objects.LinkFileList
While building module 'cmark_gfm' imported from /host/spi-builder-workspace/api_test/cplusplus.cpp:3:
In file included from <module-includes>:3:
/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>:5:
In file included from /host/spi-builder-workspace/src/include/chunk.h:9:
/host/spi-builder-workspace/src/include/cmark_ctype.h:8:1: error: import of C++ module 'cmark_gfm' appears within extern "C" language linkage specification [-Wmodule-import-in-extern-c]
#include "export.h"
^
/host/spi-builder-workspace/src/include/cmark_ctype.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:
/host/spi-builder-workspace/src/include/houdini.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_config.h"
^
/host/spi-builder-workspace/src/include/houdini.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/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>:9:
In file included from /host/spi-builder-workspace/src/include/html.h:5:
/host/spi-builder-workspace/src/include/node.h:11: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:12: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:13: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:14: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>:10:
/host/spi-builder-workspace/src/include/inlines.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_config.h"
^
/host/spi-builder-workspace/src/include/inlines.h:5:1: note: extern "C" language linkage specification begins here
extern "C" {
^
/host/spi-builder-workspace/src/include/inlines.h:10: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>:10:
In file included from /host/spi-builder-workspace/src/include/inlines.h:10:
/host/spi-builder-workspace/src/include/references.h:4: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>:11:
/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>:16:
/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>:18:
/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>:19:
/host/spi-builder-workspace/src/include/render.h:9: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:10: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>
 ~~~~~~~~^
19 errors generated.
[34/38] Compiling api_test cplusplus.cpp
[34/38] Linking cmark-gfm-bin
BUILD FAILURE 5.10 linux