Build Information
Failed to build Prettier with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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/simonbs/Prettier.git
Reference: main
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/simonbs/Prettier
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 266dac5 Adds workflows (#6)
Cloned https://github.com/simonbs/Prettier.git
Revision (git rev-parse @):
266dac500bded844a56771bc1fb2abaa60f6e7b6
SUCCESS checkout https://github.com/simonbs/Prettier.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/simonbs/Prettier.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/27] Write sources
[0/27] Copying parser-yaml.js
[0/27] Copying parser-html.js
[0/27] Copying parser-php.js
[0/27] Copying parser-meriyah.js
[0/27] Copying parser-postcss.js
[0/27] Copying parser-graphql.js
[0/27] Copying parser-markdown.js
[0/27] Write sources
[0/27] Copying parser-glimmer.js
[0/27] Write sources
[0/27] Copying parser-espree.js
[0/27] Write sources
[22/27] Copying parser-babel.js
[23/27] Copying standalone.js
[24/27] Copying parser-flow.js
[25/27] Copying parser-typescript.js
[26/27] Write swift-version-24593BA9C3E375BF.txt
[28/41] Compiling Prettier PrettierFormatter.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[29/42] Compiling Prettier HTMLWhitespaceSensitivityStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[30/42] Compiling Prettier ProseWrapStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[31/42] Compiling Prettier ParsingErrorDetails.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[32/42] Compiling Prettier Plugin.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[33/42] Compiling Prettier FormatWithCursorResult.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[34/42] Compiling Prettier Parser.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[35/42] Compiling Prettier resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/42] Emitting module Prettier
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[37/42] Compiling Prettier QuotePropertyStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[38/42] Compiling Prettier TrailingCommaStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[39/42] Compiling Prettier ArrowFunctionParenthesesStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[40/42] Compiling Prettier ConfigurationKey.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[41/42] Compiling Prettier EmbeddedLanguageFormattingStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[42/42] Compiling Prettier EndOfLineStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Prettier QuotePropertyStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[3/15] Compiling Prettier TrailingCommaStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[4/15] Compiling Prettier HTMLWhitespaceSensitivityStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[5/15] Compiling Prettier ProseWrapStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[6/16] Compiling Prettier EmbeddedLanguageFormattingStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[7/16] Compiling Prettier EndOfLineStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[8/16] Compiling Prettier ArrowFunctionParenthesesStrategy.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[9/16] Compiling Prettier ConfigurationKey.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/16] Emitting module Prettier
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[11/16] Compiling Prettier PrettierFormatter.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[12/16] Compiling Prettier ParsingErrorDetails.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[13/16] Compiling Prettier Plugin.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[14/16] Compiling Prettier FormatWithCursorResult.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[15/16] Compiling Prettier Parser.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
[16/16] Compiling Prettier resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Prettier/Configuration/ConfigurationKey.swift:1:8: error: no such module 'JavaScriptCore'
import JavaScriptCore
^
error: fatalError
BUILD FAILURE 5.10 linux