Build Information
Failed to build cmark-gfm with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-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/SDGGiesbrecht/swift-cmark.git
Reference: 0.50800.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/SDGGiesbrecht/swift-cmark
* tag 0.50800.0 -> FETCH_HEAD
HEAD is now at 29d9c97 Merge pull request #50 from apple/QuietMisdreavus/5.8/sync-upstream-gfm.8
Cloned https://github.com/SDGGiesbrecht/swift-cmark.git
Revision (git rev-parse @):
29d9c97e6310b87c4799268eaa2fc76164b2dbd8
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-cmark.git at 0.50800.0
========================================
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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/42] Compiling cmark-gfm arena.c
[1/42] Compiling cmark-gfm cmark.c
[2/42] Compiling cmark-gfm buffer.c
[3/42] Compiling cmark-gfm-extensions core-extensions.c
[4/42] Compiling cmark-gfm blocks.c
[5/42] Compiling cmark-gfm-extensions tagfilter.c
[6/42] Compiling cmark-gfm-extensions ext_scanners.c
[6/42] Compiling cmark-gfm-extensions tasklist.c
[8/42] Compiling cmark-gfm-extensions strikethrough.c
[9/42] Compiling cmark-gfm-bin main.c
[10/42] Compiling cmark-gfm-extensions autolink.c
[11/42] Compiling cmark-gfm xml.c
[12/42] Compiling cmark-gfm syntax_extension.c
[13/42] Compiling cmark-gfm render.c
[14/42] Compiling cmark-gfm registry.c
[15/42] Compiling cmark-gfm references.c
[16/42] Compiling cmark-gfm-extensions table.c
[17/42] Compiling cmark-gfm plugin.c
[18/42] Compiling cmark-gfm map.c
[19/42] Compiling cmark-gfm plaintext.c
[20/42] Compiling cmark-gfm linked_list.c
[21/42] Compiling cmark-gfm node.c
[22/42] Compiling cmark-gfm man.c
[23/42] Compiling cmark-gfm latex.c
[24/42] Compiling cmark-gfm iterator.c
[25/42] Compiling cmark-gfm utf8.c
[26/42] Compiling cmark-gfm houdini_html_e.c
[26/42] Compiling cmark-gfm houdini_href_e.c
[28/42] Compiling cmark-gfm html.c
[29/42] Compiling cmark-gfm footnotes.c
[30/42] Compiling cmark-gfm inlines.c
[31/42] Compiling cmark-gfm cmark_ctype.c
[32/42] Compiling cmark-gfm houdini_html_u.c
[33/42] Compiling cmark-gfm commonmark.c
[34/42] Compiling api_test harness.c
[35/42] Compiling cmark-gfm scanners.c
[36/42] Compiling api_test main.c
[37/42] 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.
[38/42] Compiling api_test cplusplus.cpp
[38/42] Linking cmark-gfm-bin
[0/1] Planning build
Building for debugging...
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.
[0/4] Compiling api_test cplusplus.cpp
[0/4] Linking cmark-gfm-bin
BUILD FAILURE 5.10 linux