[swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 (master) #3863

Xi Ge xi_ge at apple.com
Fri Jul 7 12:00:49 CDT 2017


Dave,
Is this due to your change?

Xi

Foundation/NSRange.swift:264:40: error: '_utf16Index' is unavailable
                location: r.lowerBound._utf16Index - target.startIndex._utf16Index,
                                       ^~~~~~~~~~~
Swift.String.Index:14:16: note: '_utf16Index' was obsoleted in Swift 4.0
    public var _utf16Index: Int { get }
               ^
Foundation/NSRange.swift:264:72: error: '_utf16Index' is unavailable
                location: r.lowerBound._utf16Index - target.startIndex._utf16Index,

> On Jul 7, 2017, at 9:53 AM, no-reply at swift.org wrote:
> 
> [FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_04 [#3863]
> 
> Build URL:	https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_04/3863/ <https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_04/3863/>
> Project:	oss-swift-incremental-RA-linux-ubuntu-16_04
> Date of build:	Fri, 07 Jul 2017 09:05:23 -0700
> Build duration:	49 min
> Identified problems:
> 
> Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:
> Indication 1 <https://ci.swift.org//job/oss-swift-incremental-RA-linux-ubuntu-16_04/3863/consoleFull#49392346ee1a197b-acac-4b17-83cf-a53b95139a76>
> Changes
> 
> Commit e523c8033961cc2f87e284b71eb858aff27fc9c4 by Dave Abrahams:
> [stdlib] Index interchange, part I
> 
> edit: test/Constraints/diagnostics.swift
> edit: stdlib/public/core/StringCharacterView.swift
> edit: stdlib/public/core/StringUTF16.swift
> edit: stdlib/public/core/UnavailableStringAPIs.swift.gyb
> edit: stdlib/public/core/StringRangeReplaceableCollection.swift.gyb
> edit: validation-test/stdlib/String.swift
> edit: stdlib/public/core/StringIndexConversions.swift
> add: stdlib/public/core/StringIndex.swift
> edit: stdlib/public/SDK/Foundation/NSStringAPI.swift
> edit: stdlib/public/core/CMakeLists.txt
> edit: test/stdlib/UnavailableStringAPIs.swift.gyb
> edit: stdlib/public/core/StringUnicodeScalarView.swift
> edit: stdlib/public/core/StringUTF8.swift
> edit: stdlib/public/SDK/Foundation/NSRange.swift
> edit: stdlib/public/core/Substring.swift.gyb
> edit: stdlib/public/core/GroupInfo.json
> 
> Commit 2e0bb2f5335d748c22e36fbe6b7ec820bb2c99dc by Dave Abrahams:
> [stdlib] String index interchange, part II (UTF16)
> 
> edit: stdlib/public/core/StringIndexConversions.swift
> edit: stdlib/public/core/StringUTF8.swift
> edit: validation-test/stdlib/String.swift
> edit: test/SourceKit/InterfaceGen/gen_stdlib.swift
> edit: stdlib/public/core/StringUnicodeScalarView.swift
> edit: test/stdlib/StringTraps.swift
> edit: validation-test/stdlib/StringViews.swift
> edit: test/stdlib/UnavailableStringAPIs.swift.gyb
> edit: stdlib/public/core/StringRangeReplaceableCollection.swift.gyb
> edit: test/stdlib/StringDiagnostics.swift
> edit: stdlib/public/SDK/Foundation/URLComponents.swift
> edit: stdlib/public/core/StringUTF16.swift
> edit: stdlib/public/SDK/Foundation/ExtraStringAPIs.swift
> 
> Commit b1d2f4c68e6d40db8f371553bf7dc58636574d11 by Dave Abrahams:
> [stdlib] String index interchange, part III (UTF8)
> 
> edit: stdlib/public/core/StringIndex.swift
> edit: stdlib/public/core/StringUTF8.swift
> edit: test/SourceKit/InterfaceGen/gen_stdlib.swift
> edit: stdlib/public/core/StringIndexConversions.swift
> edit: validation-test/stdlib/String.swift
> edit: stdlib/public/core/StringUTF16.swift
> edit: stdlib/public/core/StringUnicodeScalarView.swift
> 
> Commit b9f3a2ae478890db747642ae97ea3f7928c39f8f by Dave Abrahams:
> [stdlib] Minimal docs for the new string index
> 
> edit: stdlib/public/core/StringIndex.swift
> 
> Commit d94297ced15d22b8c255824b71ee1eb49b6eec83 by Dave Abrahams:
> [stdlib] Bring back some SPI that Foundation-on-linux uses.
> 
> edit: stdlib/public/core/StringIndex.swift
> 
> Commit b21fa4575a995f5e95353c2a711e2535170f5211 by Dave Abrahams:
> [stdlib] UTF8View Iterator and count specialization
> 
> edit: stdlib/public/core/UnicodeEncoding.swift
> edit: stdlib/public/core/StringUTF8.swift
> 
> Commit 189f1660fd6da0761e2c0a031fe50c1f87a017b1 by Dave Abrahams:
> [stdlib] Foundation SPI fixup
> 
> edit: stdlib/public/core/StringIndex.swift
> 
> Commit 73f116e9de6e5b22a00024d5551068156d455196 by Dave Abrahams:
> [stdlib] Fix a test: String.UTF8View has its own Iterator now
> 
> edit: validation-test/stdlib/String.swift
> 
> Commit dd3fb9b71dbc419341da2f95b476219e82178565 by Dave Abrahams:
> [stdlib] Small correction to UTF8 Iterator
> 
> edit: stdlib/public/core/StringUTF8.swift
> 
> Commit cf09e6b38306c25faefc111c87d25fc6b83abfb5 by Dave Abrahams:
> [stdlib] UTF8View: count by iterating
> 
> edit: stdlib/public/core/StringUTF8.swift
> 
> Commit 576b8de64a07b6a3e5b8d287fc56021d2955ea72 by Dave Abrahams:
> [stdlib] Speed String.UTF8View.count even more
> 
> edit: stdlib/public/core/StringUTF8.swift
> 
> Commit 283775ed1fa616d65218dcbe63d7cb98a87da6e5 by Dave Abrahams:
> [stdlib] Rebuild String.Index for UTF8View
> 
> edit: stdlib/public/core/Unicode.swift
> edit: stdlib/public/core/StringUTF8.swift
> edit: stdlib/public/core/UnicodeEncoding.swift
> edit: stdlib/public/core/StringIndex.swift
> edit: stdlib/public/core/UIntBuffer.swift
> edit: stdlib/public/core/ValidUTF8Buffer.swift
> edit: stdlib/public/core/StringCore.swift
> 
> Commit 8485de6307f4ba9f50564f12c4512762b89a26d1 by Dave Abrahams:
> [stdlib] Drop a couple bogus duplicate tests
> 
> edit: validation-test/stdlib/StringViews.swift
> 
> Commit a2db6059b41b77d2825b9eddfb4b639eb31d65ef by Dave Abrahams:
> [stdlib] Extend String index conversion tests for interchange
> 
> edit: validation-test/stdlib/StringViews.swift

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20170707/8fd00d69/attachment.html>


More information about the swift-dev mailing list