[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - OS X (master) #5575


(Andrew Trick) #1

I must be building differently from the CI bot, because I’m hitting these failures trying to build playground support. I tried to fix the CI just by looking at the build log...

/s/sptr/swift-xcode-playground-support/PlaygroundLogger/PlaygroundLogger_TestDriver/main.swift:19:1: error: use of unresolved identifier 'playground_logger_test'
playground_logger_test()
^~~~~~~~~~~~~~~~~~~~~~
<unknown>:0: error: type 'CTFontManagerError' does not conform to protocol '__BridgedNSError'
Foundation.__BridgedNSError:4:23: note: protocol requires property '_nsErrorDomain' with type 'String'; do you want to add a stub?
    public static var _nsErrorDomain: String { get }
                      ^
<unknown>:0: error: type 'CTFontManagerError' does not conform to protocol 'Equatable'
Swift.Equatable:149:24: note: protocol requires function '==' with type '(CTFontManagerError, CTFontManagerError) -> Bool'; do you want to add a stub?
    public static func ==(lhs: Self, rhs: Self) -> Bool
                       ^

···

On Jul 29, 2016, at 2:11 AM, no-reply@swift.org wrote:

[FAILURE] oss-swift-incremental-RA-osx [#5575]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-osx/5575/
Project: oss-swift-incremental-RA-osx
Date of build: Fri, 29 Jul 2016 01:59:37 -0700
Build duration: 11 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-osx/5575/consoleFull#1758222028ee1a197b-acac-4b17-83cf-a53b95139a76>
Changes

Commit 3f890081a73a57aa6d16c1e22d0545def1d01cd6 by atrick:
Disallow illegal UnsafePointer conversions. (#3858)

edit: stdlib/public/core/UnsafePointer.swift.gyb


(Jordan Rose) #2

[+Doug] I’ve seen this come up a few times too. Clearing the module cache sometimes makes it go away, which seems really suspicious. I think we must have nondeterminism somewhere in error importing.

Jordan

···

On Jul 29, 2016, at 02:56, Andrew Trick via swift-dev <swift-dev@swift.org> wrote:

I must be building differently from the CI bot, because I’m hitting these failures trying to build playground support. I tried to fix the CI just by looking at the build log...

/s/sptr/swift-xcode-playground-support/PlaygroundLogger/PlaygroundLogger_TestDriver/main.swift:19:1: error: use of unresolved identifier 'playground_logger_test'
playground_logger_test()
^~~~~~~~~~~~~~~~~~~~~~
<unknown>:0: error: type 'CTFontManagerError' does not conform to protocol '__BridgedNSError'
Foundation.__BridgedNSError:4:23: note: protocol requires property '_nsErrorDomain' with type 'String'; do you want to add a stub?
    public static var _nsErrorDomain: String { get }
                      ^
<unknown>:0: error: type 'CTFontManagerError' does not conform to protocol 'Equatable'
Swift.Equatable:149:24: note: protocol requires function '==' with type '(CTFontManagerError, CTFontManagerError) -> Bool'; do you want to add a stub?
    public static func ==(lhs: Self, rhs: Self) -> Bool
                       ^

On Jul 29, 2016, at 2:11 AM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-RA-osx [#5575]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-osx/5575/
Project: oss-swift-incremental-RA-osx
Date of build: Fri, 29 Jul 2016 01:59:37 -0700
Build duration: 11 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-osx/5575/consoleFull#1758222028ee1a197b-acac-4b17-83cf-a53b95139a76>
Changes

Commit 3f890081a73a57aa6d16c1e22d0545def1d01cd6 by atrick:
Disallow illegal UnsafePointer conversions. (#3858)

edit: stdlib/public/core/UnsafePointer.swift.gyb

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev


(Douglas Gregor) #3

_nsErrorDomain is synthesized by the Clang importer. I wonder if that’s not happening reliably.

  - Doug

···

On Jul 29, 2016, at 9:33 AM, Jordan Rose <jordan_rose@apple.com> wrote:

[+Doug] I’ve seen this come up a few times too. Clearing the module cache sometimes makes it go away, which seems really suspicious. I think we must have nondeterminism somewhere in error importing.

Jordan

On Jul 29, 2016, at 02:56, Andrew Trick via swift-dev <swift-dev@swift.org <mailto:swift-dev@swift.org>> wrote:

I must be building differently from the CI bot, because I’m hitting these failures trying to build playground support. I tried to fix the CI just by looking at the build log...

/s/sptr/swift-xcode-playground-support/PlaygroundLogger/PlaygroundLogger_TestDriver/main.swift:19:1: error: use of unresolved identifier 'playground_logger_test'
playground_logger_test()
^~~~~~~~~~~~~~~~~~~~~~
<unknown>:0: error: type 'CTFontManagerError' does not conform to protocol '__BridgedNSError'
Foundation.__BridgedNSError:4:23: note: protocol requires property '_nsErrorDomain' with type 'String'; do you want to add a stub?
    public static var _nsErrorDomain: String { get }
                      ^
<unknown>:0: error: type 'CTFontManagerError' does not conform to protocol 'Equatable'
Swift.Equatable:149:24: note: protocol requires function '==' with type '(CTFontManagerError, CTFontManagerError) -> Bool'; do you want to add a stub?
    public static func ==(lhs: Self, rhs: Self) -> Bool
                       ^

On Jul 29, 2016, at 2:11 AM, no-reply@swift.org <mailto:no-reply@swift.org> wrote:

[FAILURE] oss-swift-incremental-RA-osx [#5575]

Build URL: https://ci.swift.org/job/oss-swift-incremental-RA-osx/5575/
Project: oss-swift-incremental-RA-osx
Date of build: Fri, 29 Jul 2016 01:59:37 -0700
Build duration: 11 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-osx/5575/consoleFull#1758222028ee1a197b-acac-4b17-83cf-a53b95139a76>
Changes

Commit 3f890081a73a57aa6d16c1e22d0545def1d01cd6 by atrick:
Disallow illegal UnsafePointer conversions. (#3858)

edit: stdlib/public/core/UnsafePointer.swift.gyb

_______________________________________________
swift-dev mailing list
swift-dev@swift.org <mailto:swift-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-dev