[Swift CI] Build Failure: 1. OSS - Swift ASAN - OS X (master) #3549

Report

[FAILURE] oss-swift-incremental-ASAN-RA-osx [#3549]

Build URL:
https://ci.swift.org/job/oss-swift-incremental-ASAN-RA-osx/3549/
Project:
oss-swift-incremental-ASAN-RA-osx
Date of build:
Thu, 11 Jul 2019 22:50:35 -0500
Build duration:
5 hr 52 min

Identified problems:

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

Changes

  • Commit 07675a75e00bc8d31d34492d1e634aedec62f6e0 by cschlosser:
    [refactoring] Fix error when renaming nested type at constructor -

    • edit: test/refactoring/rename/Outputs/basic/top_level.swift.expected
    • edit: test/refactoring/rename/Outputs/basic_ranges/SLocal_init.swift.expected
    • edit: test/refactoring/rename/Outputs/basic/SLocal_init.swift.expected
    • edit: test/refactoring/rename/Outputs/basic_ranges/foo4.swift.expected
    • add: test/refactoring/rename/Outputs/basic/SP1.swift.expected
    • edit: test/refactoring/rename/Outputs/basic_ranges/SLocal.swift.expected
    • edit: test/refactoring/rename/Outputs/basic_ranges/C1.swift.expected
    • edit: test/refactoring/rename/Outputs/basic/E1.swift.expected
    • edit: test/refactoring/rename/Outputs/basic_ranges/top_level.swift.expected
    • edit: test/refactoring/rename/Outputs/basic/foo4.swift.expected
    • edit: test/refactoring/rename/Outputs/basic/S1.swift.expected
    • edit: test/refactoring/rename/Outputs/basic_ranges/E1.swift.expected
    • edit: test/refactoring/rename/Outputs/basic/SLocal.swift.expected
    • edit: test/refactoring/rename/Outputs/basic/C1.swift.expected
    • edit: lib/IDE/Refactoring.cpp
    • edit: test/refactoring/rename/Outputs/basic/local.swift.expected
    • add: test/refactoring/rename/Outputs/basic_ranges/SP1.swift.expected
    • edit: test/refactoring/rename/Outputs/basic_ranges/S1.swift.expected
    • edit: test/refactoring/rename/Outputs/basic_ranges/local.swift.expected
    • edit: test/refactoring/rename/Outputs/basic/foo4_multi.swift.expected
    • edit: test/refactoring/rename/basic.swift
  • Commit 6e1f6f25e31f1d5a769d5c199b6a1d8d65d1bef1 by dungar:
    Add getPtrOrNull to NullablePtr

    • edit: include/swift/Basic/NullablePtr.h
  • Commit eabd0f3f792349b879c544d4b7a9e4e57bbcc5dc by ankit_aggarwal:
    [PackageGraph] Diagnose invalid usage of local package reference

    • edit: Sources/PackageGraph/DependencyResolver.swift
    • edit: Tests/WorkspaceTests/WorkspaceTests.swift
    • edit: Tests/WorkspaceTests/XCTestManifests.swift

New issue found!

Log looks unrelated to my change:

**08:15:35** FAIL: Swift-Unit :: Basic/./SwiftBasicTests/Cache.sameKeyValueDestroysKey (429 of 12136)
**08:15:35** ******************** TEST 'Swift-Unit :: Basic/./SwiftBasicTests/Cache.sameKeyValueDestroysKey' FAILED ********************
**08:15:35** Note: Google Test filter = Cache.sameKeyValueDestroysKey
**08:15:35** [==========] Running 1 test from 1 test case.
**08:15:35** [----------] Global test environment set-up.
**08:15:35** [----------] 1 test from Cache
**08:15:35** [ RUN ] Cache.sameKeyValueDestroysKey
**08:15:35** =================================================================
**08:15:35** ==36868==ERROR: AddressSanitizer: stack-use-after-scope on address 0x7ffee136f2b4 at pc 0x00010e992fb7 bp 0x7ffee136f110 sp 0x7ffee136f108
**08:15:35** READ of size 4 at 0x7ffee136f2b4 thread T0
**08:15:35**     #0 0x10e992fb6 in swift::sys::Cache<(anonymous namespace)::KeyCounter, (anonymous namespace)::Counter, swift::sys::CacheKeyInfo<(anonymous namespace)::KeyCounter>, swift::sys::CacheValueInfo<(anonymous namespace)::Counter> >::valueRelease(void*, void*) (SwiftBasicTests:x86_64+0x100102fb6)
**08:15:35**     #1 0x7fff687d073a in _value_entry_remove (libcache.dylib:x86_64+0x273a)
**08:15:35**     #2 0x7fff687d05f0 in _entry_remove (libcache.dylib:x86_64+0x25f0)
**08:15:35**     #3 0x7fff687d0979 in _cache_remove_all_locked (libcache.dylib:x86_64+0x2979)
**08:15:35**     #4 0x7fff687cf839 in cache_release (libcache.dylib:x86_64+0x1839)
**08:15:35**     #5 0x7fff687d09a8 in cache_destroy (libcache.dylib:x86_64+0x29a8)
**08:15:35**     #6 0x10e98c1d6 in Cache_sameKeyValueDestroysKey_Test::TestBody() (SwiftBasicTests:x86_64+0x1000fc1d6)
**08:15:35**     #7 0x10ec2f717 in testing::Test::Run() [gtest.cc](http://gtest.cc)
**08:15:35**     #8 0x10ec31c42 in testing::TestInfo::Run() [gtest.cc:2656](http://gtest.cc:2656)
**08:15:35**     #9 0x10ec330e6 in testing::TestCase::Run() [gtest.cc:2774](http://gtest.cc:2774)
**08:15:35**     #10 0x10ec504c6 in testing::internal::UnitTestImpl::RunAllTests() [gtest.cc:4649](http://gtest.cc:4649)
**08:15:35**     #11 0x10ec4fa27 in testing::UnitTest::Run() [gtest.cc](http://gtest.cc)
**08:15:35**     #12 0x10ec173d0 in main gtest.h:2233
**08:15:35**     #13 0x7fff6894b3d4 in start (libdyld.dylib:x86_64+0x163d4)
**08**