Build Information
Failed to build BinaryEncoding with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/my-mail-ru/swift-binaryencoding.git
Reference: master
Cloned https://github.com/my-mail-ru/swift-binaryencoding.git into spi-builder-workspace
SUCCESS checkout https://github.com/my-mail-ru/swift-binaryencoding.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
[1/4] Compiling BinaryEncoding Data.swift
/host/spi-builder-workspace/Sources/BinaryEncoding/Data.swift:34:55: warning: 'copyBytes(from:count:)' is deprecated: renamed to 'copyMemory(from:byteCount:)'
withUnsafeMutableBufferRawPointer { $0.baseAddress!.copyBytes(from: copyFrom, count: count) }
^
/host/spi-builder-workspace/Sources/BinaryEncoding/Data.swift:34:55: note: use 'copyMemory(from:byteCount:)' instead
withUnsafeMutableBufferRawPointer { $0.baseAddress!.copyBytes(from: copyFrom, count: count) }
^~~~~~~~~ ~~~~~
copyMemory byteCount
/host/spi-builder-workspace/Sources/BinaryEncoding/Data.swift:43:21: warning: 'copyBytes(from:count:)' is deprecated: renamed to 'copyMemory(from:byteCount:)'
to.baseAddress!.copyBytes(from: UnsafeRawPointer(from.baseAddress!), count: cont.count)
^
/host/spi-builder-workspace/Sources/BinaryEncoding/Data.swift:43:21: note: use 'copyMemory(from:byteCount:)' instead
to.baseAddress!.copyBytes(from: UnsafeRawPointer(from.baseAddress!), count: cont.count)
^~~~~~~~~ ~~~~~
copyMemory byteCount
/host/spi-builder-workspace/Sources/BinaryEncoding/Data.swift:75:32: warning: 'copyBytes(from:count:)' is deprecated: renamed to 'copyMemory(from:byteCount:)'
UnsafeMutableRawPointer(n).copyBytes(from: UnsafeRawPointer(o), count: count)
^
/host/spi-builder-workspace/Sources/BinaryEncoding/Data.swift:75:32: note: use 'copyMemory(from:byteCount:)' instead
UnsafeMutableRawPointer(n).copyBytes(from: UnsafeRawPointer(o), count: count)
^~~~~~~~~ ~~~~~
copyMemory byteCount
[2/4] Emitting module BinaryEncoding
[3/4] Compiling BinaryEncoding Common.swift
[4/4] Compiling BinaryEncoding UnsafeRawBufferPointer.swift
/host/spi-builder-workspace/Sources/BinaryEncoding/UnsafeRawBufferPointer.swift:72:30: error: type 'String' has no member '_fromCodeUnitSequence'
guard let string = String._fromCodeUnitSequence(UTF8.self, input: utf8buf)
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/BinaryEncoding/UnsafeRawBufferPointer.swift:141:11: warning: 'copyBytes(from:count:)' is deprecated: renamed to 'copyMemory(from:byteCount:)'
start.copyBytes(from: p, count: size)
^
/host/spi-builder-workspace/Sources/BinaryEncoding/UnsafeRawBufferPointer.swift:141:11: note: use 'copyMemory(from:byteCount:)' instead
start.copyBytes(from: p, count: size)
^~~~~~~~~ ~~~~~
copyMemory byteCount
/host/spi-builder-workspace/Sources/BinaryEncoding/UnsafeRawBufferPointer.swift:148:10: warning: 'copyBytes(from:count:)' is deprecated: renamed to 'copyMemory(from:byteCount:)'
start.copyBytes(from: value.baseAddress!, count: value.count)
^
/host/spi-builder-workspace/Sources/BinaryEncoding/UnsafeRawBufferPointer.swift:148:10: note: use 'copyMemory(from:byteCount:)' instead
start.copyBytes(from: value.baseAddress!, count: value.count)
^~~~~~~~~ ~~~~~
copyMemory byteCount
/host/spi-builder-workspace/Sources/BinaryEncoding/UnsafeRawBufferPointer.swift:193:11: warning: 'copyBytes(from:count:)' is deprecated: renamed to 'copyMemory(from:byteCount:)'
start.copyBytes(from: UnsafeRawPointer($0.baseAddress!), count: size)
^
/host/spi-builder-workspace/Sources/BinaryEncoding/UnsafeRawBufferPointer.swift:193:11: note: use 'copyMemory(from:byteCount:)' instead
start.copyBytes(from: UnsafeRawPointer($0.baseAddress!), count: size)
^~~~~~~~~ ~~~~~
copyMemory byteCount
/host/spi-builder-workspace/Sources/BinaryEncoding/UnsafeRawBufferPointer.swift:205:11: warning: 'copyBytes(from:count:)' is deprecated: renamed to 'copyMemory(from:byteCount:)'
start.copyBytes(from: UnsafeRawPointer($0.baseAddress!), count: size)
^
/host/spi-builder-workspace/Sources/BinaryEncoding/UnsafeRawBufferPointer.swift:205:11: note: use 'copyMemory(from:byteCount:)' instead
start.copyBytes(from: UnsafeRawPointer($0.baseAddress!), count: size)
^~~~~~~~~ ~~~~~
copyMemory byteCount
/host/spi-builder-workspace/Sources/BinaryEncoding/UnsafeRawBufferPointer.swift:216:11: warning: 'copyBytes(from:count:)' is deprecated: renamed to 'copyMemory(from:byteCount:)'
start.copyBytes(from: UnsafeRawPointer($0.baseAddress!), count: size)
^
/host/spi-builder-workspace/Sources/BinaryEncoding/UnsafeRawBufferPointer.swift:216:11: note: use 'copyMemory(from:byteCount:)' instead
start.copyBytes(from: UnsafeRawPointer($0.baseAddress!), count: size)
^~~~~~~~~ ~~~~~
copyMemory byteCount
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 1