Skip to content

Instantly share code, notes, and snippets.

@klundberg
Created June 13, 2017 02:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klundberg/613a92494f32fe1041c196ac152ed483 to your computer and use it in GitHub Desktop.
Save klundberg/613a92494f32fe1041c196ac152ed483 to your computer and use it in GitHub Desktop.
FutureKit build errors with Xcode 9
/usr/bin/xcrun xcodebuild -workspace /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit.xcworkspace -scheme FutureKit\ iOS -configuration Release -derivedDataPath /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean buildUser defaults from command line:
IDEDerivedDataPathOverride = /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0
Build settings from command line:
BITCODE_GENERATION_MODE = bitcode
CARTHAGE = YES
CODE_SIGN_IDENTITY =
CODE_SIGNING_REQUIRED = NO
ONLY_ACTIVE_ARCH = NO
SDKROOT = iphoneos11.0
--- xcodebuild: WARNING: Unable to open project file '/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/Welcome To FutureKit - The Playground.playground' in workspace '/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit.xcworkspace'.
=== CLEAN TARGET FutureKit iOS OF PROJECT FutureKit WITH CONFIGURATION Release ===
Check dependencies
Clean.Remove clean /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/FutureKit.framework
builtin-rm -rf /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/FutureKit.framework
Clean.Remove clean /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build
builtin-rm -rf /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build
Clean.Remove clean /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/FutureKit.framework.dSYM
builtin-rm -rf /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/FutureKit.framework.dSYM
** CLEAN SUCCEEDED **
=== BUILD TARGET FutureKit iOS OF PROJECT FutureKit WITH CONFIGURATION Release ===
Check dependencies
Write auxiliary files
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-all-target-headers.hmap
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/module.modulemap
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/swift-overrides.hmap
/bin/mkdir -p /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/arm64
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/arm64/FutureKit.LinkFileList
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/all-product-headers.yaml
/bin/mkdir -p /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/armv7
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/armv7/FutureKit\ iOS-OutputFileMap.json
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/arm64/FutureKit\ iOS-OutputFileMap.json
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-project-headers.hmap
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/armv7/FutureKit.LinkFileList
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit.hmap
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/unextended-module.modulemap
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/unextended-module-overlay.yaml
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-own-target-headers.hmap
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-generated-files.hmap
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-all-non-framework-target-headers.hmap
/bin/mkdir -p /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/DerivedSources
write-file /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/DerivedSources/FutureKit_vers.c
Create product structure
/bin/mkdir -p /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/FutureKit.framework/Modules
/bin/mkdir -p /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/FutureKit.framework/Headers
ProcessInfoPlistFile /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/FutureKit.framework/Info.plist FutureKit/Info.plist
cd /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit
export PATH="/Applications/Xcode-9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-9.app/Contents/Developer/usr/bin:/Users/klundberg/bin:/Users/klundberg/.dotfiles/bin:/Users/klundberg/.swiftenv/shims:/Users/klundberg/.rbenv/shims:/opt/X11/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
builtin-infoPlistUtility /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Info.plist -expandbuildsettings -format binary -platform iphoneos -o /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/FutureKit.framework/Info.plist
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
cd /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit
export DEVELOPER_DIR=/Applications/Xcode-9.app/Contents/Developer
export PATH="/Applications/Xcode-9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-9.app/Contents/Developer/usr/bin:/Users/klundberg/bin:/Users/klundberg/.dotfiles/bin:/Users/klundberg/.swiftenv/shims:/Users/klundberg/.rbenv/shims:/opt/X11/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
export SDKROOT=/Applications/Xcode-9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk
/Applications/Xcode-9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name FutureKit -Ounchecked -whole-module-optimization -sdk /Applications/Xcode-9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -target arm64-apple-ios8.0 -g -module-cache-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/ModuleCache -Xfrontend -serialize-debugging-options -embed-bitcode -index-store-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build-IndexDataStore -swift-version 3 -I /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos -F /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos -c -num-threads 8 /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/ExtensionVars.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/OSAtomicInt.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/FutureThread.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FutureBatch.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSData-Ext.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FutureFIFO.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Executor.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/OSFeature.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/SyncWaitHandler.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSOperation+FutureKit.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSFileManager-Ext.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Completion.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/NSObject-Ext-ThreadSafe.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/FutureCache.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Promise.swift -output-file-map /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/arm64/FutureKit\ iOS-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/arm64/FutureKit.swiftmodule -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-generated-files.hmap -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-own-target-headers.hmap -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-project-headers.hmap -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/include -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/DerivedSources/arm64 -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/DerivedSources -emit-objc-header -emit-objc-header-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/arm64/FutureKit-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit
CompileSwift normal arm64
cd /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit
/Applications/Xcode-9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -emit-bc /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/ExtensionVars.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/OSAtomicInt.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/FutureThread.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FutureBatch.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSData-Ext.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FutureFIFO.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Executor.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/OSFeature.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/SyncWaitHandler.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSOperation+FutureKit.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSFileManager-Ext.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Completion.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/NSObject-Ext-ThreadSafe.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/FutureCache.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Promise.swift -target arm64-apple-ios8.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -I /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos -F /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos -g -import-underlying-module -module-cache-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/ModuleCache -swift-version 3 -serialize-debugging-options -Xcc "-I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/swift-overrides.hmap" -Xcc -iquote -Xcc "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/FutureKit-generated-files.hmap" -Xcc "-I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/FutureKit-own-target-headers.hmap" -Xcc "-I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/FutureKit-all-non-framework-target-headers.hmap" -Xcc -ivfsoverlay -Xcc /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/all-product-headers.yaml -Xcc -iquote -Xcc "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/FutureKit-project-headers.hmap" -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/include -Xcc "-I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/DerivedSources/arm64" -Xcc "-I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/DerivedSources" -Xcc -ivfsoverlay -Xcc "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/unextended-module-overlay.yaml" -Xcc -working-directory/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit -emit-module-doc-path "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/FutureKit.swiftdoc" -serialize-diagnostics-path "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/ExtensionVars.dia" -Ounchecked -module-name FutureKit -emit-module-path "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/FutureKit.swiftmodule" -emit-objc-header-path "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/FutureKit-Swift.h" -emit-dependencies-path "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/ExtensionVars.d" -num-threads 8 -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/ExtensionVars.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/OSAtomicInt.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/FutureThread.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/Future.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/FutureBatch.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/ErrorTypes.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/NSData-Ext.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/FutureFIFO.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/Executor.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/OSFeature.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/Synchronization.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/SyncWaitHandler.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/NSOperation+FutureKit.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/NSFileManager-Ext.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/Completion.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/NSObject-Ext-ThreadSafe.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/FutureCache.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/Tuples.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/arm64/Promise.bc" -index-store-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build-IndexDataStore -index-system-modules
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/ExtensionVars.swift:169:52: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
assertionFailure("found unknown value \(v) in getExtensionVar")
^~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/ExtensionVars.swift:169:53: note: use 'String(describing:)' to silence this warning
assertionFailure("found unknown value \(v) in getExtensionVar")
~^~
String(describing: )
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/ExtensionVars.swift:169:53: note: provide a default value to avoid this warning
assertionFailure("found unknown value \(v) in getExtensionVar")
~^~
?? <#default value#>
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:59:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndModify(modifyBlock: @escaping () -> Void) {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:88:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndRead(readBlock: @escaping () -> Void) {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1197:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func onComplete<C: CompletionType>(_ block: @escaping (FutureResult<T>) throws -> C) -> Future<C.T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1212:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func onComplete<__Type>(_ executor: Executor = .primary, _ block:@escaping (_ result:FutureResult<T>) throws -> __Type) -> Future<__Type> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1187:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func mapAs() -> Self {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1178:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func As() -> Self {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1656:13: error: generic parameter 'OptionalS' is not used in function signature
func As<OptionalS: OptionalProtocol>() -> Future<OptionalS.Wrapped?> {
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1193:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func withCancelToken() -> (Self,CancellationToken) {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1332:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func onSuccess<C: CompletionType>(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1366:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func onSuccess<__Type>(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1385:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onFail(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1406:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onFail<C:CompletionType>(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1427:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onCancel(_ executor : Executor = .primary, block:@escaping ()-> Void) -> Future<T>
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1447:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onCancel<C:CompletionType>(_ executor : Executor = .primary, block:@escaping ()-> C) -> Future<T> where C.T == T
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1469:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onFailorCancel(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1497:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onFailorCancel<C:CompletionType>(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1522:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func onFailorCancel(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1541:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func ignoreFailures() -> Self
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1552:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func assertOnFail() -> Self
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1564:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func map<__Type>(_ executor : Executor = .primary, block:@escaping (T) throws -> __Type) -> Future<__Type> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1569:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func mapError(_ executor : Executor = .primary, block:@escaping (Error) throws -> Error) -> Future<T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1581:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func waitUntilCompleted() -> FutureResult<T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1586:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func waitForResult() -> T? {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1590:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func _waitUntilCompletedOnMainQueue() -> FutureResult<T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1670:21: error: generic parameter 'OptionalS' is not used in function signature
func AsOptional<OptionalS: OptionalProtocol>() -> Future<OptionalS.Wrapped?> {
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Completion.swift:468:31: error: generic parameter 'O' is not used in function signature
public func mapAsOptional<O : OptionalProtocol>() -> Completion<O.Wrapped?> {
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:107:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndReadSync<T>(_ readBlock:@escaping () -> T) -> T {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:77:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndModifySync<T>(_ modifyBlock:@escaping () -> T) -> T {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:70:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndModifyAsync<T>(modifyBlock:@escaping () -> T, then : @escaping (T) -> Void) {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift:78:23: warning: conditional cast from 'Self' to 'NSErrorType' always succeeds
return ((self as? NSErrorType) != nil)
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift:82:22: warning: conditional cast from 'Self' to 'ErrorTypeMightBeCancellation' always succeeds
return (self as? ErrorTypeMightBeCancellation)?.isCancellation ?? false
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift:87:22: warning: conditional cast from 'Self' to 'ErrorTypeMightBeCancellation' always succeeds
return (self as? ErrorTypeMightBeCancellation)?.toFutureResult() ?? .fail(self)
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift:90:22: warning: conditional cast from 'Self' to 'ErrorTypeMightBeCancellation' always succeeds
return (self as? ErrorTypeMightBeCancellation)?.toFutureCompletion() ?? .fail(self)
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Executor.swift:811:73: warning: '+' is deprecated: Please use explicit type conversions or Strideable methods for mixed-type arithmetics.
let newDepth = NSNumber(value: currentDepth.intValue+1 as Int32)
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Executor.swift:811:73: warning: '+' is deprecated: Please use explicit type conversions or Strideable methods for mixed-type arithmetics.
let newDepth = NSNumber(value: currentDepth.intValue+1 as Int32)
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:99:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndReadAsync<T>(readBlock:@escaping () -> T, then : @escaping (T) -> Void) {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:116:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func readFuture<T>(executor : Executor = .primary, block:@escaping () -> T) -> Future<T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:125:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func modifyFuture<T>(executor : Executor = .primary, block:@escaping () -> T) -> Future<T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:278:25: error: 'Element' is not a member type of 'T'
return [tuple as! T.Element]
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:282:27: error: 'Element' is not a member type of 'T'
return [tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:288:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:295:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:302:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:310:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:319:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:329:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:340:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:352:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:365:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:380:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler
cd /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit
export DEVELOPER_DIR=/Applications/Xcode-9.app/Contents/Developer
export PATH="/Applications/Xcode-9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-9.app/Contents/Developer/usr/bin:/Users/klundberg/bin:/Users/klundberg/.dotfiles/bin:/Users/klundberg/.swiftenv/shims:/Users/klundberg/.rbenv/shims:/opt/X11/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
export SDKROOT=/Applications/Xcode-9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk
/Applications/Xcode-9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name FutureKit -Ounchecked -whole-module-optimization -sdk /Applications/Xcode-9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -target armv7-apple-ios8.0 -g -module-cache-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/ModuleCache -Xfrontend -serialize-debugging-options -embed-bitcode -index-store-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build-IndexDataStore -swift-version 3 -I /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos -F /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos -c -num-threads 8 /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/ExtensionVars.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/OSAtomicInt.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/FutureThread.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FutureBatch.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSData-Ext.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FutureFIFO.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Executor.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/OSFeature.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/SyncWaitHandler.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSOperation+FutureKit.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSFileManager-Ext.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Completion.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/NSObject-Ext-ThreadSafe.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/FutureCache.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Promise.swift -output-file-map /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/armv7/FutureKit\ iOS-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/armv7/FutureKit.swiftmodule -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/swift-overrides.hmap -Xcc -iquote -Xcc /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-generated-files.hmap -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-own-target-headers.hmap -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-all-non-framework-target-headers.hmap -Xcc -ivfsoverlay -Xcc /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/all-product-headers.yaml -Xcc -iquote -Xcc /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/FutureKit-project-headers.hmap -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/include -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/DerivedSources/armv7 -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/DerivedSources -emit-objc-header -emit-objc-header-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/Objects-normal/armv7/FutureKit-Swift.h -import-underlying-module -Xcc -ivfsoverlay -Xcc /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit\ iOS.build/unextended-module-overlay.yaml -Xcc -working-directory/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit
CompileSwift normal armv7
cd /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit
/Applications/Xcode-9.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -emit-bc /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/ExtensionVars.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/OSAtomicInt.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/FutureThread.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FutureBatch.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSData-Ext.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FutureFIFO.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Executor.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/OSFeature.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/SyncWaitHandler.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSOperation+FutureKit.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/NSFileManager-Ext.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Completion.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/NSObject-Ext-ThreadSafe.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/FoundationExtensions/FutureCache.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift /Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Promise.swift -target armv7-apple-ios8.0 -enable-objc-interop -sdk /Applications/Xcode-9.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk -I /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos -F /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos -g -import-underlying-module -module-cache-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/ModuleCache -swift-version 3 -serialize-debugging-options -Xcc "-I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/swift-overrides.hmap" -Xcc -iquote -Xcc "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/FutureKit-generated-files.hmap" -Xcc "-I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/FutureKit-own-target-headers.hmap" -Xcc "-I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/FutureKit-all-non-framework-target-headers.hmap" -Xcc -ivfsoverlay -Xcc /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/all-product-headers.yaml -Xcc -iquote -Xcc "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/FutureKit-project-headers.hmap" -Xcc -I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Products/Release-iphoneos/include -Xcc "-I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/DerivedSources/armv7" -Xcc "-I/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/DerivedSources" -Xcc -ivfsoverlay -Xcc "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/unextended-module-overlay.yaml" -Xcc -working-directory/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit -emit-module-doc-path "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/FutureKit.swiftdoc" -serialize-diagnostics-path "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/ExtensionVars.dia" -Ounchecked -module-name FutureKit -emit-module-path "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/FutureKit.swiftmodule" -emit-objc-header-path "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/FutureKit-Swift.h" -emit-dependencies-path "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/ExtensionVars.d" -num-threads 8 -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/ExtensionVars.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/OSAtomicInt.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/FutureThread.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/Future.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/FutureBatch.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/ErrorTypes.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/NSData-Ext.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/FutureFIFO.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/Executor.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/OSFeature.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/Synchronization.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/SyncWaitHandler.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/NSOperation+FutureKit.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/NSFileManager-Ext.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/Completion.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/NSObject-Ext-ThreadSafe.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/FutureCache.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/Tuples.bc" -o "/Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build/Intermediates.noindex/FutureKit.build/Release-iphoneos/FutureKit iOS.build/Objects-normal/armv7/Promise.bc" -index-store-path /Users/klundberg/Library/Caches/org.carthage.CarthageKit/DerivedData/FutureKit/3.0.0/Build-IndexDataStore -index-system-modules
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/ExtensionVars.swift:169:52: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
assertionFailure("found unknown value \(v) in getExtensionVar")
^~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/ExtensionVars.swift:169:53: note: use 'String(describing:)' to silence this warning
assertionFailure("found unknown value \(v) in getExtensionVar")
~^~
String(describing: )
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/ExtensionVars.swift:169:53: note: provide a default value to avoid this warning
assertionFailure("found unknown value \(v) in getExtensionVar")
~^~
?? <#default value#>
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:59:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndModify(modifyBlock: @escaping () -> Void) {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:88:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndRead(readBlock: @escaping () -> Void) {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1197:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func onComplete<C: CompletionType>(_ block: @escaping (FutureResult<T>) throws -> C) -> Future<C.T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1212:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func onComplete<__Type>(_ executor: Executor = .primary, _ block:@escaping (_ result:FutureResult<T>) throws -> __Type) -> Future<__Type> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1187:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func mapAs() -> Self {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1178:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func As() -> Self {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1656:13: error: generic parameter 'OptionalS' is not used in function signature
func As<OptionalS: OptionalProtocol>() -> Future<OptionalS.Wrapped?> {
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1193:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func withCancelToken() -> (Self,CancellationToken) {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1332:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func onSuccess<C: CompletionType>(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1366:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func onSuccess<__Type>(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1385:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onFail(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1406:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onFail<C:CompletionType>(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1427:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onCancel(_ executor : Executor = .primary, block:@escaping ()-> Void) -> Future<T>
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1447:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onCancel<C:CompletionType>(_ executor : Executor = .primary, block:@escaping ()-> C) -> Future<T> where C.T == T
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1469:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onFailorCancel(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1497:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func onFailorCancel<C:CompletionType>(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1522:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func onFailorCancel(_ executor : Executor = .primary,
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1541:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func ignoreFailures() -> Self
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1552:31: warning: functions in a protocol extension do not need to be marked with 'final'
@discardableResult public final func assertOnFail() -> Self
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1564:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func map<__Type>(_ executor : Executor = .primary, block:@escaping (T) throws -> __Type) -> Future<__Type> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1569:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func mapError(_ executor : Executor = .primary, block:@escaping (Error) throws -> Error) -> Future<T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1581:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func waitUntilCompleted() -> FutureResult<T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1586:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func waitForResult() -> T? {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1590:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func _waitUntilCompletedOnMainQueue() -> FutureResult<T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Future.swift:1670:21: error: generic parameter 'OptionalS' is not used in function signature
func AsOptional<OptionalS: OptionalProtocol>() -> Future<OptionalS.Wrapped?> {
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Completion.swift:468:31: error: generic parameter 'O' is not used in function signature
public func mapAsOptional<O : OptionalProtocol>() -> Completion<O.Wrapped?> {
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:107:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndReadSync<T>(_ readBlock:@escaping () -> T) -> T {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:77:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndModifySync<T>(_ modifyBlock:@escaping () -> T) -> T {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:70:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndModifyAsync<T>(modifyBlock:@escaping () -> T, then : @escaping (T) -> Void) {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift:78:23: warning: conditional cast from 'Self' to 'NSErrorType' always succeeds
return ((self as? NSErrorType) != nil)
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift:82:22: warning: conditional cast from 'Self' to 'ErrorTypeMightBeCancellation' always succeeds
return (self as? ErrorTypeMightBeCancellation)?.isCancellation ?? false
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift:87:22: warning: conditional cast from 'Self' to 'ErrorTypeMightBeCancellation' always succeeds
return (self as? ErrorTypeMightBeCancellation)?.toFutureResult() ?? .fail(self)
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/ErrorTypes.swift:90:22: warning: conditional cast from 'Self' to 'ErrorTypeMightBeCancellation' always succeeds
return (self as? ErrorTypeMightBeCancellation)?.toFutureCompletion() ?? .fail(self)
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Executor.swift:811:73: warning: '+' is deprecated: Please use explicit type conversions or Strideable methods for mixed-type arithmetics.
let newDepth = NSNumber(value: currentDepth.intValue+1 as Int32)
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Executor.swift:811:73: warning: '+' is deprecated: Please use explicit type conversions or Strideable methods for mixed-type arithmetics.
let newDepth = NSNumber(value: currentDepth.intValue+1 as Int32)
^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:99:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func lockAndReadAsync<T>(readBlock:@escaping () -> T, then : @escaping (T) -> Void) {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:116:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func readFuture<T>(executor : Executor = .primary, block:@escaping () -> T) -> Future<T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Synchronization.swift:125:12: warning: functions in a protocol extension do not need to be marked with 'final'
public final func modifyFuture<T>(executor : Executor = .primary, block:@escaping () -> T) -> Future<T> {
^~~~~~
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:278:25: error: 'Element' is not a member type of 'T'
return [tuple as! T.Element]
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:282:27: error: 'Element' is not a member type of 'T'
return [tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:288:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:295:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:302:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:310:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:319:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:329:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:340:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:352:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:365:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
/Users/klundberg/workspaces/wayfair-ios/Carthage/Checkouts/FutureKit/FutureKit/Utils/Tuples.swift:380:24: error: 'Element' is not a member type of 'T'
[tuple.0 as! T.Element,
~ ^
** BUILD FAILED **
The following build commands failed:
CompileSwift normal arm64
CompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler
CompileSwift normal armv7
CompileSwiftSources normal armv7 com.apple.xcode.tools.swift.compiler
(4 failures)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment