I haven't been able to figure out what this means. Clearing Derived Data didn't work. Nor did removing all playgrounds from the repo.
carthage version: latestxcodebuild -version: 8--no-build?--no-use-binaries? --use-submodules?I don't know. Is it important to find out?
Cartfile
github "Catterwaul/HemiprocneMystacea" "develop"
Carthage Output
xcodebuild[6054:53558] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11160.22/IDEFoundation/Playgrounds/IDEPlaygroundAuxiliarySourceCompilerOperation.m:292
Details: Unable to read diagnostics from file "/Users/jessy/Library/Developer/Xcode/DerivedData/HemiprocneMystacea-gurdqifzeekwrocuucjezsxfdrax/Build/Intermediates/HemiprocneMystacea.build/Release-iphoneos/HemiprocneMystacea.build/Objects-normal/arm64/….dia" (Invalid File): Invalid diagnostics signature
Function: void XCGenerateDiagnosticsFromFile(NSString *__strong, NSString *__strong, NSDictionary *__strong, NSDictionary *__strong, IDEActivityLogSectionRecorder *__strong, BOOL (^__strong)(IDEActivityLogMessage *__strong))
Thread: <NSThread: 0x7fc0671d0490>{number = 7, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
A shell task failed with exit code 65:
2016-06-20 19:14:49.293 xcodebuild[6054:53558] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11160.22/IDEFoundation/Playgrounds/IDEPlaygroundAuxiliarySourceCompilerOperation.m:292
Details: Unable to read diagnostics from file "/Users/jessy/Library/Developer/Xcode/DerivedData/HemiprocneMystacea-gurdqifzeekwrocuucjezsxfdrax/Build/Intermediates/HemiprocneMystacea.build/Release-iphoneos/HemiprocneMystacea.build/Objects-normal/arm64/….dia" (Invalid File): Invalid diagnostics signature
Function: void XCGenerateDiagnosticsFromFile(NSString *__strong, NSString *__strong, NSDictionary *__strong, NSDictionary *__strong, IDEActivityLogSectionRecorder *__strong, BOOL (^__strong)(IDEActivityLogMessage *__strong))
Thread: <NSThread: 0x7fc0671d0490>{number = 7, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
This looks like a swift bug. If you run the xcodebuild command from the log file, it produces the same error.
/usr/bin/xcrun xcodebuild -project /Users/mdiep/Downloads/tmp/Carthage/Checkouts/HemiprocneMystacea/HemiprocneMystacea.xcodeproj -scheme HemiprocneMystacea -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build
…
Stored value type does not match pointer operand type!
store %GC18HemiprocneMystacea16EquatableClosureVVS_8Keyboard6Frames_* %1, %swift.refcounted** %15, align 8, !dbg !2103
%swift.refcounted*Stored value type does not match pointer operand type!
store %GC18HemiprocneMystacea12MultiClosureVVS_8Keyboard6Frames_* %0, %swift.refcounted** %77, align 8, !dbg !2184
%swift.refcounted*LLVM ERROR: Broken function found, compilation aborted!
2016-06-21 21:41:44.690 xcodebuild[33700:3448618] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-11160.22/IDEFoundation/Playgrounds/IDEPlaygroundAuxiliarySourceCompilerOperation.m:292
Details: Unable to read diagnostics from file "/Users/mdiep/Library/Developer/Xcode/DerivedData/HemiprocneMystacea-cvbultwowkdqjibcbzmjwgswfpnk/Build/Intermediates/HemiprocneMystacea.build/Release-iphoneos/HemiprocneMystacea.build/Objects-normal/arm64/….dia" (Invalid File): Invalid diagnostics signature
Function: void XCGenerateDiagnosticsFromFile(NSString *__strong, NSString *__strong, NSDictionary *__strong, NSDictionary *__strong, IDEActivityLogSectionRecorder *__strong, BOOL (^__strong)(IDEActivityLogMessage *__strong))
Thread: <NSThread: 0x7fa048fca9e0>{number = 3, name = (null)}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
Command /Applications/Xcode8ß1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
(2 failures)
I'd recommend filing a radar.
I had this same issue building from the command line, disabling optimizations fixed it for me. Thanks!
Most helpful comment
This looks like a
swiftbug. If you run thexcodebuildcommand from the log file, it produces the same error.I'd recommend filing a radar.