Build Information
Successful build of MemoryLayoutKit with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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/Octadero/MemoryLayoutKit.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/Octadero/MemoryLayoutKit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 06dc9f9 Swift 4.2 ready, Xcode beta 5 tested
Cloned https://github.com/Octadero/MemoryLayoutKit.git
Revision (git rev-parse @):
06dc9f9ffbbc5844e72d9ddee83f4b78e8c564c0
SUCCESS checkout https://github.com/Octadero/MemoryLayoutKit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/Octadero/MemoryLayoutKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/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/8] Compiling MemoryLayoutKit MemoryLayoutKit.swift
[4/8] Compiling MemoryLayoutKit General.swift
[5/8] Compiling MemoryLayoutKit Data.swift
/host/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:21:2: warning: 'public' modifier is redundant for instance method declared in a public extension
public func hexEncodedString() -> String {
^~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:27:2: warning: 'public' modifier is redundant for instance method declared in a public extension
public func decode<T>() -> T {
^~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:35:2: warning: 'public' modifier is redundant for initializer declared in a public extension
public init<T>(fromArray values: [T]) {
^~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
public func toArray<T>(type: T.Type) -> [T] {
^~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:37:21: warning: initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer
self.init(buffer: UnsafeBufferPointer(start: &values, count: values.count))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:37:48: note: implicit argument conversion from '[T]' to 'UnsafePointer<T>?' produces a pointer valid only for the duration of the call to 'init(start:count:)'
self.init(buffer: UnsafeBufferPointer(start: &values, count: values.count))
^~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:37:48: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
self.init(buffer: UnsafeBufferPointer(start: &values, count: values.count))
^
[6/8] Emitting module MemoryLayoutKit
/host/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:21:2: warning: 'public' modifier is redundant for instance method declared in a public extension
public func hexEncodedString() -> String {
^~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:27:2: warning: 'public' modifier is redundant for instance method declared in a public extension
public func decode<T>() -> T {
^~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:35:2: warning: 'public' modifier is redundant for initializer declared in a public extension
public init<T>(fromArray values: [T]) {
^~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/Data.swift:40:2: warning: 'public' modifier is redundant for instance method declared in a public extension
public func toArray<T>(type: T.Type) -> [T] {
^~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:121:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func compactMap<ElementOfResult>(_ transform: (Element) throws -> ElementOfResult?) rethrows -> [ElementOfResult] {
^~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:166:2: warning: 'public' modifier is redundant for instance method declared in a public extension
public func append<S>(contentsOf newElements: S) where S : Sequence, S.Iterator.Element == Element {
^~~~~~~
[7/8] Compiling MemoryLayoutKit Array.swift
[8/8] Compiling MemoryLayoutKit SynchronizedArray.swift
/host/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:121:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func compactMap<ElementOfResult>(_ transform: (Element) throws -> ElementOfResult?) rethrows -> [ElementOfResult] {
^~~~~~~
/host/spi-builder-workspace/Sources/MemoryLayoutKit/SynchronizedArray.swift:166:2: warning: 'public' modifier is redundant for instance method declared in a public extension
public func append<S>(contentsOf newElements: S) where S : Sequence, S.Iterator.Element == Element {
^~~~~~~
Build complete! (7.49s)
Build complete.
Done.