[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #3259

Report

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-14_04 [#3259]

Build URL:
https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-14_04/3259/
Project:
oss-swift-incremental-RA-linux-ubuntu-14_04
Date of build:
Thu, 15 Mar 2018 04:03:02 -0500
Build duration:
34 min

Identified problems:

  • Compile Error: This build failed because of a compile error. Below is a list of all errors in the build log:

Changes

  • Commit 723787587085f135e0861fd480f284e2286310ac by rishizaki:
    [Parse] Eliminate square_lit token

    • edit: test/Parse/object_literals.swift
    • edit: lib/Parse/Lexer.cpp
    • edit: lib/Parse/ParseExpr.cpp
    • edit: include/swift/Syntax/TokenKinds.def
  • Commit bdcd87754d181fcb26b23276b8a82129e027f8b9 by rishizaki:
    [Parse] Eliminate POUND_OLD_OBJECT_LITERAL tokens

    • edit: include/swift/Parse/Parser.h
    • edit: lib/Parse/ParseExpr.cpp
    • edit: include/swift/Syntax/TokenKinds.def
    • edit: lib/IDE/SyntaxModel.cpp
  • Commit 93d271900cf442f6a0163ea86bc03e4b7ff544db by spestov:
    ClangImporter: Don’t import initializers as functions named ‘init’

    • edit: test/APINotes/versioned-objc.swift
    • edit: lib/ClangImporter/ImportDecl.cpp
  • Commit db5d13cfb3be9d6dc344cf8a3c54c1e1c75883a5 by spestov:
    AST: Functions should not have special DeclNames

    • edit: include/swift/AST/Decl.h
  • Commit 1f7ac24e9b802a6ba74aa26bc09e258f1a75d2bf by spestov:
    Sema: Remove some duplicated code in availability checking

    • edit: lib/Sema/TypeCheckAvailability.cpp
  • Commit 615d068d633a71cb257546a808e99e8e283bd02c by spestov:
    Sema: Replace some uses of getBaseIdentifier() with userFacingName()

    • edit: lib/Sema/TypeCheckNameLookup.cpp
    • edit: tools/SourceKit/lib/SwiftLang/SwiftSourceDocInfo.cpp
    • edit: lib/ClangImporter/ImporterImpl.h
    • edit: lib/IDE/CodeCompletion.cpp
    • edit: lib/ClangImporter/ImportType.cpp
    • edit: lib/AST/ASTContext.cpp
    • edit: lib/Sema/CalleeCandidateInfo.cpp
    • edit: include/swift/AST/DiagnosticsSema.def
    • edit: lib/AST/Decl.cpp
    • edit: lib/Sema/TypeCheckConstraints.cpp
    • edit: lib/Sema/MiscDiagnostics.cpp
    • edit: lib/AST/SwiftNameTranslation.cpp
  • Commit 6887de5a11a69cd3dd7794ab9b8ad2250076c4e5 by spestov:
    Sema: Don’t make EnumElementPatterns for special names

    • edit: lib/Sema/TypeCheckPattern.cpp
  • Commit 11d4912ed787fcee4e404249261080463e3a8b27 by spestov:
    AST: Remove ConstructorDecl::getName()

    • edit: include/swift/AST/Decl.h
  • Commit 0a26e287bae88f64073ade0918d1e9e82f421ba8 by rishizaki:
    [Parse] Diagnose unknown pound expressions

    • edit: include/swift/AST/DiagnosticsParse.def
    • edit: test/Parse/object_literals.swift
    • edit: include/swift/Parse/Parser.h
    • edit: test/expr/unary/selector/selector.swift
    • edit: lib/Parse/ParseExpr.cpp
    • edit: test/expr/postfix/keypath/keypath-objc.swift
  • Commit 444451eb6c4018ab1e988ae57aa833a3293fc5bc by rishizaki:
    [gardening] Remove unused LSquareLoc parameter from parseExprCollection

    • edit: include/swift/Parse/Parser.h
    • edit: lib/Parse/ParseExpr.cpp

Hi Karoy,

Is this possibly related to your recent changes to HashedCollections ?


04:37:42 Test Case 'WorkspaceTests.testCanResolveWithIncompatiblePins' started at 2018-03-15 09:37:19.920

04:37:42 Fatal error: unsafeAddNew was called, but the key is already present: file /home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-14_04/buildbot_incremental/swift-linux-x86_64/stdlib/public/core/8/HashedCollections.swift, line 6788

04:37:42 Current stack trace:

04:37:42 0    libswiftCore.so                    0x00007f622c92ab90 _swift_stdlib_reportFatalErrorInFile + 215

04:37:42 1    libswiftCore.so                    0x00007f622c8c592c <unavailable> + 4852012

04:37:42 2    libswiftCore.so                    0x00007f622c8c55b9 <unavailable> + 4851129

04:37:42 3    libswiftCore.so                    0x00007f622c5cb94a <unavailable> + 1730890

04:37:42 4    libswiftCore.so                    0x00007f622c8c575d <unavailable> + 4851549

04:37:42 5    libswiftCore.so                    0x00007f622c8c5577 <unavailable> + 4851063

04:37:42 6    libswiftCore.so                    0x00007f622c5cb94a <unavailable> + 1730890

04:37:42 7    libswiftCore.so                    0x00007f622c838e0a <unavailable> + 4275722

04:37:42 8    libswiftCore.so                    0x00007f622c838d27 <unavailable> + 4275495

04:37:42 9    libswiftCore.so                    0x00007f622c5cb94a <unavailable> + 1730890

04:37:42 10   libswiftCore.so                    0x00007f622c5cb000 _fatalErrorMessage(_:_:file:line:flags:) + 129

04:37:42 11   libswiftCore.so                    0x00007f622c6c1c90 _NativeDictionaryBuffer<>.unsafeAddNew(key:value:) + 1236

04:37:42 12   libswiftCore.so                    0x00007f622c6c4b30 _VariantDictionaryBuffer.ensureUniqueNativeBuffer(withBucketCount:) + 1395

04:37:42 13   libswiftCore.so                    0x00007f622c6c6090 _VariantDictionaryBuffer.nativeUpdateValue(_:forKey:) + 1142

04:37:42 14   libswiftCore.so                    0x00007f622c5f4a80 Dictionary.subscript.setter + 232

04:37:42 15   SwiftPMPackageTests.xctest         0x0000562e9044a5cf <unavailable> + 3495375

Hello Rintaro,

Yes, I strongly suspect it is related to my recent hashing changes. There was a similar failure yesterday, but so far I have been unable to reproduce it.
It’s great that it seems to occur relatively frequently, and for the exact same test – hopefully I’ll find the root cause soon.