The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SagaStencilRenderer 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/loopwerk/SagaStencilRenderer.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/loopwerk/SagaStencilRenderer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 932e366 docs: Improve the README with a better example, and a link to the example app
Cloned https://github.com/loopwerk/SagaStencilRenderer.git
Revision (git rev-parse @):
932e366e0a99a8328281c9642c48a308e7e5e4b7
SUCCESS checkout https://github.com/loopwerk/SagaStencilRenderer.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/loopwerk/SagaStencilRenderer.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
Fetching https://github.com/loopwerk/Saga
Fetching https://github.com/stencilproject/Stencil
[1/2263] Fetching saga
[2242/7447] Fetching saga, stencil
Fetched https://github.com/loopwerk/Saga from cache (0.53s)
Fetched https://github.com/stencilproject/Stencil from cache (0.53s)
Computing version for https://github.com/stencilproject/Stencil
Computed https://github.com/stencilproject/Stencil at 0.15.1 (0.50s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[1022/2425] Fetching spectre, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.26s)
Fetched https://github.com/kylef/Spectre.git from cache (0.26s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.44s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.30s)
Computing version for https://github.com/loopwerk/Saga
Computed https://github.com/loopwerk/Saga at 1.2.1 (0.50s)
Fetching https://github.com/JohnSundell/Codextended.git
[1/181] Fetching codextended
Fetched https://github.com/JohnSundell/Codextended.git from cache (0.22s)
Computing version for https://github.com/JohnSundell/Codextended.git
Computed https://github.com/JohnSundell/Codextended.git at 0.3.0 (0.56s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/JohnSundell/Codextended.git
Working copy of https://github.com/JohnSundell/Codextended.git resolved at 0.3.0
Creating working copy for https://github.com/stencilproject/Stencil
Working copy of https://github.com/stencilproject/Stencil resolved at 0.15.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/loopwerk/Saga
Working copy of https://github.com/loopwerk/Saga resolved at 1.2.1
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/10] Emitting module Codextended
[8/10] Compiling Codextended Codextended.swift
[10/11] Emitting module PathKit
[11/11] Compiling PathKit PathKit.swift
[13/47] Compiling Saga String+Slugify.swift
[14/48] Compiling Saga Saga.swift
[15/48] Compiling Stencil Extension.swift
[16/48] Compiling Stencil IfTag.swift
[17/48] Compiling Stencil Environment.swift
[18/48] Compiling Stencil FilterTag.swift
[19/48] Emitting module Stencil
[20/50] Compiling Stencil Loader.swift
[21/50] Compiling Stencil Node.swift
[22/50] Compiling Stencil NowTag.swift
[23/50] Compiling Saga Writer.swift
[25/50] Compiling Stencil Include.swift
[26/50] Compiling Stencil Inheritance.swift
[27/50] Compiling Stencil KeyPath.swift
[28/50] Compiling Stencil LazyValueWrapper.swift
[29/50] Compiling Stencil Lexer.swift
[30/50] Compiling Stencil Errors.swift
[31/50] Compiling Stencil Expression.swift
[33/50] Compiling Stencil Context.swift
[34/50] Compiling Stencil DynamicMemberLookup.swift
[37/50] Compiling Stencil Filters.swift
[38/50] Compiling Stencil ForTag.swift
[39/50] Compiling Stencil TrimBehaviour.swift
[40/50] Compiling Stencil Variable.swift
[43/50] Emitting module Saga
[48/51] Compiling Stencil Parser.swift
[49/51] Compiling Stencil Template.swift
[50/51] Compiling Stencil Tokenizer.swift
[53/54] Emitting module SagaStencilRenderer
[54/54] Compiling SagaStencilRenderer SagaStencilRenderer.swift
/host/spi-builder-workspace/Sources/SagaStencilRenderer/SagaStencilRenderer.swift:22:23: error: cannot find 'siteMetadata' in scope
      "siteMetadata": siteMetadata,
                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SagaStencilRenderer/SagaStencilRenderer.swift:32:23: error: cannot find 'siteMetadata' in scope
      "siteMetadata": siteMetadata,
                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SagaStencilRenderer/SagaStencilRenderer.swift:44:23: error: cannot find 'siteMetadata' in scope
      "siteMetadata": siteMetadata,
                      ^~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module SagaStencilRenderer
[3/3] Compiling SagaStencilRenderer SagaStencilRenderer.swift
/host/spi-builder-workspace/Sources/SagaStencilRenderer/SagaStencilRenderer.swift:22:23: error: cannot find 'siteMetadata' in scope
      "siteMetadata": siteMetadata,
                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SagaStencilRenderer/SagaStencilRenderer.swift:32:23: error: cannot find 'siteMetadata' in scope
      "siteMetadata": siteMetadata,
                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SagaStencilRenderer/SagaStencilRenderer.swift:44:23: error: cannot find 'siteMetadata' in scope
      "siteMetadata": siteMetadata,
                      ^~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2