Closed spantaleev closed 3 months ago
Yes, for example I get this error. And I managed to build it a couple of months ago.
> [builder 5/7] RUN cargo build:
0.691 Updating crates.io index
0.691 Updating git repository `https://github.com/matrix-org/rust-matrix-state-map`
2.414 Downloading crates ...
2.624 Downloaded autocfg v1.1.0
2.652 Downloaded arc-swap v1.5.0
2.665 Downloaded bitflags v1.3.2
2.672 Downloaded atty v0.2.14
2.674 Downloaded foreign-types v0.3.2
2.684 Downloaded block-buffer v0.10.2
2.688 Downloaded foreign-types-shared v0.1.1
2.697 Downloaded digest v0.10.3
2.699 Downloaded crypto-common v0.1.3
2.699 Downloaded cpufeatures v0.2.2
2.700 Downloaded console v0.15.0
2.701 Downloaded byteorder v1.4.3
2.706 Downloaded new_debug_unreachable v1.0.4
2.707 Downloaded async-trait v0.1.56
2.711 Downloaded cfg-if v1.0.0
2.713 Downloaded crossbeam-deque v0.8.1
2.713 Downloaded clap_lex v0.2.0
2.719 Downloaded crossbeam-utils v0.8.8
2.720 Downloaded log-panics v2.0.0
2.726 Downloaded memoffset v0.6.5
2.735 Downloaded fs_extra v1.2.0
2.737 Downloaded md-5 v0.10.1
2.738 Downloaded env_logger v0.9.0
2.741 Downloaded crossbeam-epoch v0.9.8
2.744 Downloaded pyo3-log v0.6.0
2.745 Downloaded futures-channel v0.3.21
2.750 Downloaded siphasher v0.3.10
2.763 Downloaded precomputed-hash v0.1.1
2.778 Downloaded phf v0.10.1
2.780 Downloaded lazy_static v1.4.0
2.782 Downloaded indoc v1.0.6
2.785 Downloaded bytes v1.1.0
2.788 Downloaded phf_shared v0.10.0
2.789 Downloaded openssl-macros v0.1.0
2.789 Downloaded number_prefix v0.4.0
2.790 Downloaded base64 v0.13.0
2.794 Downloaded rand_chacha v0.3.1
2.798 Downloaded quote v1.0.18
2.800 Downloaded ppv-lite86 v0.2.16
2.802 Downloaded log v0.4.17
2.803 Downloaded lock_api v0.4.7
2.804 Downloaded humantime v2.1.0
2.808 Downloaded string_cache v0.8.4
2.818 Downloaded rand_core v0.6.3
2.820 Downloaded os_str_bytes v6.1.0
2.822 Downloaded postgres-openssl v0.5.0
2.823 Downloaded futures-io v0.3.21
2.824 Downloaded futures-core v0.3.21
2.831 Downloaded stringprep v0.1.2
2.832 Downloaded scopeguard v1.1.0
2.833 Downloaded postgres-protocol v0.6.4
3.008 Downloaded socket2 v0.4.4
3.011 Downloaded smallvec v1.8.0
3.012 Downloaded slab v0.4.6
3.013 Downloaded tinyvec_macros v0.1.0
3.013 Downloaded sha2 v0.10.2
3.015 Downloaded serde v1.0.137
3.017 Downloaded rayon-core v1.9.3
3.019 Downloaded rand v0.8.5
3.022 Downloaded pyo3-macros-backend v0.16.5
3.023 Downloaded pyo3-macros v0.16.5
3.024 Downloaded pyo3-ffi v0.16.5
3.027 Downloaded pyo3-build-config v0.16.5
3.028 Downloaded proc-macro2 v1.0.39
3.029 Downloaded postgres-types v0.2.3
3.031 Downloaded rayon v1.5.3
3.036 Downloaded clap v3.1.18
3.043 Downloaded postgres v0.19.3
3.044 Downloaded pkg-config v0.3.25
3.045 Downloaded pin-utils v0.1.0
3.045 Downloaded futures-util v0.3.21
3.052 Downloaded pin-project-lite v0.2.9
3.054 Downloaded percent-encoding v2.1.0
3.055 Downloaded parking_lot_core v0.9.3
3.056 Downloaded parking_lot v0.12.1
3.057 Downloaded openssl-sys v0.9.74
3.060 Downloaded once_cell v1.12.0
3.061 Downloaded num_cpus v1.13.1
3.062 Downloaded mio v0.8.3
3.065 Downloaded memchr v2.5.0
3.068 Downloaded subtle v2.4.1
3.068 Downloaded indicatif v0.16.2
3.070 Downloaded indexmap v1.8.2
3.072 Downloaded hmac v0.12.1
3.073 Downloaded openssl v0.10.40
3.078 Downloaded regex v1.5.6
3.083 Downloaded hashbrown v0.11.2
3.085 Downloaded getrandom v0.2.6
3.086 Downloaded generic-array v0.14.5
3.088 Downloaded regex-syntax v0.6.26
3.093 Downloaded futures-task v0.3.21
3.093 Downloaded futures-sink v0.3.21
3.093 Downloaded futures-macro v0.3.21
3.094 Downloaded futures-executor v0.3.21
3.095 Downloaded strsim v0.10.0
3.096 Downloaded futures v0.3.21
3.098 Downloaded fallible-iterator v0.2.0
3.099 Downloaded either v1.6.1
3.099 Downloaded crossbeam-channel v0.5.4
3.102 Downloaded pyo3 v0.16.5
3.114 Downloaded terminal_size v0.1.17
3.115 Downloaded cc v1.0.73
3.116 Downloaded aho-corasick v0.7.18
3.129 Downloaded libc v0.2.126
3.150 Downloaded termcolor v1.1.3
3.185 Downloaded target-lexicon v0.12.4
3.242 Downloaded tokio-openssl v0.6.3
3.245 Downloaded tikv-jemallocator v0.5.0
3.368 Downloaded unindent v0.1.9
3.403 Downloaded version_check v0.9.4
3.552 Downloaded typenum v1.15.0
3.576 Downloaded unicode-ident v1.0.0
3.612 Downloaded tinyvec v1.6.0
3.677 Downloaded tracing-core v0.1.26
3.718 Downloaded textwrap v0.15.0
3.746 Downloaded unicode-bidi v0.3.8
3.756 Downloaded tracing v0.1.34
3.768 Downloaded tokio-postgres v0.7.6
3.836 Downloaded tokio-util v0.7.3
3.864 Downloaded unicode-normalization v0.1.19
3.874 Downloaded syn v1.0.96
4.349 Downloaded tokio v1.19.1
4.464 Downloaded tikv-jemalloc-sys v0.5.0+5.3.0
4.526 Compiling libc v0.2.126
4.526 Compiling autocfg v1.1.0
4.526 Compiling cfg-if v1.0.0
4.526 Compiling proc-macro2 v1.0.39
4.526 Compiling unicode-ident v1.0.0
4.526 Compiling once_cell v1.12.0
4.526 Compiling syn v1.0.96
4.526 Compiling memchr v2.5.0
4.526 Compiling typenum v1.15.0
4.526 Compiling version_check v0.9.4
4.526 Compiling lazy_static v1.4.0
4.526 Compiling cc v1.0.73
4.526 Compiling target-lexicon v0.12.4
4.526 Compiling scopeguard v1.1.0
4.529 Compiling log v0.4.17
4.530 Compiling futures-core v0.3.21
4.531 Compiling pin-project-lite v0.2.9
4.531 Compiling parking_lot_core v0.9.3
4.531 Compiling subtle v2.4.1
4.532 Compiling futures-sink v0.3.21
4.602 Compiling futures-channel v0.3.21
4.618 Compiling futures-task v0.3.21
4.622 Compiling bytes v1.1.0
4.641 Compiling smallvec v1.8.0
4.643 Compiling pkg-config v0.3.25
4.661 Compiling futures-util v0.3.21
4.742 Compiling tinyvec_macros v0.1.0
4.775 Compiling tinyvec v1.6.0
4.829 Compiling crossbeam-utils v0.8.8
4.844 Compiling futures-io v0.3.21
4.871 Compiling ppv-lite86 v0.2.16
4.878 Compiling slab v0.4.6
4.894 Compiling pin-utils v0.1.0
4.930 Compiling siphasher v0.3.10
4.931 Compiling cpufeatures v0.2.2
4.988 Compiling unicode-bidi v0.3.8
5.057 Compiling tracing-core v0.1.26
5.071 Compiling lock_api v0.4.7
5.072 Compiling memoffset v0.6.5
5.079 Compiling crossbeam-epoch v0.9.8
5.102 Compiling generic-array v0.14.5
5.179 Compiling phf_shared v0.10.0
5.190 Compiling byteorder v1.4.3
5.250 Compiling fallible-iterator v0.2.0
5.321 Compiling async-trait v0.1.56
5.338 Compiling base64 v0.13.0
5.419 Compiling openssl v0.10.40
5.449 Compiling bitflags v1.3.2
5.475 Compiling foreign-types-shared v0.1.1
5.481 Compiling rayon-core v1.9.3
5.493 Compiling fs_extra v1.2.0
5.516 Compiling tracing v0.1.34
5.516 Compiling foreign-types v0.3.2
5.555 Compiling quote v1.0.18
5.660 Compiling aho-corasick v0.7.18
5.692 Compiling phf v0.10.1
5.699 Compiling indexmap v1.8.2
5.710 Compiling regex-syntax v0.6.26
5.820 Compiling getrandom v0.2.6
5.936 Compiling mio v0.8.3
5.937 Compiling unicode-normalization v0.1.19
5.940 Compiling socket2 v0.4.4
5.941 Compiling tokio-openssl v0.6.3
5.974 Compiling rand_core v0.6.3
5.975 Compiling pyo3-build-config v0.16.5
6.003 Compiling percent-encoding v2.1.0
6.079 Compiling serde v1.0.137
6.082 Compiling crossbeam-deque v0.8.1
6.152 Compiling num_cpus v1.13.1
6.169 Compiling rand_chacha v0.3.1
6.170 Compiling atty v0.2.14
6.178 Compiling terminal_size v0.1.17
6.209 Compiling parking_lot v0.12.1
6.265 Compiling crossbeam-channel v0.5.4
6.265 Compiling rayon v1.5.3
6.269 Compiling hashbrown v0.11.2
6.272 Compiling indoc v1.0.6
6.295 Compiling termcolor v1.1.3
6.308 Compiling os_str_bytes v6.1.0
6.470 Compiling openssl-sys v0.9.74
6.474 Compiling tikv-jemalloc-sys v0.5.0+5.3.0
6.482 Compiling unindent v0.1.9
6.612 Compiling tokio v1.19.1
6.633 Compiling rand v0.8.5
6.718 Compiling clap_lex v0.2.0
6.984 Compiling console v0.15.0
7.041 Compiling stringprep v0.1.2
7.051 Compiling humantime v2.1.0
7.202 Compiling new_debug_unreachable v1.0.4
7.237 Compiling arc-swap v1.5.0
7.242 Compiling strsim v0.10.0
7.280 Compiling number_prefix v0.4.0
7.369 Compiling precomputed-hash v0.1.1
7.405 Compiling either v1.6.1
7.424 Compiling textwrap v0.15.0
7.442 Compiling log-panics v2.0.0
7.478 Compiling state-map v0.1.0 (https://github.com/matrix-org/rust-matrix-state-map#211343e8)
7.603 Compiling regex v1.5.6
7.627 Compiling crypto-common v0.1.3
7.682 Compiling block-buffer v0.10.2
7.735 Compiling clap v3.1.18
7.792 Compiling digest v0.10.3
8.035 Compiling md-5 v0.10.1
8.043 Compiling sha2 v0.10.2
8.052 Compiling hmac v0.12.1
8.452 Compiling postgres-protocol v0.6.4
8.717 Compiling pyo3-ffi v0.16.5
8.717 Compiling pyo3 v0.16.5
8.978 Compiling env_logger v0.9.0
8.978 Compiling indicatif v0.16.2
8.992 Compiling postgres-types v0.2.3
11.64 Compiling tokio-util v0.7.3
12.75 Compiling pyo3-macros-backend v0.16.5
14.54 Compiling string_cache v0.8.4
16.19 Compiling futures-macro v0.3.21
16.19 Compiling openssl-macros v0.1.0
17.94 Compiling pyo3-macros v0.16.5
26.02 Compiling pyo3-log v0.6.0
26.39 Compiling futures-executor v0.3.21
26.80 Compiling futures v0.3.21
26.83 Compiling tokio-postgres v0.7.6
29.28 Compiling postgres v0.19.3
29.28 Compiling postgres-openssl v0.5.0
55.63 Compiling tikv-jemallocator v0.5.0
55.70 Compiling synapse_compress_state v0.1.0 (/opt/synapse-compressor)
63.95 error: linking with `cc` failed: exit status: 1
63.95 |
63.95 = note: LC_ALL="C" PATH="/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/bin:/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustc4KFacT/symbols.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.1elmxlmsb83wn0fx.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.1greuce8a1ny9iun.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.1lgszalj1vqnkgy6.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.1nb79y9xh0h0nmyl.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.29b3ikg4kn2dm88m.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.2l485qlp687b3uhl.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.2msibnbpcfgusdnq.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.2nih8yqa28mrbw80.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.2spzsrnzdnu7ja7p.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.3bjtsh69at5k7bu7.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.4el2kp0inopacaby.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.4fhggpr65wqmg4ax.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.4u55o57p9du2lgzx.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.50qf3zk6n45t9yxb.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.gcxcdctq3e1zvk.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.k705n0x6dcweecy.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.p1khbwxzuj0cn5z.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.qpkf182tmo7sb3x.rcgu.o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d.2msputghmagmv3ks.rcgu.o" "-Wl,--as-needed" "-L" "/opt/synapse-compressor/target/debug/deps" "-L" "/opt/synapse-compressor/target/debug/build/tikv-jemalloc-sys-2484b60e0b6e15a3/out/build/lib" "-L" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib" "-Wl,-Bstatic" "/opt/synapse-compressor/target/debug/deps/libenv_logger-30b4c5e034c9eb38.rlib" "/opt/synapse-compressor/target/debug/deps/libhumantime-f3a500891b7eef3d.rlib" "/opt/synapse-compressor/target/debug/deps/libtikv_jemallocator-544f3577986639c5.rlib" "/opt/synapse-compressor/target/debug/deps/libtikv_jemalloc_sys-845c45b77e13677c.rlib" "/opt/synapse-compressor/target/debug/deps/libsynapse_compress_state.rlib" "/opt/synapse-compressor/target/debug/deps/liblog_panics-6c6d74f9180ead22.rlib" "/opt/synapse-compressor/target/debug/deps/libpyo3_log-a0027694cbe387f7.rlib" "/opt/synapse-compressor/target/debug/deps/libarc_swap-2a620a0aac7a647a.rlib" "/opt/synapse-compressor/target/debug/deps/libpostgres_openssl-47a4b2e3db65b652.rlib" "/opt/synapse-compressor/target/debug/deps/libtokio_openssl-0543b2571c7c00e9.rlib" "/opt/synapse-compressor/target/debug/deps/libpostgres-be20ce64f6ccea72.rlib" "/opt/synapse-compressor/target/debug/deps/libtokio_postgres-2bbd8ad79d83eb13.rlib" "/opt/synapse-compressor/target/debug/deps/libphf-56c8eec95549f740.rlib" "/opt/synapse-compressor/target/debug/deps/libpercent_encoding-7a2c27147558235b.rlib" "/opt/synapse-compressor/target/debug/deps/libtokio_util-eba0b186e827c083.rlib" "/opt/synapse-compressor/target/debug/deps/libtracing-119803cd8ce71e66.rlib" "/opt/synapse-compressor/target/debug/deps/libtracing_core-7df300931ab7ac20.rlib" "/opt/synapse-compressor/target/debug/deps/libtokio-6160a0c73f0563cc.rlib" "/opt/synapse-compressor/target/debug/deps/libsocket2-4aac5169cb17b149.rlib" "/opt/synapse-compressor/target/debug/deps/libmio-5f42210c19f9659e.rlib" "/opt/synapse-compressor/target/debug/deps/libpostgres_types-f075ced3b3f27621.rlib" "/opt/synapse-compressor/target/debug/deps/libpostgres_protocol-aa745e71332f89c6.rlib" "/opt/synapse-compressor/target/debug/deps/libbase64-6ad1f40f8987bf36.rlib" "/opt/synapse-compressor/target/debug/deps/libstringprep-6aa7c545abd5721d.rlib" "/opt/synapse-compressor/target/debug/deps/libunicode_normalization-3cfb836fd3b544cd.rlib" "/opt/synapse-compressor/target/debug/deps/libtinyvec-a2c6d1b0ccaec5ec.rlib" "/opt/synapse-compressor/target/debug/deps/libtinyvec_macros-20dc3ec1fa5ef190.rlib" "/opt/synapse-compressor/target/debug/deps/libunicode_bidi-3cca69e2c7e32b83.rlib" "/opt/synapse-compressor/target/debug/deps/libsha2-05aa6ffee250dfd6.rlib" "/opt/synapse-compressor/target/debug/deps/libcpufeatures-75503c08f1011bf2.rlib" "/opt/synapse-compressor/target/debug/deps/librand-eed717f008225f70.rlib" "/opt/synapse-compressor/target/debug/deps/librand_chacha-82b2a97b141fcfac.rlib" "/opt/synapse-compressor/target/debug/deps/libppv_lite86-1d812fbc3d566e75.rlib" "/opt/synapse-compressor/target/debug/deps/librand_core-3dd983bbda65bfb6.rlib" "/opt/synapse-compressor/target/debug/deps/libgetrandom-1a8ede19d6578c02.rlib" "/opt/synapse-compressor/target/debug/deps/libhmac-83922896a9cdc908.rlib" "/opt/synapse-compressor/target/debug/deps/libmd5-c2b01d9418776a22.rlib" "/opt/synapse-compressor/target/debug/deps/libdigest-806bb28971a7ff65.rlib" "/opt/synapse-compressor/target/debug/deps/libsubtle-37609488bb0a4c52.rlib" "/opt/synapse-compressor/target/debug/deps/libblock_buffer-270929ca2edd71f7.rlib" "/opt/synapse-compressor/target/debug/deps/libcrypto_common-e986962473e69ead.rlib" "/opt/synapse-compressor/target/debug/deps/libgeneric_array-001e63a1e2290cdb.rlib" "/opt/synapse-compressor/target/debug/deps/libtypenum-9feabc2030f2f814.rlib" "/opt/synapse-compressor/target/debug/deps/libfutures-3ba5c2c8cfc5c9b2.rlib" "/opt/synapse-compressor/target/debug/deps/libfutures_executor-4ecd24dfc0ee51d1.rlib" "/opt/synapse-compressor/target/debug/deps/libfutures_util-4f6f9605990f11f6.rlib" "/opt/synapse-compressor/target/debug/deps/libfutures_io-e553f09137ab5936.rlib" "/opt/synapse-compressor/target/debug/deps/libslab-a133b820ca8c8cce.rlib" "/opt/synapse-compressor/target/debug/deps/libfutures_channel-191db5639c625f93.rlib" "/opt/synapse-compressor/target/debug/deps/libpin_project_lite-7f0aef780816048c.rlib" "/opt/synapse-compressor/target/debug/deps/libfutures_sink-3dd066601fc321ae.rlib" "/opt/synapse-compressor/target/debug/deps/libfutures_task-af92211fccb27ae6.rlib" "/opt/synapse-compressor/target/debug/deps/libpin_utils-6a46aa75542f5dbb.rlib" "/opt/synapse-compressor/target/debug/deps/libfutures_core-87c626f3fb79c6d3.rlib" "/opt/synapse-compressor/target/debug/deps/libbytes-56d46bd3cf5f3540.rlib" "/opt/synapse-compressor/target/debug/deps/libbyteorder-9fee0287312441c6.rlib" "/opt/synapse-compressor/target/debug/deps/libfallible_iterator-5c2c17b1d68a0eaa.rlib" "/opt/synapse-compressor/target/debug/deps/libopenssl-b9500d70a4cf6537.rlib" "/opt/synapse-compressor/target/debug/deps/libforeign_types-b380daa9d19f05fb.rlib" "/opt/synapse-compressor/target/debug/deps/libforeign_types_shared-00324b5600f041e0.rlib" "/opt/synapse-compressor/target/debug/deps/libopenssl_sys-66ee6e2a49962c46.rlib" "/opt/synapse-compressor/target/debug/deps/libstring_cache-79fe9f3f2931d5ff.rlib" "/opt/synapse-compressor/target/debug/deps/libprecomputed_hash-3dfcfa987d18b8d5.rlib" "/opt/synapse-compressor/target/debug/deps/libphf_shared-938770fbe31c7cbc.rlib" "/opt/synapse-compressor/target/debug/deps/libsiphasher-dc3863636c1a37db.rlib" "/opt/synapse-compressor/target/debug/deps/libserde-a2ede94476860f19.rlib" "/opt/synapse-compressor/target/debug/deps/libdebug_unreachable-dc60b2f226a5edea.rlib" "/opt/synapse-compressor/target/debug/deps/libstate_map-f1b8cad0a3057e3a.rlib" "/opt/synapse-compressor/target/debug/deps/librayon-28ed5d7c81ae928c.rlib" "/opt/synapse-compressor/target/debug/deps/librayon_core-33ddebadb552a961.rlib" "/opt/synapse-compressor/target/debug/deps/libnum_cpus-187b577a0cd93262.rlib" "/opt/synapse-compressor/target/debug/deps/libcrossbeam_deque-ad5c3bc7fa444def.rlib" "/opt/synapse-compressor/target/debug/deps/libcrossbeam_epoch-f18195332e50f988.rlib" "/opt/synapse-compressor/target/debug/deps/libmemoffset-ce1209e9c7a0795d.rlib" "/opt/synapse-compressor/target/debug/deps/libcrossbeam_channel-247d913ea9f5c5e9.rlib" "/opt/synapse-compressor/target/debug/deps/libcrossbeam_utils-f63ed85e7b48c626.rlib" "/opt/synapse-compressor/target/debug/deps/libeither-a5088687b32751b8.rlib" "/opt/synapse-compressor/target/debug/deps/libindicatif-11dc06651ee03f37.rlib" "/opt/synapse-compressor/target/debug/deps/libregex-b87d2d69a93940f8.rlib" "/opt/synapse-compressor/target/debug/deps/libaho_corasick-3d642d1f9177bf50.rlib" "/opt/synapse-compressor/target/debug/deps/libmemchr-aca99b17ecc57cce.rlib" "/opt/synapse-compressor/target/debug/deps/libregex_syntax-4fbddb9620b53d5d.rlib" "/opt/synapse-compressor/target/debug/deps/libconsole-34a658412151d0c3.rlib" "/opt/synapse-compressor/target/debug/deps/libterminal_size-857487f336234ee8.rlib" "/opt/synapse-compressor/target/debug/deps/libonce_cell-4ece91e6e77a6c06.rlib" "/opt/synapse-compressor/target/debug/deps/libnumber_prefix-e6feec5a5e8da376.rlib" "/opt/synapse-compressor/target/debug/deps/libclap-fc09f16b16b9cdc6.rlib" "/opt/synapse-compressor/target/debug/deps/libstrsim-53ea7d38252a25a7.rlib" "/opt/synapse-compressor/target/debug/deps/libatty-5e151ac67d2fc2e5.rlib" "/opt/synapse-compressor/target/debug/deps/libtermcolor-20abd8ed8910db68.rlib" "/opt/synapse-compressor/target/debug/deps/libtextwrap-3e0ebe5ece52a502.rlib" "/opt/synapse-compressor/target/debug/deps/libindexmap-452bcf7b05281ff4.rlib" "/opt/synapse-compressor/target/debug/deps/libhashbrown-316509f86369f52b.rlib" "/opt/synapse-compressor/target/debug/deps/libclap_lex-d2e1313038d79ddc.rlib" "/opt/synapse-compressor/target/debug/deps/libos_str_bytes-0519d7528ffd17a0.rlib" "/opt/synapse-compressor/target/debug/deps/libbitflags-f8cce92828c25fba.rlib" "/opt/synapse-compressor/target/debug/deps/liblazy_static-50133748eb7a72b4.rlib" "/opt/synapse-compressor/target/debug/deps/libpyo3-e3cc33c4068a21f7.rlib" "/opt/synapse-compressor/target/debug/deps/libparking_lot-fb19a2c17a136bdf.rlib" "/opt/synapse-compressor/target/debug/deps/libparking_lot_core-4ac9d5f038ff9bb2.rlib" "/opt/synapse-compressor/target/debug/deps/libsmallvec-8efb425de0669fbe.rlib" "/opt/synapse-compressor/target/debug/deps/liblock_api-ab88dcacac12599b.rlib" "/opt/synapse-compressor/target/debug/deps/libscopeguard-a222456f7a00e8a9.rlib" "/opt/synapse-compressor/target/debug/deps/libpyo3_ffi-191130c1b044b085.rlib" "/opt/synapse-compressor/target/debug/deps/liblibc-448494b456436911.rlib" "/opt/synapse-compressor/target/debug/deps/libunindent-1c3982cb671d6969.rlib" "/opt/synapse-compressor/target/debug/deps/liblog-e4552c817b83f646.rlib" "/opt/synapse-compressor/target/debug/deps/libcfg_if-e7a65e7de5d3b2b4.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-742797dd06d019e7.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libpanic_unwind-6bf8f7589e9c3afd.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libobject-d17d589e7ddeb91e.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libmemchr-7e131187e0d12110.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libaddr2line-68cfe5461c083eba.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libgimli-fcdba0294321b7ce.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_demangle-e30e3a25eef4e506.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd_detect-433d2540f2c1bc47.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libhashbrown-9fc3e7828cca6ec8.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_alloc-1a41329eaf1f8d5c.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libminiz_oxide-9a4d319ba8b5289f.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libadler-5127a09d49f4b731.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libunwind-87d34a81e4a7f3ce.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcfg_if-d933d0694c27babb.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/liblibc-8b230538967bbc80.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/liballoc-df807200f9f3fc9e.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/librustc_std_workspace_core-d39620466664ab8f.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcore-bb1edaa71b5f33fb.rlib" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib/libcompiler_builtins-3bf91c1daa122358.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/local/rustup/toolchains/1.77.0-x86_64-unknown-linux-musl/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/synapse-compressor/target/debug/deps/synapse_compress_state-4403eabb6022b21d" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
63.95 = note: /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /opt/synapse-compressor/target/debug/deps/libgetrandom-1a8ede19d6578c02.rlib(getrandom-1a8ede19d6578c02.getrandom.3c52a1faf1b16731-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly':
63.95 /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/getrandom-0.2.6/src/util_libc.rs:117:(.text._ZN9getrandom9util_libc13open_readonly17h5b2e3e9589ade26fE+0x4a): undefined reference to `open64'
63.95 collect2: error: ld returned 1 exit status
63.95
63.95 = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
63.95 = note: use the `-l` flag to specify native libraries to link
63.95 = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)
63.95
63.98 error: could not compile `synapse_compress_state` (bin "synapse_compress_state") due to 1 previous error
------
Dockerfile:11
--------------------
9 | COPY . .
10 |
11 | >>> RUN cargo build
12 |
13 | WORKDIR /opt/synapse-compressor/synapse_auto_compressor/
--------------------
ERROR: failed to solve: process "/bin/sh -c cargo build" did not complete successfully: exit code: 101
Thank you for reporting this!
v0.1.4 has been released, based off of latest main
. You can grab it from Docker Hub or GHCR.
It looks like the container image for the currently-latest release/tag (v0.1.3) fails to build now, because it doesn't pin any versions in its Dockerfile.
For people running matrix-docker-ansible-deploy on architectures other than
amd64
(for which there is a prebuilt container image), we do "self-building" (building the container image from theDockerfile
), which is causing errors.Looks like the main branch has already been fixed and the Dockerfile pins various versions, making it more reproducible.
Are you planning on stabilizing it and tagging a new release?
For matrix-docker-ansible-deploy, I'm adding a workaround for non-
amd64
architectures, so that people on such architectures would getlatest
(self-built from the latest commit inmain
).However, that's a moving target and potentially unstable. A tagged release would be appreciated!