Build Information
Failed to build SVGUIView, reference 0.46.0 (a66f3a), with Swift 6.1 for macOS (SPM) on 29 Nov 2026 08:28:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nnabeyang/SVGUIView.git
Reference: 0.46.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nnabeyang/SVGUIView
* tag 0.46.0 -> FETCH_HEAD
HEAD is now at a66f3ae Merge pull request #399 from nnabeyang/release/0.46.0
Cloned https://github.com/nnabeyang/SVGUIView.git
Revision (git rev-parse @):
a66f3ae1c12a45b450fa054ce25a5ac4e3a2d9a7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/nnabeyang/SVGUIView.git at 0.46.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/nnabeyang/SVGUIView.git
https://github.com/nnabeyang/SVGUIView.git
{
"dependencies" : [
],
"manifest_display_name" : "SVGUIView",
"name" : "SVGUIView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
}
],
"products" : [
{
"name" : "SVGUIView",
"targets" : [
"SVGUIView"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SVGView",
"targets" : [
"SVGView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "_SelectorParserTests",
"module_type" : "SwiftTarget",
"name" : "_SelectorParserTests",
"path" : "Tests/_SelectorParserTests",
"sources" : [
"AnPlusBTests.swift",
"CaseSensitiveTests.swift",
"DummyParser.swift",
"SelectorParserTests.swift",
"TestVisitor.swift"
],
"target_dependencies" : [
"_SelectorParser"
],
"type" : "test"
},
{
"c99name" : "_SelectorParser",
"module_type" : "SwiftTarget",
"name" : "_SelectorParser",
"path" : "Sources/_SelectorParser",
"product_memberships" : [
"SVGUIView",
"SVGView"
],
"sources" : [
"Attr.swift",
"Bloom.swift",
"Builder.swift",
"Combinator.swift",
"Component.swift",
"Context.swift",
"Element.swift",
"KleeneValue.swift",
"LazySplitSequence.swift",
"Matching.swift",
"NthSelectorData.swift",
"Push.swift",
"RelativeSelector.swift",
"Selector.swift",
"SelectorIter.swift",
"SelectorParser.swift",
"SelectorVisitor.swift",
"Utils.swift",
"Visitor.swift"
],
"target_dependencies" : [
"_CSSParser"
],
"type" : "library"
},
{
"c99name" : "_SPI",
"module_type" : "ClangTarget",
"name" : "_SPI",
"path" : "Sources/_SPI",
"product_memberships" : [
"SVGUIView",
"SVGView"
],
"sources" : [
"dummy.cpp"
],
"type" : "library"
},
{
"c99name" : "_ICU",
"module_type" : "ClangTarget",
"name" : "_ICU",
"path" : "Sources/_ICU",
"product_memberships" : [
"SVGUIView",
"SVGView"
],
"sources" : [
"dummy.cpp"
],
"type" : "library"
},
{
"c99name" : "_CShims",
"module_type" : "ClangTarget",
"name" : "_CShims",
"path" : "Sources/_CShims",
"product_memberships" : [
"SVGUIView",
"SVGView"
],
"sources" : [
"_CShims.c"
],
"type" : "library"
},
{
"c99name" : "_CSSParserTests",
"module_type" : "SwiftTarget",
"name" : "_CSSParserTests",
"path" : "Tests/_CSSParserTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/component_value_list.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/declaration_list.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/one_component_value.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/one_declaration.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/one_rule.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/rule_list.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/_CSSParserTests/assets/stylesheet.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"JSONParser.swift",
"JSONValue.swift",
"ParserTests.swift",
"SerializerTests.swift",
"Token+Testing.swift",
"TokenizerTests.swift"
],
"target_dependencies" : [
"_CSSParser"
],
"type" : "test"
},
{
"c99name" : "_CSSParser",
"module_type" : "SwiftTarget",
"name" : "_CSSParser",
"path" : "Sources/_CSSParser",
"product_memberships" : [
"SVGUIView",
"SVGView"
],
"sources" : [
"BlockType.swift",
"Extensions.swift",
"Into.swift",
"Nth.swift",
"Parser.swift",
"ParserState.swift",
"Parsers.swift",
"Serializer.swift",
"Token.swift",
"Tokenizer.swift",
"Utils.swift"
],
"type" : "library"
},
{
"c99name" : "SVGViewTests",
"module_type" : "SwiftTarget",
"name" : "SVGViewTests",
"path" : "Tests/SVGViewTests",
"sources" : [
"SVGViewTests.swift"
],
"target_dependencies" : [
"SVGView"
],
"type" : "test"
},
{
"c99name" : "SVGView",
"module_type" : "SwiftTarget",
"name" : "SVGView",
"path" : "Sources/SVGView",
"product_memberships" : [
"SVGView"
],
"sources" : [
"SVGView.swift"
],
"target_dependencies" : [
"SVGUIView"
],
"type" : "library"
},
{
"c99name" : "SVGUIViewTests",
"module_type" : "SwiftTarget",
"name" : "SVGUIViewTests",
"path" : "Tests/SVGUIViewTests",
"sources" : [
"AnimatedImageTests.swift",
"AnimationControlTests.swift",
"AnimationEndTests.swift",
"AnimationSnapshotTests.swift",
"BlendingTests.swift",
"BlurDeviationTests.swift",
"ChangesWhileRenderingTests.swift",
"ColorMatrixTests.swift",
"ComponentTransferTests.swift",
"CompositeTests.swift",
"ComputedStyleTests.swift",
"ContainerTests.swift",
"ContentModeTests.swift",
"ContextPaintTests.swift",
"ContinuousChangesTests.swift",
"ConvolveMatrixTests.swift",
"DataLoadingTests.swift",
"DataURLMarkerTests.swift",
"DisplacementMapTests.swift",
"DisplayWaitTests.swift",
"DocumentAPITests.swift",
"DocumentExportTests.swift",
"DocumentStructureTests.swift",
"DropShadowTests.swift",
"ElementGeometryTests.swift",
"ElementSnapshotTests.swift",
"ExternalImageTests.swift",
"ExternalStyleSheetTests.swift",
"ExternalUseTests.swift",
"FilterColorSpaceTests.swift",
"FilterCompositingTests.swift",
"FilterFunctionTests.swift",
"FilterInputTests.swift",
"FilterRegionTests.swift",
"FractionalBoundsMaskingTests.swift",
"GradientStopTests.swift",
"HitTestingReuseTests.swift",
"HitTestingTests.swift",
"ImageOrientationTests.swift",
"ImagePlacementTests.swift",
"ImagePrimitiveTests.swift",
"InheritanceTests.swift",
"LightingTests.swift",
"MaskAndClipRegionTests.swift",
"MaskContentTests.swift",
"MorphologyTests.swift",
"NamespaceSelectorTests.swift",
"NonScalingStrokeTests.swift",
"OffsetTests.swift",
"PaintServerTests.swift",
"PathLengthTests.swift",
"PlaybackTests.swift",
"RadialGradientTests.swift",
"SMILControlTests.swift",
"SVGDataFragmentTests.swift",
"SVGUIViewTests.swift",
"ScaledClipTests.swift",
"SnapshotScaleTests.swift",
"StrokeCapTests.swift",
"StrokePaintTests.swift",
"TextBrowserTests.swift",
"TextEditingTests.swift",
"TextFormattingTests.swift",
"TextLayoutTests.swift",
"TextPaintTests.swift",
"TileTests.swift",
"TransitionTests.swift",
"TurbulenceTests.swift",
"UnchangedFrameTests.swift",
"ViewTesting.swift",
"WideGamutTests.swift"
],
"target_dependencies" : [
"SVGUIView",
"SVGCore"
],
"type" : "test"
},
{
"c99name" : "SVGUIView",
"module_type" : "SwiftTarget",
"name" : "SVGUIView",
"path" : "Sources/SVGUIView",
"product_memberships" : [
"SVGUIView",
"SVGView"
],
"sources" : [
"AnimationClock.swift",
"ExternalResources.swift",
"RenderingTimeout.swift",
"SVGDocument.swift",
"SVGRenderingError.swift",
"SVGUIView.swift",
"SVGUIViewConfiguration.swift",
"SelectionHandles.swift",
"StyledText.swift",
"TextEditing.swift",
"TextStyleFonts.swift"
],
"target_dependencies" : [
"SVGCore",
"SVGRenderCG",
"SVGRenderLayer"
],
"type" : "library"
},
{
"c99name" : "SVGRenderLayerTests",
"module_type" : "SwiftTarget",
"name" : "SVGRenderLayerTests",
"path" : "Tests/SVGRenderLayerTests",
"sources" : [
"FilterRegionLimitTests.swift",
"GaussianBlurTests.swift",
"LayerPlannerTests.swift",
"LayerTreeTests.swift",
"LayerUpdateTests.swift",
"LightingSurfaceTests.swift",
"MetalFilterRendererTests.swift",
"PaintedBoundsTests.swift",
"PatternTileScaleTests.swift",
"WideGamutLayerTests.swift"
],
"target_dependencies" : [
"SVGRenderLayer",
"SVGRenderCG",
"SVGCore"
],
"type" : "test"
},
{
"c99name" : "SVGRenderLayer",
"module_type" : "SwiftTarget",
"name" : "SVGRenderLayer",
"path" : "Sources/SVGRenderLayer",
"product_memberships" : [
"SVGUIView",
"SVGView"
],
"sources" : [
"LayerPainter.swift",
"LayerPlan.swift",
"LayerPlanner.swift",
"LayerTree.swift",
"metal/ColorOperation.swift",
"metal/FilterKernels.swift",
"metal/MetalFilterRenderer.swift"
],
"target_dependencies" : [
"SVGCore",
"SVGRenderCG"
],
"type" : "library"
},
{
"c99name" : "SVGRenderCG",
"module_type" : "SwiftTarget",
"name" : "SVGRenderCG",
"path" : "Sources/SVGRenderCG",
"product_memberships" : [
"SVGUIView",
"SVGView"
],
"sources" : [
"CGPainter.swift",
"GradientPainting.swift",
"ImagePainting.swift",
"Luminance.swift",
"filter/ColorMapping.swift",
"filter/Composite.swift",
"filter/ConvolveMatrix.swift",
"filter/DisplacementMap.swift",
"filter/FilterInputs.swift",
"filter/FilterPainting.swift",
"filter/GaussianBlur.swift",
"filter/Image.swift",
"filter/Lighting.swift",
"filter/Morphology.swift",
"filter/TentConvolve.swift",
"filter/Tile.swift",
"filter/Turbulence.swift"
],
"target_dependencies" : [
"SVGCore"
],
"type" : "library"
},
{
"c99name" : "SVGCoreTests",
"module_type" : "SwiftTarget",
"name" : "SVGCoreTests",
"path" : "Tests/SVGCoreTests",
"sources" : [
"AnimatableTests.swift",
"AnimatedCompositingTests.swift",
"AnimatedImageTreeTests.swift",
"AnimatedPaintingTests.swift",
"AnimatedStyleTests.swift",
"AnimatedValuesTests.swift",
"AnimationEndTests.swift",
"AnimationParsingTests.swift",
"AnimationPlaybackTests.swift",
"AnimationTimingTests.swift",
"AttributeScannerTests.swift",
"BasicShapeTests.swift",
"CascadeTests.swift",
"ChangedNodesTests.swift",
"ColorConversionTests.swift",
"ColorParsingTests.swift",
"DocumentChangeTests.swift",
"DocumentQueryTests.swift",
"DocumentStructureTests.swift",
"DocumentTests.swift",
"EasingFunctionTests.swift",
"ExternalResourceLoaderTests.swift",
"ExternalStyleSheetTests.swift",
"FilterValueTests.swift",
"FontCacheTests.swift",
"FontShorthandTests.swift",
"FragmentIDTests.swift",
"HrefTests.swift",
"ImageSizeTests.swift",
"IncrementalStyleTests.swift",
"LengthParsingTests.swift",
"MarkerVerticesTests.swift",
"MatchingTests.swift",
"MathFunctionTests.swift",
"NetworkFetchTests.swift",
"PathDataTests.swift",
"PathMeasureTests.swift",
"RenderNodeReuseTests.swift",
"RenderPixels.swift",
"RenderTree+Testing.swift",
"RenderTreeBuilderTests.swift",
"ResolveContextTests.swift",
"SMILAnimationTests.swift",
"SMILAttributeTests.swift",
"SMILBeginEndTests.swift",
"SMILMotionTests.swift",
"SMILParsingTests.swift",
"SMILStartedAnimationTests.swift",
"SMILTimingTests.swift",
"SMILTransformTests.swift",
"Style+Testing.swift",
"StyleDeclarationsTests.swift",
"StyleTests.swift",
"TransformListTests.swift",
"TransitionParsingTests.swift",
"TransitionTests.swift",
"TreeChangeContextTests.swift",
"VariableTests.swift",
"WideGamutTests.swift"
],
"target_dependencies" : [
"SVGCore",
"_CSSParser",
"_SelectorParser"
],
"type" : "test"
},
{
"c99name" : "SVGCore",
"module_type" : "SwiftTarget",
"name" : "SVGCore",
"path" : "Sources/SVGCore",
"product_memberships" : [
"SVGUIView",
"SVGView"
],
"sources" : [
"Extensions/CGAffineTransform+Extension.swift",
"Extensions/CGColor+Extension.swift",
"Extensions/CGContext+Extension.swift",
"Extensions/CGMutablePath+Extension.swift",
"animation/Animatable+Values.swift",
"animation/Animatable.swift",
"animation/AnimatedCompositing.swift",
"animation/AnimatedPainting.swift",
"animation/AnimatedStyle.swift",
"animation/AnimatedValues.swift",
"animation/AnimationEnd.swift",
"animation/AnimationPlayback.swift",
"animation/AnimationTiming.swift",
"animation/AnimationValues.swift",
"animation/CSSTransition.swift",
"animation/EasingFunction.swift",
"animation/RestyleScope.swift",
"animation/SMILStartedAnimations.swift",
"animation/smil/SMILAnimation.swift",
"animation/smil/SMILAttributeValue.swift",
"animation/smil/SMILEffect.swift",
"animation/smil/SMILMotion.swift",
"animation/smil/SMILSchedule.swift",
"animation/smil/SMILTimeValue.swift",
"animation/smil/SMILTransformValues.swift",
"css/AtomString.swift",
"css/CSSRule.swift",
"css/Cascade.swift",
"css/DocumentState.swift",
"css/ElementState.swift",
"css/ExternalStyleSheets.swift",
"css/FontFace.swift",
"css/GenericAtomIdent.swift",
"css/IdentStaticSet.swift",
"css/Keyframes.swift",
"css/LocalNameStaticSet.swift",
"css/NamespaceStaticSet.swift",
"css/NonTSPseudoClassImpl.swift",
"css/Origin.swift",
"css/PrefixStaticSet.swift",
"css/PseudoElementImpl.swift",
"css/SelectorImpl.swift",
"css/StyleDeclarations.swift",
"css/Stylesheet.swift",
"css/UrlExtraData.swift",
"document/AttributeChanges.swift",
"document/AttributeName.swift",
"document/ChangedElements.swift",
"document/DocumentElement.swift",
"document/DocumentSerializer.swift",
"document/ElementCursor.swift",
"document/ExternalResourceLoader.swift",
"document/InstanceStyles.swift",
"document/NetworkFetch.swift",
"document/SVGBaseContext.swift",
"element/ConditionalProcessing.swift",
"element/EmbeddedImage.swift",
"element/SVGClipPathElement.swift",
"element/SVGDefsElement.swift",
"element/SVGElement.swift",
"element/SVGGroupElement.swift",
"element/SVGMarkerElement.swift",
"element/SVGMaskElement.swift",
"element/SVGPatternElement.swift",
"element/SVGSVGElement.swift",
"element/SVGSymbolElement.swift",
"element/SVGUnknownElement.swift",
"element/drawable/SVGCircleElement.swift",
"element/drawable/SVGEllipse.swift",
"element/drawable/SVGImageElement.swift",
"element/drawable/SVGLineElement.swift",
"element/drawable/SVGPathElement.swift",
"element/drawable/SVGPolygonElement.swift",
"element/drawable/SVGPolylineElement.swift",
"element/drawable/SVGRectElement.swift",
"element/drawable/SVGTSpanElement.swift",
"element/drawable/SVGTextElement.swift",
"element/drawable/SVGUseElement.swift",
"element/drawable/TextLayout.swift",
"element/filter/NumberList.swift",
"element/filter/SVGFeBlendElement.swift",
"element/filter/SVGFeColorMatrixElement.swift",
"element/filter/SVGFeComponentTransferElement.swift",
"element/filter/SVGFeCompositeElement.swift",
"element/filter/SVGFeConvolveMatrixElement.swift",
"element/filter/SVGFeDisplacementMapElement.swift",
"element/filter/SVGFeDropShadowElement.swift",
"element/filter/SVGFeFloodElement.swift",
"element/filter/SVGFeGaussianBlurElement.swift",
"element/filter/SVGFeImageElement.swift",
"element/filter/SVGFeLightingElements.swift",
"element/filter/SVGFeMergeElement.swift",
"element/filter/SVGFeMergeNodeElement.swift",
"element/filter/SVGFeMorphologyElement.swift",
"element/filter/SVGFeOffsetElement.swift",
"element/filter/SVGFeTileElement.swift",
"element/filter/SVGFeTurbulenceElement.swift",
"element/filter/SVGFilterElement.swift",
"element/filter/SVGFilterPrimitiveElement.swift",
"element/filter/SVGLightSourceElements.swift",
"element/pserver/SVGGradientServer.swift",
"element/pserver/SVGStopElement.swift",
"font/CFString+SPI.swift",
"font/CSSFontSelector.swift",
"font/Font.swift",
"font/FontCache.swift",
"font/FontCacheCoreText.swift",
"font/FontCascade.swift",
"font/FontCascadeDescription.swift",
"font/FontCascadeFonts.swift",
"font/FontCreationContext.swift",
"font/FontCreationContextRareData.swift",
"font/FontDatabase.swift",
"font/FontDescription.swift",
"font/FontFamilySpecificationCoreText.swift",
"font/FontFamilySpecificationCoreTextCache.swift",
"font/FontFamilySpecificationKey.swift",
"font/FontGenericFamilies.swift",
"font/FontInterrogation.swift",
"font/FontPlatformData.swift",
"font/FontRanges.swift",
"font/FontSelectionAlgorithm.swift",
"font/FontSelectionCapabilities.swift",
"font/FontSelectionValue.swift",
"font/FontSelector.swift",
"font/FontSizeAdjust.swift",
"font/FontTaggedSettings.swift",
"font/GlyphData.swift",
"font/GlyphPage.swift",
"font/Settings.swift",
"font/SystemFontDatabaseCoreText.swift",
"font/UScriptCode.swift",
"font/UnrealizedCoreTextFont.swift",
"font/VariationCapabilities .swift",
"parser/CSSParser.swift",
"parser/SVGAttributeScanner.swift",
"parser/SVGParser.swift",
"parser/SelectorParser.swift",
"parser/buffer/BufferReader.swift",
"parser/buffer/BufferView.swift",
"parser/buffer/BufferViewIndex.swift",
"parser/css/CSSUnitType.swift",
"parser/css/Parser.swift",
"parser/css/values/MathFunction.swift",
"parser/css/values/Number.swift",
"primitives/BasicShape.swift",
"primitives/ColorMix.swift",
"primitives/ColorSpaces.swift",
"primitives/ContentFit.swift",
"primitives/FragmentID.swift",
"primitives/MarkerVertices.swift",
"primitives/PathData.swift",
"primitives/PathMeasure.swift",
"primitives/PreserveAspectRatio.swift",
"primitives/SVGClipPath.swift",
"primitives/SVGElementRect.swift",
"primitives/SVGFilter.swift",
"primitives/SVGLength.swift",
"primitives/SVGMask.swift",
"primitives/SVGOpacity.swift",
"primitives/SVGUIColor.swift",
"primitives/SVGUIFont.swift",
"primitives/SVGUIInlineStyle.swift",
"primitives/SVGUIPoints.swift",
"render/ContextPaint.swift",
"render/EffectTextDecorators.swift",
"render/Effects.swift",
"render/ElementGeometry.swift",
"render/FilterEffect.swift",
"render/GradientPaint.swift",
"render/HitTesting.swift",
"render/PaintedBounds.swift",
"render/PathLength.swift",
"render/RenderNode+Compositing.swift",
"render/RenderSubtree.swift",
"render/RenderTree+Gamut.swift",
"render/RenderTree.swift",
"render/RenderTreeBuilder+Effects.swift",
"render/RenderTreeBuilder+FilterFunctions.swift",
"render/RenderTreeBuilder+Filters.swift",
"render/RenderTreeBuilder+Images.swift",
"render/RenderTreeBuilder+Markers.swift",
"render/RenderTreeBuilder+Use.swift",
"render/RenderTreeBuilder.swift",
"render/RenderingProgress.swift",
"render/ResolveContext.swift",
"render/SVGImageDocuments.swift",
"render/SquareCaps.swift",
"render/TextCharacters.swift",
"style/AnimationProperties.swift",
"style/CascadedValues.swift",
"style/ColorExpression.swift",
"style/ComputedStyle.swift",
"style/ComputedValueSerialization.swift",
"style/Properties.swift",
"style/StyleProperty.swift",
"style/StyleValues.swift",
"style/TransformList.swift",
"style/TransitionProperties.swift",
"style/VariableSubstitution.swift"
],
"target_dependencies" : [
"_SPI",
"_ICU",
"_CShims",
"_CSSParser",
"_SelectorParser"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/11] Write sources
[7/11] Compiling _CShims _CShims.c
[7/11] Compiling _SPI dummy.cpp
[9/11] Compiling _ICU dummy.cpp
[10/11] Write swift-version-2F0A5646E1D333AE.txt
[12/22] Compiling _CSSParser Token.swift
[13/22] Compiling _CSSParser Serializer.swift
[14/22] Compiling _CSSParser Parsers.swift
[15/22] Compiling _CSSParser ParserState.swift
[16/22] Compiling _CSSParser Tokenizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:476:22: error: 'Regex' is only available in macOS 13.0 or newer
473 | }
474 |
475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
| `- note: add @available attribute to enclosing global function
476 | let pattern = try! Regex("[ \t\u{000C}\r\n]")
| |- error: 'Regex' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
477 | do {
478 | let directive = "# sourceMappingURL="
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:476:22: error: 'init(_:)' is only available in macOS 13.0 or newer
473 | }
474 |
475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
| `- note: add @available attribute to enclosing global function
476 | let pattern = try! Regex("[ \t\u{000C}\r\n]")
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
477 | do {
478 | let directive = "# sourceMappingURL="
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:482:41: error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
473 | }
474 |
475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
| `- note: add @available attribute to enclosing global function
476 | let pattern = try! Regex("[ \t\u{000C}\r\n]")
477 | do {
:
480 | if contents.starts(with: directive) || contents.starts(with: directiveOld) {
481 | let contents = contents[contents.index(contents.startIndex, offsetBy: directive.count)...]
482 | tokenizer.sourceMapUrl = contents.split(separator: pattern, omittingEmptySubsequences: false).first.flatMap(String.init)
| |- error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
483 | }
484 | }
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:490:38: error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
473 | }
474 |
475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
| `- note: add @available attribute to enclosing global function
476 | let pattern = try! Regex("[ \t\u{000C}\r\n]")
477 | do {
:
488 | if contents.starts(with: directive) || contents.starts(with: directiveOld) {
489 | let contents = contents[contents.index(contents.startIndex, offsetBy: directive.count)...]
490 | tokenizer.sourceUrl = contents.split(separator: pattern, omittingEmptySubsequences: false).first.flatMap(String.init)
| |- error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
491 | }
492 | }
[17/22] Compiling _CSSParser Parser.swift
[18/22] Compiling _CSSParser Into.swift
[19/22] Compiling _CSSParser BlockType.swift
[20/22] Compiling _CSSParser Extensions.swift
[21/22] Emitting module _CSSParser
[22/22] Compiling _CSSParser Nth.swift
[23/23] Compiling _CSSParser Utils.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/12] Compiling _CSSParser Serializer.swift
[3/13] Compiling _CSSParser Nth.swift
[4/13] Compiling _CSSParser Into.swift
[5/13] Compiling _CSSParser BlockType.swift
[6/13] Compiling _CSSParser Extensions.swift
[7/13] Compiling _CSSParser Parser.swift
[8/13] Emitting module _CSSParser
[9/13] Compiling _CSSParser Token.swift
[10/13] Compiling _CSSParser Parsers.swift
[11/13] Compiling _CSSParser ParserState.swift
[12/13] Compiling _CSSParser Tokenizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:476:22: error: 'Regex' is only available in macOS 13.0 or newer
473 | }
474 |
475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
| `- note: add @available attribute to enclosing global function
476 | let pattern = try! Regex("[ \t\u{000C}\r\n]")
| |- error: 'Regex' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
477 | do {
478 | let directive = "# sourceMappingURL="
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:476:22: error: 'init(_:)' is only available in macOS 13.0 or newer
473 | }
474 |
475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
| `- note: add @available attribute to enclosing global function
476 | let pattern = try! Regex("[ \t\u{000C}\r\n]")
| |- error: 'init(_:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
477 | do {
478 | let directive = "# sourceMappingURL="
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:482:41: error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
473 | }
474 |
475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
| `- note: add @available attribute to enclosing global function
476 | let pattern = try! Regex("[ \t\u{000C}\r\n]")
477 | do {
:
480 | if contents.starts(with: directive) || contents.starts(with: directiveOld) {
481 | let contents = contents[contents.index(contents.startIndex, offsetBy: directive.count)...]
482 | tokenizer.sourceMapUrl = contents.split(separator: pattern, omittingEmptySubsequences: false).first.flatMap(String.init)
| |- error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
483 | }
484 | }
/Users/admin/builder/spi-builder-workspace/Sources/_CSSParser/Tokenizer.swift:490:38: error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
473 | }
474 |
475 | func checkForSourceMap(tokenizer: inout Tokenizer, contents: String) {
| `- note: add @available attribute to enclosing global function
476 | let pattern = try! Regex("[ \t\u{000C}\r\n]")
477 | do {
:
488 | if contents.starts(with: directive) || contents.starts(with: directiveOld) {
489 | let contents = contents[contents.index(contents.startIndex, offsetBy: directive.count)...]
490 | tokenizer.sourceUrl = contents.split(separator: pattern, omittingEmptySubsequences: false).first.flatMap(String.init)
| |- error: 'split(separator:maxSplits:omittingEmptySubsequences:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
491 | }
492 | }
[13/13] Compiling _CSSParser Utils.swift
BUILD FAILURE 6.1 macosSpm