Build Information
Failed to build MetaCodable, reference main (5873c3
), with Swift 5.10 for macOS (Xcode) using Xcode 15.4 on 27 Jul 2025 14:17:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MetaCodable-Package -destination platform=macOS,arch=arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftyLab/MetaCodable.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftyLab/MetaCodable
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5873c3e fix: fixed optional types not detected with `valueCoder` strategy (#141)
Cloned https://github.com/SwiftyLab/MetaCodable.git
Revision (git rev-parse @):
5873c3e33ab98e61c06304bfc2a2c93ab199d65d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftyLab/MetaCodable.git at main
========================================
Build
========================================
Selected platform: macosXcodebuild
Swift version: 5.10
Building package at path: $PWD
https://github.com/SwiftyLab/MetaCodable.git
Command line invocation:
/Applications/Xcode-15.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/apple/swift-collections.git
Fetching from https://github.com/swiftlang/swift-syntax.git
Fetching from https://github.com/apple/swift-argument-parser.git
Creating working copy of package ‘swift-syntax’
Checking out 601.0.1 of package ‘swift-syntax’
Creating working copy of package ‘swift-argument-parser’
Checking out 1.6.1 of package ‘swift-argument-parser’
Creating working copy of package ‘swift-collections’
Checking out 1.2.1 of package ‘swift-collections’
Resolved source packages:
swift-collections: https://github.com/apple/swift-collections.git @ 1.2.1
swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.6.1
swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 601.0.1
MetaCodable: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-collections, swift-argument-parser, swift-syntax, MetaCodable
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.1.0",
"upper_bound" : "602.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "MetaCodable",
"name" : "MetaCodable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "MetaCodable",
"targets" : [
"MetaCodable"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HelperCoders",
"targets" : [
"HelperCoders"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MetaProtocolCodable",
"targets" : [
"MetaProtocolCodable"
],
"type" : {
"plugin" : null
}
},
{
"name" : "ProtocolGen",
"targets" : [
"ProtocolGen"
],
"type" : {
"executable" : null
}
},
{
"name" : "TestingMacroPlugin",
"targets" : [
"TestingMacroPlugin"
],
"type" : {
"macro" : null
}
},
{
"name" : "MacroPlugin",
"targets" : [
"MacroPlugin"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "TestingMacroPlugin",
"module_type" : "SwiftTarget",
"name" : "TestingMacroPlugin",
"path" : "Sources/TestingMacroPlugin",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"TestingMacroPlugin"
],
"sources" : [
"Attached.swift",
"Expression.swift",
"Plugin.swift"
],
"type" : "macro"
},
{
"c99name" : "Testing",
"module_type" : "SwiftTarget",
"name" : "Testing",
"path" : "Sources/Testing",
"sources" : [
"APIs.swift",
"Macros.swift"
],
"target_dependencies" : [
"TestingMacroPlugin"
],
"type" : "library"
},
{
"c99name" : "ProtocolGen",
"module_type" : "SwiftTarget",
"name" : "ProtocolGen",
"path" : "Sources/ProtocolGen",
"product_dependencies" : [
"ArgumentParser",
"SwiftSyntax",
"SwiftParser",
"SwiftSyntaxMacroExpansion"
],
"product_memberships" : [
"MetaProtocolCodable",
"ProtocolGen"
],
"sources" : [
"Config.swift",
"Fetch.swift",
"Generate.swift",
"InheritableDeclSyntax.swift",
"Parse.swift",
"ProtocolGen.swift"
],
"target_dependencies" : [
"PluginCore",
"MetaCodable"
],
"type" : "executable"
},
{
"c99name" : "PluginCore",
"module_type" : "SwiftTarget",
"name" : "PluginCore",
"path" : "Sources/PluginCore",
"product_dependencies" : [
"SwiftSyntax",
"SwiftOperators",
"SwiftDiagnostics",
"SwiftSyntaxBuilder",
"SwiftSyntaxMacros",
"OrderedCollections"
],
"product_memberships" : [
"MetaCodable",
"HelperCoders",
"MetaProtocolCodable",
"ProtocolGen",
"MacroPlugin"
],
"sources" : [
"Attributes/AttributableDeclSyntax.swift",
"Attributes/Attribute.swift",
"Attributes/Codable/Codable+Expansion.swift",
"Attributes/Codable/Codable.swift",
"Attributes/Codable/CodingKeys/CodingKeyTransformer.swift",
"Attributes/Codable/CodingKeys/CodingKeys.swift",
"Attributes/Codable/CodingKeys/Strategy.swift",
"Attributes/Codable/Decodable/AttributeExpander+Decodable.swift",
"Attributes/Codable/Decodable/Decodable+Expansion.swift",
"Attributes/Codable/Decodable/Decodable.swift",
"Attributes/Codable/Encodable/AttributeExpander+Encodable.swift",
"Attributes/Codable/Encodable/Encodable+Expansion.swift",
"Attributes/Codable/Encodable/Encodable.swift",
"Attributes/Codable/IgnoreCodingInitialized.swift",
"Attributes/Codable/Inherits.swift",
"Attributes/Codable/Strategies/StrategyFinder.swift",
"Attributes/Codable/UnTagged.swift",
"Attributes/CodedAs.swift",
"Attributes/CodedBy.swift",
"Attributes/Default.swift",
"Attributes/IgnoreCoding/IgnoreCoding.swift",
"Attributes/IgnoreCoding/IgnoreDecoding.swift",
"Attributes/IgnoreCoding/IgnoreEncoding.swift",
"Attributes/KeyPath/CodedAt.swift",
"Attributes/KeyPath/CodedIn.swift",
"Attributes/KeyPath/ContentAt.swift",
"Attributes/KeyPath/DecodedAt.swift",
"Attributes/KeyPath/EncodedAt.swift",
"Attributes/KeyPath/KeyPathProvider.swift",
"Attributes/MemberInit/MemberInit+Expansion.swift",
"Attributes/MemberInit/MemberInit.swift",
"Attributes/PeerAttribute.swift",
"Diagnostics/AggregatedDiagnosticProducer.swift",
"Diagnostics/CombinedUsage.swift",
"Diagnostics/Condition/ArgumentCountCondition.swift",
"Diagnostics/Condition/DeclarationCondition.swift",
"Diagnostics/Condition/DiagnosticCondition.swift",
"Diagnostics/ConditionalDiagnosticProducer.swift",
"Diagnostics/DiagnosticProducer.swift",
"Diagnostics/DuplicateUsage.swift",
"Diagnostics/GroupedVariableDeclaration.swift",
"Diagnostics/InvalidCombination.swift",
"Diagnostics/InvalidDeclaration.swift",
"Diagnostics/MetaCodableMessage.swift",
"Diagnostics/StaticVariableDeclaration.swift",
"Diagnostics/UninitializedVariableDecl.swift",
"Expansion/AttributeExpander.swift",
"Expansion/Options/DeclModifiersGenerator.swift",
"Expansion/Options/Options.swift",
"Variables/ComposedVariable.swift",
"Variables/ConditionalCodingVariable.swift",
"Variables/Enum/Case/Associated/AssociatedVariable.swift",
"Variables/Enum/Case/Associated/BasicAssociatedVariable.swift",
"Variables/Enum/Case/BasicEnumCaseVariable.swift",
"Variables/Enum/Case/EnumCaseVariable.swift",
"Variables/Enum/Switcher/AdjacentlyTaggableSwitcher.swift",
"Variables/Enum/Switcher/AdjacentlyTaggedEnumSwitcher.swift",
"Variables/Enum/Switcher/AnyEnumSwitcher.swift",
"Variables/Enum/Switcher/EnumSwitcherVariable.swift",
"Variables/Enum/Switcher/ExternallyTaggedEnumSwitcher.swift",
"Variables/Enum/Switcher/InternallyTaggedEnumSwitcher.swift",
"Variables/Enum/Switcher/TaggedEnumSwitcherVariable.swift",
"Variables/Enum/Switcher/UnTaggedEnumSwitcher.swift",
"Variables/Initialization/AnyInitialization.swift",
"Variables/Initialization/AnyRequiredVariableInitialization.swift",
"Variables/Initialization/IgnoredInitialization.swift",
"Variables/Initialization/MemberwiseInitGenerator.swift",
"Variables/Initialization/OptionalInitialization.swift",
"Variables/Initialization/RequiredInitialization.swift",
"Variables/Initialization/RequiredInitializationWithDefaultValue.swift",
"Variables/Initialization/RequiredVariableInitialization.swift",
"Variables/Initialization/VariableInitialization.swift",
"Variables/Property/AliasedPropertyVariable.swift",
"Variables/Property/AnyPropertyVariable.swift",
"Variables/Property/BasicPropertyVariable.swift",
"Variables/Property/Data/DecodingFallback.swift",
"Variables/Property/DefaultValueVariable.swift",
"Variables/Property/HelperCodedVariable.swift",
"Variables/Property/InitializationVariable.swift",
"Variables/Property/KeyedVariable.swift",
"Variables/Property/PropertyVariable.swift",
"Variables/Property/StrategyVariable.swift",
"Variables/Property/Tree/PropertyVariableTreeNode+CodingData.swift",
"Variables/Property/Tree/PropertyVariableTreeNode+CodingLocation.swift",
"Variables/Property/Tree/PropertyVariableTreeNode+Generated.swift",
"Variables/Property/Tree/PropertyVariableTreeNode.swift",
"Variables/Syntax/AssociatedDeclSyntax.swift",
"Variables/Syntax/EnumCaseVariableDeclSyntax.swift",
"Variables/Syntax/MemberGroupSyntax.swift",
"Variables/Syntax/PropertyDeclSyntax.swift",
"Variables/Syntax/VariableSyntax.swift",
"Variables/Type/ActorVariable.swift",
"Variables/Type/ClassVariable.swift",
"Variables/Type/Data/CodingKeysMap/Case.swift",
"Variables/Type/Data/CodingKeysMap/CodingKeysMap.swift",
"Variables/Type/Data/CodingKeysMap/Key.swift",
"Variables/Type/Data/ConstraintGenerator.swift",
"Variables/Type/Data/Registration.swift",
"Variables/Type/EnumVariable.swift",
"Variables/Type/MemberGroup.swift",
"Variables/Type/TypeVariable.swift",
"Variables/Variable.swift"
],
"type" : "library"
},
{
"c99name" : "MetaProtocolCodable",
"module_type" : "PluginTarget",
"name" : "MetaProtocolCodable",
"path" : "Plugins/MetaProtocolCodable",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"MetaProtocolCodable"
],
"sources" : [
"Config.swift",
"PathToURLMigration.swift",
"Plugin.swift",
"PluginContext.swift",
"SourceTarget/MetaProtocolCodableSourceTarget.swift",
"SourceTarget/SwiftPackageTarget.swift",
"SourceTarget/XcodeTarget.swift"
],
"target_dependencies" : [
"ProtocolGen"
],
"type" : "plugin"
},
{
"c99name" : "MetaCodableTests",
"module_type" : "SwiftTarget",
"name" : "MetaCodableTests",
"path" : "Tests/MetaCodableTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"AccessModifierTests.swift",
"Attributes/CodedByTests.swift",
"Attributes/DefaultTests.swift",
"Codable/CommonStrategiesValueCoderTests.swift",
"CodableInheritanceTests.swift",
"CodableTests.swift",
"CodedAs/CodedAsEnumTests.swift",
"CodedAs/CodedAsTests.swift",
"CodedAt/CodedAtDefaultChoiceTests.swift",
"CodedAt/CodedAtDefaultOnlyMissingTests.swift",
"CodedAt/CodedAtDefaultTests.swift",
"CodedAt/CodedAtEnumTests.swift",
"CodedAt/CodedAtHelperDefaultTests.swift",
"CodedAt/CodedAtHelperTests.swift",
"CodedAt/CodedAtTests.swift",
"CodedAt/DecodedAtTests.swift",
"CodedAt/EncodedAtTests.swift",
"CodedBy/CodedByActionTests.swift",
"CodedIn/CodedInDefaultTests.swift",
"CodedIn/CodedInHelperDefaultChoiceTests.swift",
"CodedIn/CodedInHelperDefaultOnlyMissingTests.swift",
"CodedIn/CodedInHelperDefaultTests.swift",
"CodedIn/CodedInHelperTests.swift",
"CodedIn/CodedInTests.swift",
"CodingKeysGenerationTests.swift",
"CodingKeysTests.swift",
"ConformCodableTests.swift",
"ContentAtTests.swift",
"DecodedAtEncodedAtIntegrationTests.swift",
"DynamicCodable/DynamicCodableTests.swift",
"DynamicCodable/PageData.swift",
"DynamicCodable/PostPage.swift",
"DynamicCodable/Response.swift",
"ExplicitCodingTests.swift",
"GenericsTests.swift",
"GroupedMutableVariableTests.swift",
"GroupedVariableTests.swift",
"HelperCoders/DataCoderTests.swift",
"HelperCoders/DateCoderTests.swift",
"HelperCoders/HelperCodersTests.swift",
"HelperCoders/LossySequenceTests.swift",
"HelperCoders/NonConformingCoderTests.swift",
"HelperCoders/SequenceCoderTests.swift",
"HelperCoders/ValueCoderTests.swift",
"IgnoreCodingTests.swift",
"IgnoreInitializedTests.swift",
"UntaggedEnumTests.swift",
"VariableDeclarationTests.swift"
],
"target_dependencies" : [
"PluginCore",
"MacroPlugin",
"MetaCodable",
"HelperCoders",
"Testing",
"MetaProtocolCodable"
],
"type" : "test"
},
{
"c99name" : "MetaCodable",
"module_type" : "SwiftTarget",
"name" : "MetaCodable",
"path" : "Sources/MetaCodable",
"product_memberships" : [
"MetaCodable",
"HelperCoders",
"MetaProtocolCodable",
"ProtocolGen"
],
"sources" : [
"Codable/Codable.swift",
"Codable/CodableCommonStrategy.swift",
"Codable/CodingKeys.swift",
"Codable/Decodable.swift",
"Codable/Encodable.swift",
"Codable/IgnoreCodingInitialized.swift",
"Codable/UnTagged.swift",
"CodedAs.swift",
"CodedAt.swift",
"CodedBy.swift",
"CodedIn.swift",
"ContentAt.swift",
"DecodedAt.swift",
"Default.swift",
"DynamicCodable/DynamicCodable.swift",
"DynamicCodable/DynamicCodableIdentifier+CodingKey.swift",
"DynamicCodable/DynamicCodableIdentifier+Expressible.swift",
"DynamicCodable/DynamicCodableIdentifier.swift",
"EncodedAt.swift",
"HelperCoders/HelperCoder.swift",
"HelperCoders/LossySequence.swift",
"IgnoreCoding.swift",
"MemberInit.swift"
],
"target_dependencies" : [
"MacroPlugin"
],
"type" : "library"
},
{
"c99name" : "MacroPlugin",
"module_type" : "SwiftTarget",
"name" : "MacroPlugin",
"path" : "Sources/MacroPlugin",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"MetaCodable",
"HelperCoders",
"MetaProtocolCodable",
"ProtocolGen",
"MacroPlugin"
],
"sources" : [
"Definitions.swift",
"Plugin.swift"
],
"target_dependencies" : [
"PluginCore"
],
"type" : "macro"
},
{
"c99name" : "HelperCoders",
"module_type" : "SwiftTarget",
"name" : "HelperCoders",
"path" : "Sources/HelperCoders",
"product_memberships" : [
"HelperCoders"
],
"sources" : [
"Base64Coder.swift",
"ConditionalCoder.swift",
"DateCoders/DateCoder.swift",
"DateCoders/Since1970DateCoder.swift",
"NonConformingCoder.swift",
"PropertyWrapperCoder.swift",
"SequenceCoder/DefaultSequenceElementCoding.swift",
"SequenceCoder/SequenceCoder.swift",
"SequenceCoder/SequenceCoderConfiguration.swift",
"Strategies/HelperCoderStrategy.swift",
"ValueCoders/Bool.swift",
"ValueCoders/Number.swift",
"ValueCoders/String.swift",
"ValueCoders/ValueCoder.swift"
],
"target_dependencies" : [
"MetaCodable"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"HelperCoders",
"MetaCodable",
"MetaCodable-Package",
"ProtocolGen"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MetaCodable-Package -destination platform=macOS,arch=arm64
Command line invocation:
/Applications/Xcode-15.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme MetaCodable-Package -destination platform=macOS,arch=arm64
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.6.1
MetaCodable: /Users/admin/builder/spi-builder-workspace
swift-collections: https://github.com/apple/swift-collections.git @ 1.2.1
swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 601.0.1
Prepare packages
Compile plug-in “MetaProtocolCodable” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/MetaProtocolCodable
[debug]: Using compiler /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: 7f9ee5d7f830b0c8ecc75f2580a7c8844b8db11bc091613313bd9ea07871d874
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
/Users/admin/builder/spi-builder-workspace/Plugins/MetaProtocolCodable/PathToURLMigration.swift:81:11: error: cannot find type 'XcodePluginContext' in scope
extension XcodePluginContext {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Plugins/MetaProtocolCodable/PluginContext.swift:59:1: error: type 'XcodePluginContext' does not conform to protocol 'MetaProtocolCodablePluginContext'
extension XcodePluginContext: MetaProtocolCodablePluginContext {
^
/Users/admin/builder/spi-builder-workspace/Plugins/MetaProtocolCodable/PluginContext.swift:59:1: note: add stubs for conformance
extension XcodePluginContext: MetaProtocolCodablePluginContext {
^
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD INTERRUPTED **
The following build commands failed:
Compile plug-in “MetaProtocolCodable” in package “spi-builder-workspace”
eyJibHVlcHJpbnRQcm92aWRlcl9wcm92aWRlckZpbGVQYXRoU3RyaW5nIjoiXC9Vc2Vyc1wvYWRtaW5cL2J1aWxkZXJcL3NwaS1idWlsZGVyLXdvcmtzcGFjZSIsInR5cGUiOnsiYmx1ZXByaW50UHJvdmlkZXIiOnt9fX0=
(2 failures)
Command line invocation:
/Applications/Xcode-15.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
MetaCodable: /Users/admin/builder/spi-builder-workspace
swift-collections: https://github.com/apple/swift-collections.git @ 1.2.1
swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 601.0.1
swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.6.1
resolved source packages: MetaCodable, swift-collections, swift-syntax, swift-argument-parser
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.1.0",
"upper_bound" : "602.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "MetaCodable",
"name" : "MetaCodable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "MetaCodable",
"targets" : [
"MetaCodable"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HelperCoders",
"targets" : [
"HelperCoders"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MetaProtocolCodable",
"targets" : [
"MetaProtocolCodable"
],
"type" : {
"plugin" : null
}
},
{
"name" : "ProtocolGen",
"targets" : [
"ProtocolGen"
],
"type" : {
"executable" : null
}
},
{
"name" : "TestingMacroPlugin",
"targets" : [
"TestingMacroPlugin"
],
"type" : {
"macro" : null
}
},
{
"name" : "MacroPlugin",
"targets" : [
"MacroPlugin"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "TestingMacroPlugin",
"module_type" : "SwiftTarget",
"name" : "TestingMacroPlugin",
"path" : "Sources/TestingMacroPlugin",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"TestingMacroPlugin"
],
"sources" : [
"Attached.swift",
"Expression.swift",
"Plugin.swift"
],
"type" : "macro"
},
{
"c99name" : "Testing",
"module_type" : "SwiftTarget",
"name" : "Testing",
"path" : "Sources/Testing",
"sources" : [
"APIs.swift",
"Macros.swift"
],
"target_dependencies" : [
"TestingMacroPlugin"
],
"type" : "library"
},
{
"c99name" : "ProtocolGen",
"module_type" : "SwiftTarget",
"name" : "ProtocolGen",
"path" : "Sources/ProtocolGen",
"product_dependencies" : [
"ArgumentParser",
"SwiftSyntax",
"SwiftParser",
"SwiftSyntaxMacroExpansion"
],
"product_memberships" : [
"MetaProtocolCodable",
"ProtocolGen"
],
"sources" : [
"Config.swift",
"Fetch.swift",
"Generate.swift",
"InheritableDeclSyntax.swift",
"Parse.swift",
"ProtocolGen.swift"
],
"target_dependencies" : [
"PluginCore",
"MetaCodable"
],
"type" : "executable"
},
{
"c99name" : "PluginCore",
"module_type" : "SwiftTarget",
"name" : "PluginCore",
"path" : "Sources/PluginCore",
"product_dependencies" : [
"SwiftSyntax",
"SwiftOperators",
"SwiftDiagnostics",
"SwiftSyntaxBuilder",
"SwiftSyntaxMacros",
"OrderedCollections"
],
"product_memberships" : [
"MetaCodable",
"HelperCoders",
"MetaProtocolCodable",
"ProtocolGen",
"MacroPlugin"
],
"sources" : [
"Attributes/AttributableDeclSyntax.swift",
"Attributes/Attribute.swift",
"Attributes/Codable/Codable+Expansion.swift",
"Attributes/Codable/Codable.swift",
"Attributes/Codable/CodingKeys/CodingKeyTransformer.swift",
"Attributes/Codable/CodingKeys/CodingKeys.swift",
"Attributes/Codable/CodingKeys/Strategy.swift",
"Attributes/Codable/Decodable/AttributeExpander+Decodable.swift",
"Attributes/Codable/Decodable/Decodable+Expansion.swift",
"Attributes/Codable/Decodable/Decodable.swift",
"Attributes/Codable/Encodable/AttributeExpander+Encodable.swift",
"Attributes/Codable/Encodable/Encodable+Expansion.swift",
"Attributes/Codable/Encodable/Encodable.swift",
"Attributes/Codable/IgnoreCodingInitialized.swift",
"Attributes/Codable/Inherits.swift",
"Attributes/Codable/Strategies/StrategyFinder.swift",
"Attributes/Codable/UnTagged.swift",
"Attributes/CodedAs.swift",
"Attributes/CodedBy.swift",
"Attributes/Default.swift",
"Attributes/IgnoreCoding/IgnoreCoding.swift",
"Attributes/IgnoreCoding/IgnoreDecoding.swift",
"Attributes/IgnoreCoding/IgnoreEncoding.swift",
"Attributes/KeyPath/CodedAt.swift",
"Attributes/KeyPath/CodedIn.swift",
"Attributes/KeyPath/ContentAt.swift",
"Attributes/KeyPath/DecodedAt.swift",
"Attributes/KeyPath/EncodedAt.swift",
"Attributes/KeyPath/KeyPathProvider.swift",
"Attributes/MemberInit/MemberInit+Expansion.swift",
"Attributes/MemberInit/MemberInit.swift",
"Attributes/PeerAttribute.swift",
"Diagnostics/AggregatedDiagnosticProducer.swift",
"Diagnostics/CombinedUsage.swift",
"Diagnostics/Condition/ArgumentCountCondition.swift",
"Diagnostics/Condition/DeclarationCondition.swift",
"Diagnostics/Condition/DiagnosticCondition.swift",
"Diagnostics/ConditionalDiagnosticProducer.swift",
"Diagnostics/DiagnosticProducer.swift",
"Diagnostics/DuplicateUsage.swift",
"Diagnostics/GroupedVariableDeclaration.swift",
"Diagnostics/InvalidCombination.swift",
"Diagnostics/InvalidDeclaration.swift",
"Diagnostics/MetaCodableMessage.swift",
"Diagnostics/StaticVariableDeclaration.swift",
"Diagnostics/UninitializedVariableDecl.swift",
"Expansion/AttributeExpander.swift",
"Expansion/Options/DeclModifiersGenerator.swift",
"Expansion/Options/Options.swift",
"Variables/ComposedVariable.swift",
"Variables/ConditionalCodingVariable.swift",
"Variables/Enum/Case/Associated/AssociatedVariable.swift",
"Variables/Enum/Case/Associated/BasicAssociatedVariable.swift",
"Variables/Enum/Case/BasicEnumCaseVariable.swift",
"Variables/Enum/Case/EnumCaseVariable.swift",
"Variables/Enum/Switcher/AdjacentlyTaggableSwitcher.swift",
"Variables/Enum/Switcher/AdjacentlyTaggedEnumSwitcher.swift",
"Variables/Enum/Switcher/AnyEnumSwitcher.swift",
"Variables/Enum/Switcher/EnumSwitcherVariable.swift",
"Variables/Enum/Switcher/ExternallyTaggedEnumSwitcher.swift",
"Variables/Enum/Switcher/InternallyTaggedEnumSwitcher.swift",
"Variables/Enum/Switcher/TaggedEnumSwitcherVariable.swift",
"Variables/Enum/Switcher/UnTaggedEnumSwitcher.swift",
"Variables/Initialization/AnyInitialization.swift",
"Variables/Initialization/AnyRequiredVariableInitialization.swift",
"Variables/Initialization/IgnoredInitialization.swift",
"Variables/Initialization/MemberwiseInitGenerator.swift",
"Variables/Initialization/OptionalInitialization.swift",
"Variables/Initialization/RequiredInitialization.swift",
"Variables/Initialization/RequiredInitializationWithDefaultValue.swift",
"Variables/Initialization/RequiredVariableInitialization.swift",
"Variables/Initialization/VariableInitialization.swift",
"Variables/Property/AliasedPropertyVariable.swift",
"Variables/Property/AnyPropertyVariable.swift",
"Variables/Property/BasicPropertyVariable.swift",
"Variables/Property/Data/DecodingFallback.swift",
"Variables/Property/DefaultValueVariable.swift",
"Variables/Property/HelperCodedVariable.swift",
"Variables/Property/InitializationVariable.swift",
"Variables/Property/KeyedVariable.swift",
"Variables/Property/PropertyVariable.swift",
"Variables/Property/StrategyVariable.swift",
"Variables/Property/Tree/PropertyVariableTreeNode+CodingData.swift",
"Variables/Property/Tree/PropertyVariableTreeNode+CodingLocation.swift",
"Variables/Property/Tree/PropertyVariableTreeNode+Generated.swift",
"Variables/Property/Tree/PropertyVariableTreeNode.swift",
"Variables/Syntax/AssociatedDeclSyntax.swift",
"Variables/Syntax/EnumCaseVariableDeclSyntax.swift",
"Variables/Syntax/MemberGroupSyntax.swift",
"Variables/Syntax/PropertyDeclSyntax.swift",
"Variables/Syntax/VariableSyntax.swift",
"Variables/Type/ActorVariable.swift",
"Variables/Type/ClassVariable.swift",
"Variables/Type/Data/CodingKeysMap/Case.swift",
"Variables/Type/Data/CodingKeysMap/CodingKeysMap.swift",
"Variables/Type/Data/CodingKeysMap/Key.swift",
"Variables/Type/Data/ConstraintGenerator.swift",
"Variables/Type/Data/Registration.swift",
"Variables/Type/EnumVariable.swift",
"Variables/Type/MemberGroup.swift",
"Variables/Type/TypeVariable.swift",
"Variables/Variable.swift"
],
"type" : "library"
},
{
"c99name" : "MetaProtocolCodable",
"module_type" : "PluginTarget",
"name" : "MetaProtocolCodable",
"path" : "Plugins/MetaProtocolCodable",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"MetaProtocolCodable"
],
"sources" : [
"Config.swift",
"PathToURLMigration.swift",
"Plugin.swift",
"PluginContext.swift",
"SourceTarget/MetaProtocolCodableSourceTarget.swift",
"SourceTarget/SwiftPackageTarget.swift",
"SourceTarget/XcodeTarget.swift"
],
"target_dependencies" : [
"ProtocolGen"
],
"type" : "plugin"
},
{
"c99name" : "MetaCodableTests",
"module_type" : "SwiftTarget",
"name" : "MetaCodableTests",
"path" : "Tests/MetaCodableTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"AccessModifierTests.swift",
"Attributes/CodedByTests.swift",
"Attributes/DefaultTests.swift",
"Codable/CommonStrategiesValueCoderTests.swift",
"CodableInheritanceTests.swift",
"CodableTests.swift",
"CodedAs/CodedAsEnumTests.swift",
"CodedAs/CodedAsTests.swift",
"CodedAt/CodedAtDefaultChoiceTests.swift",
"CodedAt/CodedAtDefaultOnlyMissingTests.swift",
"CodedAt/CodedAtDefaultTests.swift",
"CodedAt/CodedAtEnumTests.swift",
"CodedAt/CodedAtHelperDefaultTests.swift",
"CodedAt/CodedAtHelperTests.swift",
"CodedAt/CodedAtTests.swift",
"CodedAt/DecodedAtTests.swift",
"CodedAt/EncodedAtTests.swift",
"CodedBy/CodedByActionTests.swift",
"CodedIn/CodedInDefaultTests.swift",
"CodedIn/CodedInHelperDefaultChoiceTests.swift",
"CodedIn/CodedInHelperDefaultOnlyMissingTests.swift",
"CodedIn/CodedInHelperDefaultTests.swift",
"CodedIn/CodedInHelperTests.swift",
"CodedIn/CodedInTests.swift",
"CodingKeysGenerationTests.swift",
"CodingKeysTests.swift",
"ConformCodableTests.swift",
"ContentAtTests.swift",
"DecodedAtEncodedAtIntegrationTests.swift",
"DynamicCodable/DynamicCodableTests.swift",
"DynamicCodable/PageData.swift",
"DynamicCodable/PostPage.swift",
"DynamicCodable/Response.swift",
"ExplicitCodingTests.swift",
"GenericsTests.swift",
"GroupedMutableVariableTests.swift",
"GroupedVariableTests.swift",
"HelperCoders/DataCoderTests.swift",
"HelperCoders/DateCoderTests.swift",
"HelperCoders/HelperCodersTests.swift",
"HelperCoders/LossySequenceTests.swift",
"HelperCoders/NonConformingCoderTests.swift",
"HelperCoders/SequenceCoderTests.swift",
"HelperCoders/ValueCoderTests.swift",
"IgnoreCodingTests.swift",
"IgnoreInitializedTests.swift",
"UntaggedEnumTests.swift",
"VariableDeclarationTests.swift"
],
"target_dependencies" : [
"PluginCore",
"MacroPlugin",
"MetaCodable",
"HelperCoders",
"Testing",
"MetaProtocolCodable"
],
"type" : "test"
},
{
"c99name" : "MetaCodable",
"module_type" : "SwiftTarget",
"name" : "MetaCodable",
"path" : "Sources/MetaCodable",
"product_memberships" : [
"MetaCodable",
"HelperCoders",
"MetaProtocolCodable",
"ProtocolGen"
],
"sources" : [
"Codable/Codable.swift",
"Codable/CodableCommonStrategy.swift",
"Codable/CodingKeys.swift",
"Codable/Decodable.swift",
"Codable/Encodable.swift",
"Codable/IgnoreCodingInitialized.swift",
"Codable/UnTagged.swift",
"CodedAs.swift",
"CodedAt.swift",
"CodedBy.swift",
"CodedIn.swift",
"ContentAt.swift",
"DecodedAt.swift",
"Default.swift",
"DynamicCodable/DynamicCodable.swift",
"DynamicCodable/DynamicCodableIdentifier+CodingKey.swift",
"DynamicCodable/DynamicCodableIdentifier+Expressible.swift",
"DynamicCodable/DynamicCodableIdentifier.swift",
"EncodedAt.swift",
"HelperCoders/HelperCoder.swift",
"HelperCoders/LossySequence.swift",
"IgnoreCoding.swift",
"MemberInit.swift"
],
"target_dependencies" : [
"MacroPlugin"
],
"type" : "library"
},
{
"c99name" : "MacroPlugin",
"module_type" : "SwiftTarget",
"name" : "MacroPlugin",
"path" : "Sources/MacroPlugin",
"product_dependencies" : [
"SwiftSyntax",
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"MetaCodable",
"HelperCoders",
"MetaProtocolCodable",
"ProtocolGen",
"MacroPlugin"
],
"sources" : [
"Definitions.swift",
"Plugin.swift"
],
"target_dependencies" : [
"PluginCore"
],
"type" : "macro"
},
{
"c99name" : "HelperCoders",
"module_type" : "SwiftTarget",
"name" : "HelperCoders",
"path" : "Sources/HelperCoders",
"product_memberships" : [
"HelperCoders"
],
"sources" : [
"Base64Coder.swift",
"ConditionalCoder.swift",
"DateCoders/DateCoder.swift",
"DateCoders/Since1970DateCoder.swift",
"NonConformingCoder.swift",
"PropertyWrapperCoder.swift",
"SequenceCoder/DefaultSequenceElementCoding.swift",
"SequenceCoder/SequenceCoder.swift",
"SequenceCoder/SequenceCoderConfiguration.swift",
"Strategies/HelperCoderStrategy.swift",
"ValueCoders/Bool.swift",
"ValueCoders/Number.swift",
"ValueCoders/String.swift",
"ValueCoders/ValueCoder.swift"
],
"target_dependencies" : [
"MetaCodable"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"HelperCoders",
"MetaCodable",
"MetaCodable-Package",
"ProtocolGen"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme MetaCodable-Package -destination platform=macOS,arch=arm64
Command line invocation:
/Applications/Xcode-15.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme MetaCodable-Package -destination platform=macOS,arch=arm64
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
swift-argument-parser: https://github.com/apple/swift-argument-parser.git @ 1.6.1
MetaCodable: /Users/admin/builder/spi-builder-workspace
swift-collections: https://github.com/apple/swift-collections.git @ 1.2.1
swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 601.0.1
Prepare packages
Compile plug-in “MetaProtocolCodable” in package “spi-builder-workspace”
[debug]: Compiling plugin to executable at /Users/admin/builder/spi-builder-workspace/.dependencies/plugins/MetaProtocolCodable
[debug]: Using compiler /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
[debug]: Plugin compilation output directory '/Users/admin/builder/spi-builder-workspace/.dependencies/plugins'
[debug]: Computed hash of plugin compilation inputs: 7f9ee5d7f830b0c8ecc75f2580a7c8844b8db11bc091613313bd9ea07871d874
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
/Users/admin/builder/spi-builder-workspace/Plugins/MetaProtocolCodable/PathToURLMigration.swift:81:11: error: cannot find type 'XcodePluginContext' in scope
extension XcodePluginContext {
^~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Plugins/MetaProtocolCodable/PluginContext.swift:59:1: error: type 'XcodePluginContext' does not conform to protocol 'MetaProtocolCodablePluginContext'
extension XcodePluginContext: MetaProtocolCodablePluginContext {
^
/Users/admin/builder/spi-builder-workspace/Plugins/MetaProtocolCodable/PluginContext.swift:59:1: note: add stubs for conformance
extension XcodePluginContext: MetaProtocolCodablePluginContext {
^
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-8C151E3703BE51BE, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-8C151E3703BE51BE, name:My Mac }
** BUILD INTERRUPTED **
The following build commands failed:
Compile plug-in “MetaProtocolCodable” in package “spi-builder-workspace”
eyJibHVlcHJpbnRQcm92aWRlcl9wcm92aWRlckZpbGVQYXRoU3RyaW5nIjoiXC9Vc2Vyc1wvYWRtaW5cL2J1aWxkZXJcL3NwaS1idWlsZGVyLXdvcmtzcGFjZSIsInR5cGUiOnsiYmx1ZXByaW50UHJvdmlkZXIiOnt9fX0=
(2 failures)
BUILD FAILURE 5.10 macosXcodebuild