Crash on image.pngData() as (NSCopying & NSObjectProtocol)?

Code Block
 func artWorkItem(imageToShow: UIImage) -> AVMetadataItem? {
    let item = AVMutableMetadataItem()
     item.value = imageToShow.pngData() as (NSCopying & NSObjectProtocol)?
    item.dataType = kCMMetadataBaseDataType_PNG as String
    item.identifier = AVMetadataIdentifier.commonIdentifierArtwork
    item.extendedLanguageTag = "und"
    return item.copy() as? AVMetadataItem
  }

From crash organizer stack trace crash occurs at line “item.value = imageToShow.pngData() as (NSCopying & NSObjectProtocol)?” States specialized AVMetaData.artWorkItem(imageToShow:) +252. 
It also shows info like “specialized static Data_unconditionallyBridgeFromObjectiveC()”.Could not replicate the crash. What could be the reason for the crash ?. Is it some memory issue?
What do you get with changing as (NSCopying & NSObjectProtocol)? to as NSData? ?
I would like to get details regarding the crash "specialized static Data_unconditionallyBridgeFromObjectiveC()". Could not replicate the crash but from crash organizer just got above details.
You should better visit forums.swift.org if you want to discuss about the current implementation details of the Swift compiler and runtime. Anyway, bridging Data to (NSCopying & NSObjectProtocol) is not documented anywhere and would change the behavior at any time in the future.
Crash on image.pngData() as (NSCopying & NSObjectProtocol)?
 
 
Q