Build Information
Failed to build BinaryEncoding with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/my-mail-ru/swift-binaryencoding.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/my-mail-ru/swift-binaryencoding
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8489cb7 Swift 4.0
Cloned https://github.com/my-mail-ru/swift-binaryencoding.git
Revision (git rev-parse @):
8489cb745861e869f3fe0f852274105122be025c
SUCCESS checkout https://github.com/my-mail-ru/swift-binaryencoding.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/my-mail-ru/swift-binaryencoding.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Emitting module BinaryEncoding
[4/6] Compiling BinaryEncoding Common.swift
[5/6] 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
[6/6] 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
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/3] Emitting module BinaryEncoding
[3/3] 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.10 linux
Build Machine: Linux 2