The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftNpy 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/qoncept/swift-npy.git
Reference: 0.2.0
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/qoncept/swift-npy
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 7dd4282 Update readme
Cloned https://github.com/qoncept/swift-npy.git
Revision (git rev-parse @):
7dd42825c7756e01b98fac5decd13430efc3b355
SUCCESS checkout https://github.com/qoncept/swift-npy.git at 0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/qoncept/swift-npy.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
Fetching https://github.com/SwiftZip/SwiftZip.git
[1/782] Fetching swiftzip
Fetched https://github.com/SwiftZip/SwiftZip.git from cache (0.26s)
Computing version for https://github.com/SwiftZip/SwiftZip.git
Computed https://github.com/SwiftZip/SwiftZip.git at 0.0.5 (2.05s)
Creating working copy for https://github.com/SwiftZip/SwiftZip.git
Working copy of https://github.com/SwiftZip/SwiftZip.git resolved at 0.0.5
Building for debugging...
[0/120] Compiling zip_delete.c
[1/120] Compiling zip_dir_add.c
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_algorithm_bzip2.c:36:10: fatal error: 'bzlib.h' file not found
#include <bzlib.h>
         ^~~~~~~~~
1 error generated.
[2/120] Compiling zip_buffer.c
[3/120] Compiling zip_algorithm_bzip2.c
[3/120] Compiling zip_unchange_data.c
[3/120] Compiling zip_unchange_archive.c
[3/120] Compiling zip_utf-8.c
[3/120] Compiling zip_winzip_aes.c
[3/120] Compiling zip_crypto_openssl.c
[3/120] Compiling zip_algorithm_deflate.c
[3/120] Compiling zip_close.c
[0/1] Planning build
Building for debugging...
[0/117] Compiling zip_unchange_data.c
[1/117] Compiling zip_unchange_all.c
[2/117] Compiling zip_utf-8.c
[3/117] Compiling zip_unchange.c
[4/117] Compiling zip_strerror.c
[5/117] Compiling zip_string.c
[6/117] Compiling zip_unchange_archive.c
[7/117] Compiling zip_stat_init.c
[8/117] Compiling zip_stat.c
[9/117] Compiling zip_stat_index.c
[10/117] Compiling zip_source_write.c
[10/117] Compiling zip_source_zip.c
[12/117] Compiling zip_source_zip_new.c
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_winzip_aes.c:65:18: warning: 'AES_encrypt' is deprecated [-Wdeprecated-declarations]
            if (!_zip_crypto_aes_encrypt_block(ctx->aes, ctx->counter, ctx->pad)) {
                 ^
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_crypto_openssl.h:46:54: note: expanded from macro '_zip_crypto_aes_encrypt_block'
#define _zip_crypto_aes_encrypt_block(aes, in, out) (AES_encrypt((in), (out), (aes)), true)
                                                     ^
/usr/include/openssl/aes.h:56:1: note: 'AES_encrypt' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_winzip_aes.c:137:44: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations]
    return aes_crypt(ctx, data, length) && _zip_crypto_hmac(ctx->hmac, data, length);
                                           ^
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_crypto_openssl.h:49:47: note: expanded from macro '_zip_crypto_hmac'
#define _zip_crypto_hmac(hmac, data, length) (HMAC_Update((hmac), (data), (length)) == 1)
                                              ^
/usr/include/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_winzip_aes.c:143:12: warning: 'HMAC_Update' is deprecated [-Wdeprecated-declarations]
    return _zip_crypto_hmac(ctx->hmac, data, length) && aes_crypt(ctx, data, length);
           ^
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_crypto_openssl.h:49:47: note: expanded from macro '_zip_crypto_hmac'
#define _zip_crypto_hmac(hmac, data, length) (HMAC_Update((hmac), (data), (length)) == 1)
                                              ^
/usr/include/openssl/hmac.h:45:1: note: 'HMAC_Update' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data,
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
3 warnings generated.
[13/117] Compiling zip_winzip_aes.c
[14/117] Compiling zip_source_winzip_aes_encode.c
[15/117] Compiling zip_source_supports.c
[16/117] Compiling zip_source_tell.c
[17/117] Compiling zip_source_winzip_aes_decode.c
[17/117] Compiling zip_source_window.c
[18/117] Compiling zip_source_tell_write.c
[20/117] Compiling zip_source_stat.c
[21/117] Compiling zip_source_seek_write.c
[22/117] Compiling zip_source_seek.c
[22/117] Compiling zip_source_remove.c
[24/117] Compiling zip_source_rollback_write.c
[25/117] Compiling zip_source_read.c
[26/117] Compiling zip_source_pkware_decode.c
[27/117] Compiling zip_source_pkware_encode.c
[28/117] Compiling zip_source_open.c
[29/117] Compiling zip_source_is_deleted.c
[30/117] Compiling zip_source_layered.c
[30/117] Compiling zip_source_free.c
[31/117] Compiling zip_source_get_file_attributes.c
[33/117] Compiling zip_source_function.c
[34/117] Compiling zip_source_file_stdio.c
[35/117] Compiling zip_source_file_stdio_named.c
[36/117] Compiling zip_source_commit_write.c
[37/117] Compiling zip_source_file_common.c
[38/117] Compiling zip_source_close.c
[39/117] Compiling zip_source_crc.c
[40/117] Compiling zip_source_compress.c
[41/117] Compiling zip_source_error.c
[42/117] Compiling zip_source_call.c
[43/117] Compiling zip_source_begin_write_cloning.c
[44/117] Compiling zip_source_begin_write.c
[45/117] Compiling zip_source_accept_empty.c
[46/117] Compiling zip_source_buffer.c
[47/117] Compiling zip_set_file_compression.c
[48/117] Compiling zip_set_default_password.c
[49/117] Compiling zip_set_name.c
[49/117] Compiling zip_set_archive_flag.c
[51/117] Compiling zip_set_archive_comment.c
[52/117] Compiling zip_replace.c
[53/117] Compiling zip_set_file_comment.c
[54/117] Compiling zip_rename.c
[55/117] Compiling zip_progress.c
[56/117] Compiling zip_new.c
[57/117] Compiling zip_name_locate.c
[58/117] Compiling zip_pkware.c
[59/117] Compiling zip_open.c
[60/117] Compiling zip_mkstempm.c
[61/117] Compiling zip_memdup.c
[62/117] Compiling zip_random_unix.c
[63/117] Compiling zip_libzip_version.c
[64/117] Compiling zip_io_util.c
[65/117] Compiling zip_hash.c
[66/117] Compiling zip_get_num_entries.c
[67/117] Compiling zip_get_num_files.c
[68/117] Compiling zip_get_name.c
[69/117] Compiling zip_get_file_comment.c
[70/117] Compiling zip_get_archive_flag.c
[71/117] Compiling zip_get_encryption_implementation.c
[72/117] Compiling zip_ftell.c
[73/117] Compiling zip_fseek.c
[74/117] Compiling zip_get_archive_comment.c
[75/117] Compiling zip_fread.c
[76/117] Compiling zip_fopen_index_encrypted.c
[77/117] Compiling zip_fopen.c
[77/117] Compiling zip_fopen_index.c
[79/117] Compiling zip_fopen_encrypted.c
[80/117] Compiling zip_file_strerror.c
[81/117] Compiling zip_file_set_mtime.c
[82/117] Compiling zip_file_set_encryption.c
[83/117] Compiling zip_file_set_comment.c
[84/117] Compiling zip_file_rename.c
[85/117] Compiling zip_file_replace.c
[86/117] Compiling zip_file_set_external_attributes.c
[87/117] Compiling zip_file_get_comment.c
[87/117] Compiling zip_file_get_offset.c
[89/117] Compiling zip_file_get_external_attributes.c
[90/117] Compiling zip_file_error_get.c
[91/117] Compiling zip_file_error_clear.c
[92/117] Compiling zip_fdopen.c
[93/117] Compiling zip_file_add.c
[94/117] Compiling zip_fclose.c
[95/117] Compiling zip_error_to_str.c
[96/117] Compiling zip_extra_field_api.c
[96/117] Compiling zip_error_get_sys_type.c
[96/117] Compiling zip_extra_field.c
[99/117] Compiling zip_error_get.c
[100/117] Compiling zip_error_strerror.c
[101/117] Compiling zip_error_clear.c
[102/117] Compiling zip_error.c
[103/117] Compiling zip_discard.c
[104/117] Compiling zip_entry.c
[105/117] Compiling zip_algorithm_deflate.c
[106/117] Compiling zip_close.c
[107/117] Compiling zip_dirent.c
[107/117] Write sources
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_algorithm_bzip2.c:36:10: fatal error: 'bzlib.h' file not found
#include <bzlib.h>
         ^~~~~~~~~
1 error generated.
[110/117] Compiling zip_algorithm_bzip2.c
[110/117] Compiling zip_err_str.c
[110/117] Compiling zip_add_entry.c
[110/117] Compiling zip_add.c
[110/117] Compiling zip_crypto_openssl.c
[110/117] Compiling zip_add_dir.c
[110/117] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux

Build Machine: Linux 2