Avatar
swiftbot BOT 4/26/2018 2:30 AM
Swift version 4.1 (swift-4.1-RELEASE)
2:30 AM
/usercode/main.swift:10:7: warning: expression implicitly coerced from 'String?' to Any print(String.init(data: a, encoding: .utf8)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usercode/main.swift:10:14: note: provide a default value to avoid this warning print(String.init(data: a, encoding: .utf8)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ?? <#default value#> /usercode/main.swift:10:14: note: force-unwrap the value to avoid this warning print(String.init(data: a, encoding: .utf8)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ! /usercode/main.swift:10:14: note: explicitly cast to Any with 'as Any' to silence this warning print(String.init(data: a, encoding: .utf8)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ as Any swift: /home/buildnode/jenkins/workspace/oss-swift-4.1-package-linux-ubuntu-16_04/swift/lib/SILGen/RValue.cpp:533: void swift::Lowering::RValue::forwardInto(swift::Lowering::SILGenFunction &, swift::SILLocation, swift::Lowering::Initialization *) &&: Assertion `isPlusOne(SGF) && "Can not forward borrowed RValues"' failed. /usr/bin/swift[0x3f24d54] /usr/bin/swift[0x3f25096] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7fc32e218390] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7fc32c957428] /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7fc32c95902a] /lib/x86_64-linux-gnu/libc.so.6(+0x2dbd7)[0x7fc32c94fbd7] /lib/x86_64-linux-gnu/libc.so.6(+0x2dc82)[0x7fc32c94fc82] /usr/bin/swift[0xcd7ac0] /usr/bin/swift[0xccee92] /usr/bin/swift[0xc5450f] /usr/bin/swift[0xccf200] /usr/bin/swift[0xcf6d60] /usr/bin/swift[0xcf55ab] /usr/bin/swift[0xcf4e80] /usr/bin/swift[0xce08fc] /usr/bin/swift[0xce8a68] /usr/bin/swift[0xca1799] /usr/bin/swift[0xc9dd66] /usr/bin/swift[0xc79460] /usr/bin/swift[0xc6eff8] /usr/bin/swift[0xcf6b1a] /usr/bin/swift[0xcf74c6] /usr/bin/swift[0xcf620a] ...
2:30 AM
2.76 KB