Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gls
brew install -v --HEAD https://raw.githubusercontent.com/rs/homebrew/gls/Library/Formula/gls.rb
/usr/bin/curl -fLA Homebrew 0.9.5 (Ruby 2.0.0-645; OS X 10.11) https://raw.githubusercontent.com/rs/homebrew/gls/Library/Formula/gls.rb -o /Library/Caches/Homebrew/Formula/gls.rb
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 480 100 480 0 0 534 0 --:--:-- --:--:-- --:--:-- 534
Warning: You are using OS X 10.11.
We do not provide support for this pre-release version.
You may encounter build failures or other breakage.
==> Downloading https://github.com/rs/gls/archive/master.zip
Already downloaded: /Library/Caches/Homebrew/gls-HEAD.zip
==> Verifying gls-HEAD.zip checksum
Warning: Cannot verify integrity of gls-HEAD.zip
A checksum was not provided for this resource
For your reference the SHA256 is: 7f553e768c94ab7ffa3302650379348e39093abb9d98bafc9df9aae2bd387ceb
unzip /Library/Caches/Homebrew/gls-HEAD.zip
Archive: /Library/Caches/Homebrew/gls-HEAD.zip
a9a322f4a91f3b1c77a45a5634f76c97df51561c
creating: gls-master/
inflating: gls-master/.gitignore
inflating: gls-master/LICENSE
inflating: gls-master/README.md
creating: gls-master/gls.xcodeproj/
inflating: gls-master/gls.xcodeproj/project.pbxproj
creating: gls-master/gls.xcodeproj/project.xcworkspace/
inflating: gls-master/gls.xcodeproj/project.xcworkspace/contents.xcworkspacedata
creating: gls-master/gls/
inflating: gls-master/gls/main.swift
inflating: gls-master/screenshot.png
==> xcodebuild -project gls.xcodeproj SYMROOT=build
Build settings from command line:
SYMROOT = build
=== BUILD TARGET gls OF PROJECT gls WITH THE DEFAULT CONFIGURATION (Release) ===
Check dependencies
Write auxiliary files
write-file /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-own-target-headers.hmap
write-file /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-generated-files.hmap
write-file /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-all-non-framework-target-headers.hmap
write-file /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/swift-overrides.hmap
/bin/mkdir -p /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64
write-file /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls.LinkFileList
write-file /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls-OutputFileMap.json
write-file /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls.hmap
write-file /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-all-target-headers.hmap
write-file /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-project-headers.hmap
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
cd /tmp/gls20150908-7030-b3rs08/gls-master
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name gls -O -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -target x86_64-apple-macosx10.10 -g -Xfrontend -serialize-debugging-options -I /tmp/gls20150908-7030-b3rs08/gls-master/build/Release -F /tmp/gls20150908-7030-b3rs08/gls-master/build/Release -c -j4 /tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift -output-file-map /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls-OutputFileMap.json -parseable-output -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls.swiftmodule -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/swift-overrides.hmap -Xcc -iquote -Xcc /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-generated-files.hmap -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-own-target-headers.hmap -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-all-target-headers.hmap -Xcc -iquote -Xcc /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-project-headers.hmap -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/Release/include -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/DerivedSources/x86_64 -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/DerivedSources -emit-objc-header -emit-objc-header-path /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/gls-Swift.h -Xcc -working-directory/tmp/gls20150908-7030-b3rs08/gls-master
CompileSwift normal x86_64 /tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift
cd /tmp/gls20150908-7030-b3rs08/gls-master
/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c -primary-file /tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift -target x86_64-apple-macosx10.10 -enable-objc-interop -sdk /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -I /tmp/gls20150908-7030-b3rs08/gls-master/build/Release -F /tmp/gls20150908-7030-b3rs08/gls-master/build/Release -g -serialize-debugging-options -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/swift-overrides.hmap -Xcc -iquote -Xcc /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-generated-files.hmap -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-own-target-headers.hmap -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-all-target-headers.hmap -Xcc -iquote -Xcc /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/gls-project-headers.hmap -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/Release/include -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/DerivedSources/x86_64 -Xcc -I/tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/DerivedSources -Xcc -working-directory/tmp/gls20150908-7030-b3rs08/gls-master -emit-module-doc-path /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main~partial.swiftdoc -O -module-name gls -emit-module-path /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main~partial.swiftmodule -serialize-diagnostics-path /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.dia -emit-dependencies-path /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.d -emit-reference-dependencies-path /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.swiftdeps -o /tmp/gls20150908-7030-b3rs08/gls-master/build/gls.build/Release/gls.build/Objects-normal/x86_64/main.o
/tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift:29:4: error: initializer for conditional binding must have Optional type, not 'NSURL'
if let pathURL = NSURL(fileURLWithPath: path) {
^
/tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift:35:13: error: 'println' has been renamed to 'print'
println(msg)
^~~~~~~
print
Swift.println:1:33: note: 'println' has been explicitly marked unavailable here
@available(*, unavailable) func println<T>(value: T)
^
/tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift:40:5: error: 'println' has been renamed to 'print'
println("Invalid path")
^~~~~~~
print
Swift.println:1:33: note: 'println' has been explicitly marked unavailable here
@available(*, unavailable) func println<T>(value: T)
^
/tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift:62:87: error: static method 'allZeros' has been replaced with the default initializer
let iconB64 = data.base64EncodedStringWithOptions(NSDataBase64EncodingOptions.allZeros)
~^~~~~~~~
()
/tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift:69:16: error: 'lastPathComponent' is unavailable: Use lastPathComponent on NSURL instead.
print(path.lastPathComponent)
^~~~~~~~~~~~~~~~~
Foundation.String:221:7: note: 'lastPathComponent' has been explicitly marked unavailable here
var lastPathComponent: String { get }
^
/tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift:73:25: error: extra argument 'error' in call
url.getResourceValue(&rsrc, forKey: NSURLFileResourceTypeKey, error: nil)
^ ~~~
/tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift:80:62: error: extra argument 'error' in call
print(fileManager.destinationOfSymbolicLinkAtPath(path, error: nil)!)
^ ~~~
/tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift:85:5: error: 'println()' is unavailable: use print("")
println()
^~~~~~~
Swift.println:1:60: note: 'println()' has been explicitly marked unavailable here
@available(*, unavailable, message="use print(\"\")") func println()
^
** BUILD FAILED **
The following build commands failed:
CompileSwift normal x86_64 /tmp/gls20150908-7030-b3rs08/gls-master/gls/main.swift
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler
(2 failures)
==> Formula
Path: /Library/Caches/Homebrew/Formula/gls.rb
==> Configuration
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 7a8703cedbcc808fe5435af0e72314d35042570c
Last commit: 4 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
OS X: 10.11-x86_64
Xcode: 7.0 => /Applications/Xcode-beta.app/Contents/Developer
CLT: 7.0.0.0.1.1440043355
Clang: 7.0 build 700
X11: N/A
System Ruby: 2.0.0-p645
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /Users/allen/.rvm/rubies/ruby-2.2.2/bin/ruby
Java: N/A
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j4
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.11
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/bin:/bin:/usr/sbin:/sbin
Error: gls HEAD did not build
Logs:
/Users/allen/Library/Logs/Homebrew/gls/01.xcodebuild
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.