Hi Swift Team,
I was trying to build the latest master Swift project and I am getting an error. I am not able to understand how to fix it.
latest commit id
commit fd41f624bb388e198f115415e99cecc8e9e5540d (HEAD -> master, origin/master, origin/HEAD)
/Users/rahul.ranjan/Projects/swift-source/swift/stdlib/public/Darwin/SceneKit/SceneKit.swift.gyb:184:10: error: argument labels '(__vertices:, count:)' do not match any available overloads
self.init(__vertices: vertices, count: vertices.count)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rahul.ranjan/Projects/swift-source/swift/stdlib/public/Darwin/SceneKit/SceneKit.swift.gyb:184:10: note: overloads for 'SCNGeometrySource.init' exist with these partially matching parameter lists: (normals: UnsafePointer<SCNVector3>, count: Int), (textureCoordinates: UnsafePointer<CGPoint>, count: Int), (vertices: UnsafePointer<SCNVector3>, count: Int)
self.init(__vertices: vertices, count: vertices.count)
^
/Users/rahul.ranjan/Projects/swift-source/swift/stdlib/public/Darwin/SceneKit/SceneKit.swift.gyb:188:10: error: argument labels '(__normals:, count:)' do not match any available overloads
self.init(__normals: normals, count: normals.count)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/rahul.ranjan/Projects/swift-source/swift/stdlib/public/Darwin/SceneKit/SceneKit.swift.gyb:188:10: note: overloads for 'SCNGeometrySource.init' exist with these partially matching parameter lists: (normals: UnsafePointer<SCNVector3>, count: Int), (textureCoordinates: UnsafePointer<CGPoint>, count: Int), (vertices: UnsafePointer<SCNVector3>, count: Int)
self.init(__normals: normals, count: normals.count)
^
/Users/rahul.ranjan/Projects/swift-source/swift/stdlib/public/Darwin/SceneKit/SceneKit.swift.gyb:192:14: error: incorrect argument label in call (have '__textureCoordinates:count:', expected 'textureCoordinates:count:')
self.init(__textureCoordinates: textureCoordinates, count: textureCoordinates.count)
^~~~~~~~~~~~~~~~~~~~~
textureCoordinates
[1094/1671][ 65%][1729.375s] Compiling /Users/rahul.ranja...swift-macosx-x86_64/stdlib/public/core/OSX/x86_64/Swift.o
ninja: build stopped: subcommand failed.
utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting