Skip to content

Instantly share code, notes, and snippets.

@huitseeker
Created February 11, 2020 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save huitseeker/8dc21f4076e50d4f304f0690a01b16fc to your computer and use it in GitHub Desktop.
Save huitseeker/8dc21f4076e50d4f304f0690a01b16fc to your computer and use it in GitHub Desktop.
Compiling libc v0.2.66
Compiling log v0.4.8
Compiling proc-macro2 v1.0.2
Compiling unicode-xid v0.2.0
Compiling syn v1.0.5
Compiling cfg-if v0.1.9
Compiling byteorder v1.3.2
Compiling autocfg v0.1.6
Compiling serde v1.0.101
Checking spin v0.5.2
Compiling proc-macro2 v0.4.30
Compiling unicode-xid v0.1.0
Compiling syn v0.15.44
Compiling getrandom v0.1.13
Checking rand_core v0.4.2
Compiling memchr v2.2.1
Compiling typenum v1.11.2
Compiling failure_derive v0.1.5
Compiling anyhow v1.0.24
Checking bytes v0.5.3
Compiling either v1.5.2
Checking smallvec v0.6.10
Compiling unicode-segmentation v1.3.0
Compiling rustc-demangle v0.1.16
Compiling ppv-lite86 v0.2.5
Compiling remove_dir_all v0.5.2
Compiling fixedbitset v0.1.9
Compiling ordermap v0.3.5
Checking byte-tools v0.3.1
Compiling multimap v0.4.0
Checking opaque-debug v0.2.3
Compiling subtle v2.1.1
Checking matches v0.1.8
Checking fake-simd v0.1.2
Checking once_cell v1.2.0
Checking subtle v1.0.0
Checking slab v0.4.2
Checking futures-core v0.3.1
Checking percent-encoding v2.1.0
Checking arc-swap v0.4.2
Checking keccak v0.1.0
Checking fnv v1.0.6
Compiling crunchy v0.2.2
Compiling memsec v0.5.6
Compiling semver-parser v0.7.0
Checking itoa v0.4.4
Checking futures v0.1.29
Checking hex v0.3.2
Checking hex_fmt v0.3.0
Checking arrayref v0.3.5
Checking mirai-annotations v1.5.0
Checking unsigned-varint v0.2.2
Checking data-encoding v2.1.2
Checking bs58 v0.3.0
Checking pin-project-lite v0.1.1
Compiling pin-project-internal v0.4.2
Checking nibble_vec v0.0.4
Compiling proc-macro-nested v0.1.3
Checking futures-sink v0.3.1
Checking endian-type v0.1.2
Checking bech32 v0.6.0
Compiling ryu v1.0.0
Checking futures-io v0.3.1
Checking pin-utils v0.1.0-alpha.4
Checking futures-task v0.3.1
Checking tower-service v0.3.0
Compiling arrayvec v0.4.11
Checking regex-syntax v0.6.12
Compiling bitflags v1.1.0
Checking nodrop v0.1.13
Checking scopeguard v1.0.0
Compiling slog v2.5.2
Checking indexmap v1.1.0
Compiling httparse v1.3.4
Checking try-lock v0.2.2
Checking take_mut v0.2.2
Compiling version_check v0.1.5
Checking quick-error v1.2.2
Compiling prometheus v0.7.0
Checking bit-vec v0.6.1
Compiling libra-metrics v0.1.0 (/home/huitseeker/tmp/calibra/common/metrics)
Checking tower-layer v0.3.0
Checking unicode-width v0.1.6
Checking stable_deref_trait v1.1.1
Checking percent-encoding v1.0.1
Checking strsim v0.8.0
Checking c_linked_list v1.1.1
Checking ansi_term v0.11.0
Checking vec_map v0.8.1
Compiling glob v0.3.0
Checking termcolor v1.0.5
Compiling pkg-config v0.3.15
Checking untrusted v0.7.0
Compiling rayon-core v1.6.0
Compiling bindgen v0.51.1
Compiling shlex v0.1.1
Compiling rustc-hash v1.1.0
Compiling peeking_take_while v0.1.2
Checking typed-arena v1.5.0
Compiling num-derive v0.2.5
Checking scopeguard v0.3.3
Checking constant_time_eq v0.1.4
Checking safemem v0.3.3
Checking quick-error v0.1.4
Checking base64 v0.11.0
Checking strum v0.15.0
Checking nohash-hasher v0.1.1
Checking chunked_transfer v1.0.0
Checking linked-hash-map v0.5.2
Compiling fs_extra v1.1.0
Checking bit-vec v0.5.1
Compiling nix v0.14.1
Compiling encoding_rs v0.8.19
Checking dtoa v0.4.4
Checking void v1.0.2
Checking numtoa v0.1.0
Checking utf8parse v0.1.1
Checking siphasher v0.3.0
Compiling rand_pcg v0.1.2
Compiling rand_chacha v0.1.1
Compiling rand v0.6.5
Compiling num-traits v0.2.8
Compiling num-integer v0.1.41
Compiling bincode v1.1.4
Compiling num-bigint v0.2.3
Compiling num-rational v0.2.2
Compiling num-complex v0.2.3
Compiling num-iter v0.1.39
Checking lazy_static v1.4.0
Checking rand_core v0.3.1
Checking rand_jitter v0.1.4
Compiling itertools v0.8.2
Checking unicode-normalization v0.1.8
Compiling heck v0.3.1
Checking block-padding v0.1.4
Compiling petgraph v0.4.13
Checking unicode-bidi v0.3.4
Checking qstring v0.7.2
Checking http v0.2.0
Compiling semver v0.9.0
Checking futures-channel v0.3.1
Checking radix_trie v0.1.4
Compiling nom v4.2.3
Compiling unicase v2.5.1
Checking owning_ref v0.3.3
Checking owning_ref v0.4.0
Checking textwrap v0.11.0
Compiling clang-sys v0.28.1
Compiling humantime v1.3.0
Checking chacha20-poly1305-aead v0.1.2
Checking ttl_cache v0.4.2
Checking lru-cache v0.1.2
Checking bit-set v0.5.1
Checking crossbeam-utils v0.6.6
Checking thread_local v0.3.6
Checking c2-chacha v0.2.2
Checking tracing-core v0.1.7
Checking rand_hc v0.1.0
Checking rand_xorshift v0.1.1
Checking rand_isaac v0.1.1
Checking idna v0.2.0
Checking idna v0.1.5
Compiling rustc_version v0.2.3
Checking lock_api v0.1.5
Checking http-body v0.3.0
Checking want v0.3.0
Checking crossbeam-queue v0.1.2
Checking crossbeam-channel v0.3.9
Checking tokio-executor v0.1.8
Checking base64 v0.10.1
Checking base64 v0.9.3
Compiling quote v1.0.2
Compiling quote v0.6.13
Checking iovec v0.1.4
Checking rand_os v0.1.3
Checking time v0.1.42
Checking rand v0.4.6
Checking errno v0.2.4
Checking net2 v0.2.33
Checking num_cpus v1.11.1
Checking signal-hook-registry v1.1.1
Checking atty v0.2.13
Checking dirs v1.0.5
Checking thread-id v3.3.0
Checking get_if_addrs v0.5.3
Checking rand v0.5.6
Checking wait-timeout v0.2.0
Checking dirs-sys v0.3.4
Checking termion v1.5.3
Compiling jobserver v0.1.17
Compiling which v3.1.0
Checking libra-secure-net v0.1.0 (/home/huitseeker/tmp/calibra/secure/net)
Checking aho-corasick v0.7.6
Checking tiny-keccak v1.5.0
Compiling memoffset v0.5.1
Compiling parking_lot_core v0.3.1
Compiling snow v0.6.1
Checking url v2.1.0
Checking url v1.7.2
Checking generic-array v0.12.3
Checking blake2-rfc v0.2.18
Checking slog-scope v4.2.0
Checking slog-async v2.3.0
Checking tokio-timer v0.2.11
Checking bytes v0.4.12
Checking rand_core v0.5.1
Checking mio v0.6.20
Checking rand04 v0.1.1
Checking pairing v0.14.2
Checking parking_lot_core v0.2.14
Checking clap v2.33.0
Checking term v0.5.2
Checking dirs v2.0.2
Compiling cc v1.0.45
Checking regex v1.3.1
Checking digest v0.8.1
Checking block-buffer v0.7.3
Checking crypto-mac v0.7.0
Checking cookie v0.12.0
Checking mime v0.3.13
Compiling mime_guess v2.0.1
Compiling cexpr v0.3.6
Checking tokio-retry v0.2.0
Checking tokio-io v0.1.12
Checking chrono v0.4.9
Checking rand_pcg v0.2.1
Checking rand_chacha v0.2.1
Checking libra-temppath v0.1.0 (/home/huitseeker/tmp/calibra/common/temppath)
Checking rand04_compat v0.1.1
Checking mio-uds v0.6.7
Checking parking_lot v0.4.8
Checking rustyline v5.0.3
Compiling cmake v0.1.42
Compiling backtrace-sys v0.1.31
Compiling clear_on_drop v0.2.3
Compiling ring v0.16.9
Compiling libloading v0.5.2
Compiling zstd-sys v1.4.13+zstd.1.4.3 (https://github.com/gyscos/zstd-rs.git#7f77d098)
Compiling bzip2-sys v0.1.7 (https://github.com/alexcrichton/bzip2-rs.git#02096d6f)
Compiling lz4-sys v1.8.0 (https://github.com/busyjay/lz4-rs.git?branch=adjust-build#41509fea)
Compiling libz-sys v1.0.25
Compiling jemalloc-sys v0.3.2
Checking sha2 v0.8.0
Checking sha3 v0.8.2
Checking sha-1 v0.8.1
Checking hmac v0.7.1
Checking blake2 v0.8.1
Compiling env_logger v0.6.2
Checking tokio-codec v0.1.1
Checking slog-term v2.4.1
Compiling synstructure v0.10.2
Compiling derivative v1.0.3
Compiling rental-impl v0.5.4
Compiling strum_macros v0.15.0
Compiling proptest-derive v0.1.2
Checking rand v0.7.3
Compiling proc-macro-error v0.2.6
Compiling serde_derive v1.0.99
Compiling proc-macro-hack v0.5.9
Compiling prost-derive v0.6.1
Compiling thiserror-impl v1.0.6
Compiling libra-crypto-derive v0.1.0 (/home/huitseeker/tmp/calibra/crypto/crypto-derive)
Compiling tokio-macros v0.2.3
Compiling ref-cast-impl v1.0.0
Compiling num-variants v0.1.0 (/home/huitseeker/tmp/calibra/common/num-variants)
Compiling tracing-attributes v0.1.5
Compiling async-stream-impl v0.2.0
Compiling async-trait v0.1.24
Checking chashmap v2.2.2
Compiling snappy-sys v0.1.0 (https://github.com/busyjay/rust-snappy.git?branch=static-link#8c12738b)
Compiling libtitan_sys v0.0.1 (https://github.com/tikv/rust-rocksdb.git?rev=6191b41497ee35234b1a2c1bbd6691787fe65537#6191b414)
Checking pbkdf2 v0.3.0
Checking parity-multihash v0.2.0
Checking parking_lot v0.6.4
Checking crossbeam-epoch v0.7.2
Checking tempfile v3.1.0
Compiling structopt-derive v0.3.3
error: failed to run custom build command for `bzip2-sys v0.1.7 (https://github.com/alexcrichton/bzip2-rs.git#02096d6f)`
Caused by:
process didn't exit successfully: `/home/huitseeker/tmp/calibra/target/debug/build/bzip2-sys-cd837aef553b0614/build-script-build` (exit code: 1)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("0")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2")
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "bzip2-1.0.6" "-D_FILE_OFFSET_BITS=64" "-DBZ_NO_STDIO" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/bzip2-sys-1e7cfc344a3c297a/out/lib/bzip2-1.0.6/blocksort.o" "-c" "bzip2-1.0.6/blocksort.c"
cargo:warning=In file included from bzip2-1.0.6/blocksort.c:22:
cargo:warning=bzip2-1.0.6/bzlib_private.h:199:7: error: unknown type name ‘bz_stream’
cargo:warning= 199 | bz_stream* strm;
cargo:warning= | ^~~~~~~~~
cargo:warning=bzip2-1.0.6/bzlib_private.h:350:7: error: unknown type name ‘bz_stream’
cargo:warning= 350 | bz_stream* strm;
cargo:warning= | ^~~~~~~~~
exit code: 1
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "bzip2-1.0.6" "-D_FILE_OFFSET_BITS=64" "-DBZ_NO_STDIO" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/bzip2-sys-1e7cfc344a3c297a/out/lib/bzip2-1.0.6/huffman.o" "-c" "bzip2-1.0.6/huffman.c"
cargo:warning=In file included from bzip2-1.0.6/huffman.c:22:
cargo:warning=bzip2-1.0.6/bzlib_private.h:199:7: error: unknown type name ‘bz_stream’
cargo:warning= 199 | bz_stream* strm;
cargo:warning= | ^~~~~~~~~
cargo:warning=bzip2-1.0.6/bzlib_private.h:350:7: error: unknown type name ‘bz_stream’
cargo:warning= 350 | bz_stream* strm;
cargo:warning= | ^~~~~~~~~
exit code: 1
--- stderr
error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "bzip2-1.0.6" "-D_FILE_OFFSET_BITS=64" "-DBZ_NO_STDIO" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/bzip2-sys-1e7cfc344a3c297a/out/lib/bzip2-1.0.6/blocksort.o" "-c" "bzip2-1.0.6/blocksort.c" with args "cc" did not execute successfully (status code exit code: 1).
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `libz-sys v1.0.25`
Caused by:
process didn't exit successfully: `/home/huitseeker/tmp/calibra/target/debug/build/libz-sys-27881a0c82783e35/build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-env-changed=LIBZ_SYS_STATIC
cargo:rerun-if-changed=build.rs
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("0")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2")
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/libz-sys-94eff49e18a78ddc/out/build/src/zlib/adler32.o" "-c" "src/zlib/adler32.c"
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/libz-sys-94eff49e18a78ddc/out/build/src/zlib/compress.o" "-c" "src/zlib/compress.c"
cargo:warning=In file included from src/zlib/adler32.c:8:
cargo:warning=src/zlib/zutil.h:44:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uchf’
cargo:warning= 44 | typedef uch FAR uchf;
cargo:warning= | ^~~~
cargo:warning=src/zlib/zutil.h:46:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ushf’
cargo:warning= 46 | typedef ush FAR ushf;
cargo:warning= | ^~~~
cargo:warning=src/zlib/zutil.h:49:15: error: expected ‘;’ before ‘char’
cargo:warning= 49 | extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
cargo:warning= | ^~~~~
cargo:warning= | ;
cargo:warning=src/zlib/zutil.h:191:5: error: unknown type name ‘ZEXTERN’
cargo:warning= 191 | ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/zutil.h:191:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ZEXPORT’
cargo:warning= 191 | ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/zutil.h:191:19: error: unknown type name ‘ZEXPORT’
cargo:warning=src/zlib/zutil.h:192:5: error: unknown type name ‘ZEXTERN’
cargo:warning= 192 | ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/zutil.h:192:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ZEXPORT’
cargo:warning= 192 | ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/zutil.h:192:19: error: unknown type name ‘ZEXPORT’
cargo:warning=src/zlib/zutil.h:257:4: error: unknown type name ‘voidpf’; did you mean ‘void’?
cargo:warning= 257 | voidpf ZLIB_INTERNAL zcalloc OF((voidpf opaque, unsigned items,
cargo:warning= | ^~~~~~
cargo:warning= | void
cargo:warning=src/zlib/zutil.h:257:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
cargo:warning= 257 | voidpf ZLIB_INTERNAL zcalloc OF((voidpf opaque, unsigned items,
cargo:warning= | ^~
cargo:warning=src/zlib/zutil.h:259:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
cargo:warning= 259 | void ZLIB_INTERNAL zcfree OF((voidpf opaque, voidpf ptr));
cargo:warning= | ^~
cargo:warning=src/zlib/adler32.c:10:7: error: unknown type name ‘uLong’
cargo:warning= 10 | local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c:10:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
cargo:warning= 10 | local uLong adler32_combine_ OF((uLong adler1, uLong adler2, z_off64_t len2));
cargo:warning= | ^~
cargo:warning=src/zlib/adler32.c:63:1: error: unknown type name ‘uLong’
cargo:warning= 63 | uLong ZEXPORT adler32_z(adler, buf, len)
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c:63:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘adler32_z’
cargo:warning= 63 | uLong ZEXPORT adler32_z(adler, buf, len)
cargo:warning= | ^~~~~~~~~
cargo:warning=src/zlib/adler32.c:65:11: error: unknown type name ‘Bytef’
cargo:warning= 65 | const Bytef *buf;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c:66:5: error: unknown type name ‘z_size_t’; did you mean ‘size_t’?
cargo:warning= 66 | z_size_t len;
cargo:warning= | ^~~~~~~~
cargo:warning= | size_t
cargo:warning=src/zlib/adler32.c:67:1: error: expected identifier or ‘(’ before ‘{’ token
cargo:warning= 67 | {
cargo:warning= | ^
cargo:warning=src/zlib/adler32.c:134:1: error: unknown type name ‘uLong’
cargo:warning= 134 | uLong ZEXPORT adler32(adler, buf, len)
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c:134:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘adler32’
cargo:warning= 134 | uLong ZEXPORT adler32(adler, buf, len)
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/adler32.c:136:11: error: unknown type name ‘Bytef’
cargo:warning= 136 | const Bytef *buf;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c:137:5: error: unknown type name ‘uInt’
cargo:warning= 137 | uInt len;
cargo:warning= | ^~~~
cargo:warning=src/zlib/adler32.c:138:1: error: expected identifier or ‘(’ before ‘{’ token
cargo:warning= 138 | {
cargo:warning= | ^
cargo:warning=src/zlib/adler32.c:143:7: error: unknown type name ‘uLong’
cargo:warning= 143 | local uLong adler32_combine_(adler1, adler2, len2)
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c: In function ‘adler32_combine_’:
cargo:warning=src/zlib/adler32.c:144:5: error: unknown type name ‘uLong’
cargo:warning= 144 | uLong adler1;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c:145:5: error: unknown type name ‘uLong’
cargo:warning= 145 | uLong adler2;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c:146:5: error: unknown type name ‘z_off64_t’
cargo:warning= 146 | z_off64_t len2;
cargo:warning= | ^~~~~~~~~
cargo:warning=src/zlib/adler32.c: At top level:
cargo:warning=src/zlib/adler32.c:172:1: error: unknown type name ‘uLong’
cargo:warning= 172 | uLong ZEXPORT adler32_combine(adler1, adler2, len2)
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c:172:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘adler32_combine’
cargo:warning= 172 | uLong ZEXPORT adler32_combine(adler1, adler2, len2)
cargo:warning= | ^~~~~~~~~~~~~~~
cargo:warning=src/zlib/adler32.c:174:5: error: unknown type name ‘uLong’
cargo:warning= 174 | uLong adler2;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c:175:5: error: unknown type name ‘z_off_t’
cargo:warning= 175 | z_off_t len2;
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/adler32.c:176:1: error: expected identifier or ‘(’ before ‘{’ token
cargo:warning= 176 | {
cargo:warning= | ^
cargo:warning=src/zlib/adler32.c:180:1: error: unknown type name ‘uLong’
cargo:warning= 180 | uLong ZEXPORT adler32_combine64(adler1, adler2, len2)
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c:180:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘adler32_combine64’
cargo:warning= 180 | uLong ZEXPORT adler32_combine64(adler1, adler2, len2)
cargo:warning= | ^~~~~~~~~~~~~~~~~
cargo:warning=src/zlib/adler32.c:182:5: error: unknown type name ‘uLong’
cargo:warning= 182 | uLong adler2;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/adler32.c:183:5: error: unknown type name ‘z_off64_t’
cargo:warning= 183 | z_off64_t len2;
cargo:warning= | ^~~~~~~~~
cargo:warning=src/zlib/adler32.c:184:1: error: expected identifier or ‘(’ before ‘{’ token
cargo:warning= 184 | {
cargo:warning= | ^
exit code: 1
cargo:warning=src/zlib/compress.c:22:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘compress2’
cargo:warning= 22 | int ZEXPORT compress2 (dest, destLen, source, sourceLen, level)
cargo:warning= | ^~~~~~~~~
cargo:warning=src/zlib/compress.c:24:5: error: unknown type name ‘uLongf’
cargo:warning= 24 | uLongf *destLen;
cargo:warning= | ^~~~~~
cargo:warning=src/zlib/compress.c:25:11: error: unknown type name ‘Bytef’
cargo:warning= 25 | const Bytef *source;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/compress.c:26:5: error: unknown type name ‘uLong’
cargo:warning= 26 | uLong sourceLen;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/compress.c:28:1: error: expected identifier or ‘(’ before ‘{’ token
cargo:warning= 28 | {
cargo:warning= | ^
cargo:warning=src/zlib/compress.c:68:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘compress’
cargo:warning= 68 | int ZEXPORT compress (dest, destLen, source, sourceLen)
cargo:warning= | ^~~~~~~~
cargo:warning=src/zlib/compress.c:70:5: error: unknown type name ‘uLongf’
cargo:warning= 70 | uLongf *destLen;
cargo:warning= | ^~~~~~
cargo:warning=src/zlib/compress.c:71:11: error: unknown type name ‘Bytef’
cargo:warning= 71 | const Bytef *source;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/compress.c:72:5: error: unknown type name ‘uLong’
cargo:warning= 72 | uLong sourceLen;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/compress.c:73:1: error: expected identifier or ‘(’ before ‘{’ token
cargo:warning= 73 | {
cargo:warning= | ^
cargo:warning=src/zlib/compress.c:81:1: error: unknown type name ‘uLong’
cargo:warning= 81 | uLong ZEXPORT compressBound (sourceLen)
cargo:warning= | ^~~~~
cargo:warning=src/zlib/compress.c:81:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘compressBound’
cargo:warning= 81 | uLong ZEXPORT compressBound (sourceLen)
cargo:warning= | ^~~~~~~~~~~~~
cargo:warning=src/zlib/compress.c:83:1: error: expected identifier or ‘(’ before ‘{’ token
cargo:warning= 83 | {
cargo:warning= | ^
exit code: 1
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/libz-sys-94eff49e18a78ddc/out/build/src/zlib/crc32.o" "-c" "src/zlib/crc32.c"
cargo:warning=In file included from src/zlib/crc32.c:31:
cargo:warning=src/zlib/zutil.h:44:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uchf’
cargo:warning= 44 | typedef uch FAR uchf;
cargo:warning= | ^~~~
cargo:warning=src/zlib/zutil.h:46:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ushf’
cargo:warning= 46 | typedef ush FAR ushf;
cargo:warning= | ^~~~
cargo:warning=src/zlib/zutil.h:49:15: error: expected ‘;’ before ‘char’
cargo:warning= 49 | extern z_const char * const z_errmsg[10]; /* indexed by 2-zlib_error */
cargo:warning= | ^~~~~
cargo:warning= | ;
cargo:warning=src/zlib/zutil.h:191:5: error: unknown type name ‘ZEXTERN’
cargo:warning= 191 | ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/zutil.h:191:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ZEXPORT’
cargo:warning= 191 | ZEXTERN uLong ZEXPORT adler32_combine64 OF((uLong, uLong, z_off_t));
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/zutil.h:191:19: error: unknown type name ‘ZEXPORT’
cargo:warning=src/zlib/zutil.h:192:5: error: unknown type name ‘ZEXTERN’
cargo:warning= 192 | ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/zutil.h:192:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ZEXPORT’
cargo:warning= 192 | ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, z_off_t));
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/zutil.h:192:19: error: unknown type name ‘ZEXPORT’
cargo:warning=src/zlib/zutil.h:257:4: error: unknown type name ‘voidpf’; did you mean ‘void’?
cargo:warning= 257 | voidpf ZLIB_INTERNAL zcalloc OF((voidpf opaque, unsigned items,
cargo:warning= | ^~~~~~
cargo:warning= | void
cargo:warning=src/zlib/zutil.h:257:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
cargo:warning= 257 | voidpf ZLIB_INTERNAL zcalloc OF((voidpf opaque, unsigned items,
cargo:warning= | ^~
cargo:warning=src/zlib/zutil.h:259:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
cargo:warning= 259 | void ZLIB_INTERNAL zcfree OF((voidpf opaque, voidpf ptr));
cargo:warning= | ^~
cargo:warning=src/zlib/crc32.c:48:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
cargo:warning= 48 | local unsigned long gf2_matrix_times OF((unsigned long *mat,
cargo:warning= | ^~
cargo:warning=src/zlib/crc32.c:50:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
cargo:warning= 50 | local void gf2_matrix_square OF((unsigned long *square, unsigned long *mat));
cargo:warning= | ^~
cargo:warning=src/zlib/crc32.c:51:7: error: unknown type name ‘uLong’
cargo:warning= 51 | local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2));
cargo:warning= | ^~~~~
cargo:warning=src/zlib/crc32.c:51:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘OF’
cargo:warning= 51 | local uLong crc32_combine_ OF((uLong crc1, uLong crc2, z_off64_t len2));
cargo:warning= | ^~
cargo:warning=In file included from src/zlib/crc32.c:182:
cargo:warning=src/zlib/crc32.h:5:13: error: unknown type name ‘z_crc_t’
cargo:warning= 5 | local const z_crc_t FAR crc_table[TBLS][256] =
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/crc32.h:5:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crc_table’
cargo:warning= 5 | local const z_crc_t FAR crc_table[TBLS][256] =
cargo:warning= | ^~~~~~~~~
cargo:warning=src/zlib/crc32.c:188:7: error: unknown type name ‘z_crc_t’
cargo:warning= 188 | const z_crc_t FAR * ZEXPORT get_crc_table()
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/crc32.c:188:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
cargo:warning= 188 | const z_crc_t FAR * ZEXPORT get_crc_table()
cargo:warning= | ^
cargo:warning=src/zlib/crc32.c:202:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crc32_z’
cargo:warning= 202 | unsigned long ZEXPORT crc32_z(crc, buf, len)
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/crc32.c:204:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
cargo:warning= 204 | const unsigned char FAR *buf;
cargo:warning= | ^
cargo:warning=src/zlib/crc32.c:205:5: error: unknown type name ‘z_size_t’; did you mean ‘size_t’?
cargo:warning= 205 | z_size_t len;
cargo:warning= | ^~~~~~~~
cargo:warning= | size_t
cargo:warning=src/zlib/crc32.c:206:1: error: expected identifier or ‘(’ before ‘{’ token
cargo:warning= 206 | {
cargo:warning= | ^
cargo:warning=src/zlib/crc32.c:237:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crc32’
cargo:warning= 237 | unsigned long ZEXPORT crc32(crc, buf, len)
cargo:warning= | ^~~~~
cargo:warning=src/zlib/crc32.c:239:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
cargo:warning= 239 | const unsigned char FAR *buf;
cargo:warning= | ^
cargo:warning=src/zlib/crc32.c:240:5: error: unknown type name ‘uInt’
cargo:warning= 240 | uInt len;
cargo:warning= | ^~~~
cargo:warning=src/zlib/crc32.c:241:1: error: expected identifier or ‘(’ before ‘{’ token
cargo:warning= 241 | {
cargo:warning= | ^
cargo:warning=src/zlib/crc32.c:372:7: error: unknown type name ‘uLong’
cargo:warning= 372 | local uLong crc32_combine_(crc1, crc2, len2)
cargo:warning= | ^~~~~
cargo:warning=src/zlib/crc32.c: In function ‘crc32_combine_’:
cargo:warning=src/zlib/crc32.c:373:5: error: unknown type name ‘uLong’
cargo:warning= 373 | uLong crc1;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/crc32.c:374:5: error: unknown type name ‘uLong’
cargo:warning= 374 | uLong crc2;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/crc32.c:375:5: error: unknown type name ‘z_off64_t’
cargo:warning= 375 | z_off64_t len2;
cargo:warning= | ^~~~~~~~~
cargo:warning=src/zlib/crc32.c: At top level:
cargo:warning=src/zlib/crc32.c:428:1: error: unknown type name ‘uLong’
cargo:warning= 428 | uLong ZEXPORT crc32_combine(crc1, crc2, len2)
cargo:warning= | ^~~~~
cargo:warning=src/zlib/crc32.c:428:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crc32_combine’
cargo:warning= 428 | uLong ZEXPORT crc32_combine(crc1, crc2, len2)
cargo:warning= | ^~~~~~~~~~~~~
cargo:warning=src/zlib/crc32.c:430:5: error: unknown type name ‘uLong’
cargo:warning= 430 | uLong crc2;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/crc32.c:431:5: error: unknown type name ‘z_off_t’
cargo:warning= 431 | z_off_t len2;
cargo:warning= | ^~~~~~~
cargo:warning=src/zlib/crc32.c:432:1: error: expected identifier or ‘(’ before ‘{’ token
cargo:warning= 432 | {
cargo:warning= | ^
cargo:warning=src/zlib/crc32.c:436:1: error: unknown type name ‘uLong’
cargo:warning= 436 | uLong ZEXPORT crc32_combine64(crc1, crc2, len2)
cargo:warning= | ^~~~~
cargo:warning=src/zlib/crc32.c:436:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘crc32_combine64’
cargo:warning= 436 | uLong ZEXPORT crc32_combine64(crc1, crc2, len2)
cargo:warning= | ^~~~~~~~~~~~~~~
cargo:warning=src/zlib/crc32.c:438:5: error: unknown type name ‘uLong’
cargo:warning= 438 | uLong crc2;
cargo:warning= | ^~~~~
cargo:warning=src/zlib/crc32.c:439:5: error: unknown type name ‘z_off64_t’
cargo:warning= 439 | z_off64_t len2;
cargo:warning= | ^~~~~~~~~
cargo:warning=src/zlib/crc32.c:440:1: error: expected identifier or ‘(’ before ‘{’ token
cargo:warning= 440 | {
cargo:warning= | ^
exit code: 1
--- stderr
error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "src/zlib" "-fvisibility=hidden" "-DSTDC" "-D_LARGEFILE64_SOURCE" "-D_POSIX_SOURCE" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/libz-sys-94eff49e18a78ddc/out/build/src/zlib/adler32.o" "-c" "src/zlib/adler32.c" with args "cc" did not execute successfully (status code exit code: 1).
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `zstd-sys v1.4.13+zstd.1.4.3 (https://github.com/gyscos/zstd-rs.git#7f77d098)`
Caused by:
process didn't exit successfully: `/home/huitseeker/tmp/calibra/target/debug/build/zstd-sys-62332142857a3767/build-script-build` (exit code: 1)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2")
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/zstd-sys-af996ba1b32fd097/out/zstd/lib/common/debug.o" "-c" "zstd/lib/common/debug.c"
exit code: 0
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/zstd-sys-af996ba1b32fd097/out/zstd/lib/common/entropy_common.o" "-c" "zstd/lib/common/entropy_common.c"
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/zstd-sys-af996ba1b32fd097/out/zstd/lib/common/error_private.o" "-c" "zstd/lib/common/error_private.c"
exit code: 0
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/zstd-sys-af996ba1b32fd097/out/zstd/lib/common/fse_decompress.o" "-c" "zstd/lib/common/fse_decompress.c"
exit code: 0
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/zstd-sys-af996ba1b32fd097/out/zstd/lib/common/pool.o" "-c" "zstd/lib/common/pool.c"
cargo:warning=In file included from zstd/lib/common/pool.c:15:
cargo:warning=zstd/lib/common/zstd_internal.h:308:42: error: unknown type name ‘ZSTD_CCtx’
cargo:warning= 308 | const seqStore_t* ZSTD_getSeqStore(const ZSTD_CCtx* ctx); /* compress & dictBuilder */
cargo:warning= | ^~~~~~~~~
cargo:warning=zstd/lib/common/zstd_internal.h:312:32: error: unknown type name ‘ZSTD_customMem’
cargo:warning= 312 | void* ZSTD_malloc(size_t size, ZSTD_customMem customMem);
cargo:warning= | ^~~~~~~~~~~~~~
cargo:warning=zstd/lib/common/zstd_internal.h:313:32: error: unknown type name ‘ZSTD_customMem’
cargo:warning= 313 | void* ZSTD_calloc(size_t size, ZSTD_customMem customMem);
cargo:warning= | ^~~~~~~~~~~~~~
cargo:warning=zstd/lib/common/zstd_internal.h:314:27: error: unknown type name ‘ZSTD_customMem’
cargo:warning= 314 | void ZSTD_free(void* ptr, ZSTD_customMem customMem);
cargo:warning= | ^~~~~~~~~~~~~~
cargo:warning=zstd/lib/common/zstd_internal.h:347:30: error: unknown type name ‘ZSTD_CCtx’
cargo:warning= 347 | void ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx); /* zstdmt, adaptive_compression (shouldn't get this definition from here) */
cargo:warning= | ^~~~~~~~~
cargo:warning=zstd/lib/common/zstd_internal.h:365:30: error: unknown type name ‘ZSTD_DCtx’
cargo:warning= 365 | size_t ZSTD_decodeSeqHeaders(ZSTD_DCtx* dctx, int* nbSeqPtr,
cargo:warning= | ^~~~~~~~~
cargo:warning=In file included from zstd/lib/common/pool.c:16:
cargo:warning=zstd/lib/common/pool.h:34:32: error: unknown type name ‘ZSTD_customMem’
cargo:warning= 34 | ZSTD_customMem customMem);
cargo:warning= | ^~~~~~~~~~~~~~
cargo:warning=zstd/lib/common/pool.c: In function ‘POOL_create’:
cargo:warning=zstd/lib/common/pool.c:303:12: warning: implicit declaration of function ‘POOL_create_advanced’ [-Wimplicit-function-declaration]
cargo:warning= 303 | return POOL_create_advanced(numThreads, queueSize, ZSTD_defaultCMem);
cargo:warning= | ^~~~~~~~~~~~~~~~~~~~
cargo:warning=zstd/lib/common/pool.c:303:56: error: ‘ZSTD_defaultCMem’ undeclared (first use in this function)
cargo:warning= 303 | return POOL_create_advanced(numThreads, queueSize, ZSTD_defaultCMem);
cargo:warning= | ^~~~~~~~~~~~~~~~
cargo:warning=zstd/lib/common/pool.c:303:56: note: each undeclared identifier is reported only once for each function it appears in
cargo:warning=zstd/lib/common/pool.c: At top level:
cargo:warning=zstd/lib/common/pool.c:306:69: error: unknown type name ‘ZSTD_customMem’
cargo:warning= 306 | POOL_ctx* POOL_create_advanced(size_t numThreads, size_t queueSize, ZSTD_customMem customMem) {
cargo:warning= | ^~~~~~~~~~~~~~
exit code: 1
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/zstd-sys-af996ba1b32fd097/out/zstd/lib/common/threading.o" "-c" "zstd/lib/common/threading.c"
exit code: 0
exit code: 0
--- stderr
error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-I" "zstd/lib/" "-I" "zstd/lib/common" "-I" "zstd/lib/legacy" "-fvisibility=hidden" "-DZSTD_LIB_DEPRECATED=0" "-DZSTDLIB_VISIBILITY=" "-DZDICTLIB_VISIBILITY=" "-DZSTDERRORLIB_VISIBILITY=" "-DZSTD_LEGACY_SUPPORT=1" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/zstd-sys-af996ba1b32fd097/out/zstd/lib/common/pool.o" "-c" "zstd/lib/common/pool.c" with args "cc" did not execute successfully (status code exit code: 1).
warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `lz4-sys v1.8.0 (https://github.com/busyjay/lz4-rs.git?branch=adjust-build#41509fea)`
Caused by:
process didn't exit successfully: `/home/huitseeker/tmp/calibra/target/debug/build/lz4-sys-5d0c2431aaaf4361/build-script-build` (exit code: 1)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("true")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,mmx,sse,sse2")
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/lz4-sys-9b845f9941ba0284/out/liblz4/lib/lz4.o" "-c" "liblz4/lib/lz4.c"
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/lz4-sys-9b845f9941ba0284/out/liblz4/lib/lz4frame.o" "-c" "liblz4/lib/lz4frame.c"
cargo:warning=liblz4/lib/lz4frame.c:181:5: error: unknown type name ‘XXH32_state_t’
cargo:warning= 181 | XXH32_state_t xxh;
cargo:warning= | ^~~~~~~~~~~~~
cargo:warning=liblz4/lib/lz4frame.c: In function ‘LZ4F_headerChecksum’:
cargo:warning=liblz4/lib/lz4frame.c:241:21: warning: implicit declaration of function ‘XXH32’ [-Wimplicit-function-declaration]
cargo:warning= 241 | U32 const xxh = XXH32(header, length, 0);
cargo:warning= | ^~~~~
cargo:warning=liblz4/lib/lz4frame.c: In function ‘LZ4F_compressBegin_usingCDict’:
cargo:warning=liblz4/lib/lz4frame.c:536:5: warning: implicit declaration of function ‘XXH32_reset’ [-Wimplicit-function-declaration]
cargo:warning= 536 | XXH32_reset(&(cctxPtr->xxh), 0);
cargo:warning= | ^~~~~~~~~~~
cargo:warning=liblz4/lib/lz4frame.c: In function ‘LZ4F_compressUpdate’:
cargo:warning=liblz4/lib/lz4frame.c:795:9: warning: implicit declaration of function ‘XXH32_update’ [-Wimplicit-function-declaration]
cargo:warning= 795 | XXH32_update(&(cctxPtr->xxh), srcBuffer, srcSize);
cargo:warning= | ^~~~~~~~~~~~
cargo:warning=liblz4/lib/lz4frame.c: In function ‘LZ4F_compressEnd’:
cargo:warning=liblz4/lib/lz4frame.c:863:25: warning: implicit declaration of function ‘XXH32_digest’ [-Wimplicit-function-declaration]
cargo:warning= 863 | U32 const xxh = XXH32_digest(&(cctxPtr->xxh));
cargo:warning= | ^~~~~~~~~~~~
cargo:warning=liblz4/lib/lz4frame.c: At top level:
cargo:warning=liblz4/lib/lz4frame.c:913:5: error: unknown type name ‘XXH32_state_t’
cargo:warning= 913 | XXH32_state_t xxh;
cargo:warning= | ^~~~~~~~~~~~~
cargo:warning=liblz4/lib/lz4frame.c:914:5: error: unknown type name ‘XXH32_state_t’
cargo:warning= 914 | XXH32_state_t blockChecksum;
cargo:warning= | ^~~~~~~~~~~~~
exit code: 1
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/lz4-sys-9b845f9941ba0284/out/liblz4/lib/lz4hc.o" "-c" "liblz4/lib/lz4hc.c"
exit code: 0
exit code: 0
--- stderr
error occurred: Command "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/home/huitseeker/tmp/calibra/target/debug/build/lz4-sys-9b845f9941ba0284/out/liblz4/lib/lz4frame.o" "-c" "liblz4/lib/lz4frame.c" with args "cc" did not execute successfully (status code exit code: 1).
warning: build failed, waiting for other jobs to finish...
error: build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment