You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: field N is never read
--> scrypt-ocl/src/lib.rs:17:5
|
15 | struct Scrypter {
| -------- field in this struct
16 | labels_buffer: Vec,
17 | N: u32,
| ^
|
= note: Scrypter has a derived impl for the trait Debug, but this is intentionally ignored during dead code analysis
= note: #[warn(dead_code)] on by default
warning: constant PLATFORMS_BLACKLIST_ENV is never used
--> scrypt-ocl/src/filtering.rs:3:7
|
3 | const PLATFORMS_BLACKLIST_ENV: &str = "POST_OCL_PLATFORMS_BLACKLIST";
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: constant DEVICES_BLACKLIST_ENV is never used
--> scrypt-ocl/src/filtering.rs:4:7
|
4 | const DEVICES_BLACKLIST_ENV: &str = "POST_OCL_DEVICES_BLACKLIST";
| ^^^^^^^^^^^^^^^^^^^^^
warning: function create_blacklist_filter is never used
--> scrypt-ocl/src/filtering.rs:6:4
|
6 | fn create_blacklist_filter(blacklist_re: Option<&str>) -> Box<dyn Fn(&str) -> bool> {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: function create_platform_filter is never used
--> scrypt-ocl/src/filtering.rs:22:15
|
22 | pub(crate) fn create_platform_filter() -> Box<dyn Fn(&str) -> bool> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function create_device_filter is never used
--> scrypt-ocl/src/filtering.rs:26:15
|
26 | pub(crate) fn create_device_filter() -> Box<dyn Fn(&str) -> bool> {
| ^^^^^^^^^^^^^^^^^^^^
warning: structure field N should have a snake case name
--> scrypt-ocl/src/lib.rs:17:5
|
17 | N: u32,
| ^ help: convert the identifier to snake case: n
|
= note: #[warn(non_snake_case)] on by default
--- stderr
/usr/include/stdlib.h:31:10: fatal error: 'stddef.h' file not found
thread 'main' panicked at /home/nvbb/.cargo/git/checkouts/scrypt-jane-rs-561a674cc31c6d40/7963470/scrypt-jane-sys/build.rs:37:10:
Unable to generate bindings: ClangDiagnostic("/usr/include/stdlib.h:31:10: fatal error: 'stddef.h' file not found\n")
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
post-rs/ffi# cargo build --release
Compiling proc-macro2 v1.0.85
Compiling unicode-ident v1.0.12
Compiling libc v0.2.155
Compiling autocfg v1.3.0
Compiling cfg-if v1.0.0
Compiling rustix v0.38.34
Compiling bitflags v2.5.0
Compiling cc v1.0.99
Compiling crossbeam-utils v0.8.20
Compiling linux-raw-sys v0.4.14
Compiling glob v0.3.1
Compiling prettyplease v0.2.20
Compiling version_check v0.9.4
Compiling typenum v1.17.0
Compiling log v0.4.21
Compiling memchr v2.7.4
Compiling minimal-lexical v0.2.1
Compiling regex-syntax v0.8.4
Compiling serde_json v1.0.117
Compiling either v1.12.0
Compiling semver v1.0.23
Compiling home v0.5.9
Compiling bindgen v0.69.4
Compiling ident_case v1.0.1
Compiling strsim v0.11.1
Compiling lazy_static v1.4.0
Compiling serde v1.0.203
Compiling thiserror v1.0.61
Compiling lazycell v1.3.0
Compiling shlex v1.3.0
Compiling fnv v1.0.7
Compiling rustc-hash v1.1.0
Compiling crunchy v0.2.2
Compiling ppv-lite86 v0.2.17
Compiling byteorder v1.5.0
Compiling hex v0.4.3
Compiling predicates-core v1.0.6
Compiling syn v1.0.109
Compiling cl-sys v0.4.3
Compiling static_assertions v1.1.0
Compiling rayon-core v1.12.1
Compiling radium v0.7.0
Compiling bytemuck v1.16.0
Compiling eyre v0.6.12
Compiling ryu v1.0.18
Compiling termtree v0.4.1
Compiling once_cell v1.19.0
Compiling anstyle v1.0.7
Compiling fastrand v2.1.0
Compiling anyhow v1.0.86
Compiling itoa v1.0.11
Compiling hashbrown v0.12.3
Compiling cbindgen v0.26.0
Compiling randomx-rs v1.3.0 (https://github.com/spacemeshos/randomx-rs?rev=d46bcd90e09428883e253b8203d6b311b0a07b91#d46bcd90)
Compiling rustc-hex v2.1.0
Compiling tap v1.0.1
Compiling constant_time_eq v0.3.0
Compiling fragile v2.0.0
Compiling libloading v0.8.3
Compiling futures v0.1.31
Compiling heck v0.4.1
Compiling downcast v0.11.0
Compiling arrayvec v0.7.4
Compiling bitflags v1.3.2
Compiling arrayref v0.3.7
Compiling indenter v0.3.3
Compiling funty v2.0.0
Compiling itertools v0.12.1
Compiling wyz v0.5.1
Compiling predicates-tree v1.0.9
Compiling cpufeatures v0.2.12
Compiling base64 v0.22.1
Compiling nodrop v0.1.14
Compiling thread_local v1.1.8
Compiling predicates v3.1.0
Compiling generic-array v0.14.7
Compiling num-traits v0.2.19
Compiling indexmap v1.9.3
Compiling itertools v0.13.0
Compiling clang-sys v1.8.1
Compiling uint v0.9.5
Compiling nom v7.1.3
Compiling rustc_version v0.4.0
Compiling cmake v0.1.50
Compiling aho-corasick v1.1.3
Compiling ocl-core v0.11.5
Compiling quote v1.0.36
Compiling crossbeam-epoch v0.9.18
Compiling crossbeam-channel v0.5.13
Compiling crossbeam-queue v0.3.11
Compiling bitvec v1.0.1
Compiling blake3 v1.5.1
Compiling spacemesh-cuda v0.0.1 (https://github.com/ZakuroLab/spacemesh-cuda.git?rev=7910031510ef2a7c1a7e7bcfe96d0e38ea921866#79100315)
Compiling syn v2.0.66
Compiling getrandom v0.2.15
Compiling num_cpus v1.16.0
Compiling crossbeam-deque v0.8.5
Compiling core_affinity v0.8.1
Compiling rand_core v0.6.4
Compiling rand_chacha v0.3.1
Compiling crossbeam v0.8.4
Compiling qutex v0.2.6
Compiling num-traits v0.1.43
Compiling num-complex v0.4.6
Compiling ocl-core-vector v0.1.1
Compiling regex-automata v0.4.7
Compiling rand v0.8.5
Compiling enum_primitive v0.1.1
Compiling rayon v1.10.0
Compiling block-padding v0.3.3
Compiling crypto-common v0.1.6
Compiling inout v0.1.3
Compiling cipher v0.4.4
Compiling fixed-hash v0.8.0
Compiling primitive-types v0.12.2
Compiling which v4.4.2
Compiling tempfile v3.10.1
Compiling cexpr v0.6.0
Compiling aes v0.8.4
Compiling regex v1.10.5
Compiling darling_core v0.20.9
Compiling serde_derive v1.0.203
Compiling thiserror-impl v1.0.61
Compiling mockall_derive v0.12.1
Compiling darling_macro v0.20.9
Compiling darling v0.20.9
Compiling serde_with_macros v3.8.1
Compiling ocl v0.19.7
Compiling mockall v0.12.1
Compiling scrypt-jane-sys v0.1.0 (https://github.com/spacemeshos/scrypt-jane-rs?branch=main#79634704)
Compiling toml v0.5.11
Compiling serde_with v3.8.1
Compiling scrypt-jane v0.1.0 (https://github.com/spacemeshos/scrypt-jane-rs?branch=main#79634704)
Compiling post-cbindings v0.7.8 (/root/go/tt/post-rs/ffi)
Compiling post-rs v0.7.8 (/root/go/tt/post-rs)
Compiling scrypt-ocl v0.7.8 (/root/go/tt/post-rs/scrypt-ocl)
warning: unused macro definition:
cast
--> scrypt-ocl/src/lib.rs:39:14
|
39 | macro_rules! cast {
| ^^^^
|
= note:
#[warn(unused_macros)]
on by defaultwarning: field
N
is never read--> scrypt-ocl/src/lib.rs:17:5
|
15 | struct Scrypter {
| -------- field in this struct
16 | labels_buffer: Vec,
17 | N: u32,
| ^
|
= note:
Scrypter
has a derived impl for the traitDebug
, but this is intentionally ignored during dead code analysis= note:
#[warn(dead_code)]
on by defaultwarning: constant
PLATFORMS_BLACKLIST_ENV
is never used--> scrypt-ocl/src/filtering.rs:3:7
|
3 | const PLATFORMS_BLACKLIST_ENV: &str = "POST_OCL_PLATFORMS_BLACKLIST";
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: constant
DEVICES_BLACKLIST_ENV
is never used--> scrypt-ocl/src/filtering.rs:4:7
|
4 | const DEVICES_BLACKLIST_ENV: &str = "POST_OCL_DEVICES_BLACKLIST";
| ^^^^^^^^^^^^^^^^^^^^^
warning: function
create_blacklist_filter
is never used--> scrypt-ocl/src/filtering.rs:6:4
|
6 | fn create_blacklist_filter(blacklist_re: Option<&str>) -> Box<dyn Fn(&str) -> bool> {
| ^^^^^^^^^^^^^^^^^^^^^^^
warning: function
create_platform_filter
is never used--> scrypt-ocl/src/filtering.rs:22:15
|
22 | pub(crate) fn create_platform_filter() -> Box<dyn Fn(&str) -> bool> {
| ^^^^^^^^^^^^^^^^^^^^^^
warning: function
create_device_filter
is never used--> scrypt-ocl/src/filtering.rs:26:15
|
26 | pub(crate) fn create_device_filter() -> Box<dyn Fn(&str) -> bool> {
| ^^^^^^^^^^^^^^^^^^^^
warning: structure field
N
should have a snake case name--> scrypt-ocl/src/lib.rs:17:5
|
17 | N: u32,
| ^ help: convert the identifier to snake case:
n
|
= note:
#[warn(non_snake_case)]
on by defaultwarning:
scrypt-ocl
(lib) generated 8 warningserror: linking with
cc
failed: exit status: 1|
= note: LC_ALL="C" PATH="/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/root/gowork:/root/gowork/bin:/usr/local/go/bin:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda-12.3/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustcgLZM0U/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcgLZM0U/symbols.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.00.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.01.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.02.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.03.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.04.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.05.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.06.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.07.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.08.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.09.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.10.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.11.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.12.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.13.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.14.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.post.3164b9c3327dd536-cgu.15.rcgu.o" "/root/go/tt/post-rs/target/release/deps/post.mxl7f8oywcdl814.rcgu.o" "-Wl,--as-needed" "-L" "/root/go/tt/post-rs/target/release/deps" "-L" "/root/go/tt/post-rs/target/release/build/blake3-0c234b67970ac28d/out" "-L" "/root/go/tt/post-rs/target/release/build/blake3-0c234b67970ac28d/out" "-L" "/root/go/tt/post-rs/target/release/build/randomx-rs-a0d8a5a245ed84aa/out/randomx_build" "-L" "/root/go/tt/post-rs/target/release/build/scrypt-jane-sys-45a908a2aa06326f/out/lib" "-L" "/root/go/tt/post-rs/target/release/build/spacemesh-cuda-f37ef977329fbd15/out/lib" "-L" "/usr/local/cuda/lib64" "-L" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/root/go/tt/post-rs/target/release/deps/libscrypt_ocl-6bdf6e0ae5c63834.rlib" "/root/go/tt/post-rs/target/release/deps/libspacemesh_cuda-d863ca9a21509827.rlib" "/root/go/tt/post-rs/target/release/deps/libanyhow-833dd9c9eaa9cf05.rlib" "/root/go/tt/post-rs/target/release/deps/libocl-278832fc1ef98428.rlib" "/root/go/tt/post-rs/target/release/deps/libnodrop-3fed3c07908be84a.rlib" "/root/go/tt/post-rs/target/release/deps/libqutex-7df7bbdd82c4668a.rlib" "/root/go/tt/post-rs/target/release/deps/libcrossbeam-322e89ab131a410a.rlib" "/root/go/tt/post-rs/target/release/deps/libcrossbeam_channel-8407db8855e1ea25.rlib" "/root/go/tt/post-rs/target/release/deps/libcrossbeam_queue-3f2505bb3b331b7b.rlib" "/root/go/tt/post-rs/target/release/deps/libocl_core-e387cab8a9378f65.rlib" "/root/go/tt/post-rs/target/release/deps/libocl_core_vector-e6ff3c95ddaae8eb.rlib" "/root/go/tt/post-rs/target/release/deps/libnum_complex-35c7a06b50b00805.rlib" "/root/go/tt/post-rs/target/release/deps/libcl_sys-b3afd83b0b0e2871.rlib" "/root/go/tt/post-rs/target/release/deps/libenum_primitive-e476f14a614173df.rlib" "/root/go/tt/post-rs/target/release/deps/libnum_traits-602848011434087a.rlib" "/root/go/tt/post-rs/target/release/deps/libbitflags-a9e4675ae5aaa161.rlib" "/root/go/tt/post-rs/target/release/deps/libnum_traits-e60ce6e784e21d63.rlib" "/root/go/tt/post-rs/target/release/deps/libfutures-0f7ba3e514fb1d64.rlib" "/root/go/tt/post-rs/target/release/deps/libpost-25e716b5eaaef58a.rlib" "/root/go/tt/post-rs/target/release/deps/libcore_affinity-64dee424115f6699.rlib" "/root/go/tt/post-rs/target/release/deps/libnum_cpus-b6644778726e455c.rlib" "/root/go/tt/post-rs/target/release/deps/libbytemuck-4f972bde53eb3c40.rlib" "/root/go/tt/post-rs/target/release/deps/libserde_json-e34f01b5cc0fd24f.rlib" "/root/go/tt/post-rs/target/release/deps/libitoa-b28375730ec7d8f1.rlib" "/root/go/tt/post-rs/target/release/deps/libryu-a833fcb7a7c72c14.rlib" "/root/go/tt/post-rs/target/release/deps/libblake3-5df396c60e38e167.rlib" "/root/go/tt/post-rs/target/release/deps/libconstant_time_eq-ffc28c627afab194.rlib" "/root/go/tt/post-rs/target/release/deps/libarrayvec-2f55a9c10f5c3daa.rlib" "/root/go/tt/post-rs/target/release/deps/libarrayref-d71887f517020deb.rlib" "/root/go/tt/post-rs/target/release/deps/liblog-fd954623f023de15.rlib" "/root/go/tt/post-rs/target/release/deps/libregex-7962fe6b4cefc20c.rlib" "/root/go/tt/post-rs/target/release/deps/libregex_automata-96366bd53678a125.rlib" "/root/go/tt/post-rs/target/release/deps/libaho_corasick-6ed79babcf1ce81a.rlib" "/root/go/tt/post-rs/target/release/deps/libmemchr-89dae2eef94a0c18.rlib" "/root/go/tt/post-rs/target/release/deps/libregex_syntax-2fc9c5045e7d0e26.rlib" "/root/go/tt/post-rs/target/release/deps/libeyre-d48c6f4cca903d86.rlib" "/root/go/tt/post-rs/target/release/deps/libindenter-de37a8d45141756b.rlib" "/root/go/tt/post-rs/target/release/deps/libthread_local-73fa3ac67f83b779.rlib" "/root/go/tt/post-rs/target/release/deps/libonce_cell-f4b568492ab7a574.rlib" "/root/go/tt/post-rs/target/release/deps/librandomx_rs-d41409c116664b73.rlib" "/root/go/tt/post-rs/target/release/deps/libthiserror-f05855a4837e5fa5.rlib" "/root/go/tt/post-rs/target/release/deps/libbitflags-8e6908510d63bf9b.rlib" "/root/go/tt/post-rs/target/release/deps/libitertools-1ad4fd1404ac0d25.rlib" "/root/go/tt/post-rs/target/release/deps/libserde_with-2c9edce99df7ca06.rlib" "/root/go/tt/post-rs/target/release/deps/libbase64-3c230e2292fefed2.rlib" "/root/go/tt/post-rs/target/release/deps/libscrypt_jane-5e2db72118fada49.rlib" "/root/go/tt/post-rs/target/release/deps/libscrypt_jane_sys-14074edfb897259c.rlib" "/root/go/tt/post-rs/target/release/deps/librayon-f4c689ce9b929488.rlib" "/root/go/tt/post-rs/target/release/deps/librayon_core-4e5c473353005522.rlib" "/root/go/tt/post-rs/target/release/deps/libcrossbeam_deque-ef31ccb1175bdd9c.rlib" "/root/go/tt/post-rs/target/release/deps/libcrossbeam_epoch-531f6e7d3222a6f3.rlib" "/root/go/tt/post-rs/target/release/deps/libcrossbeam_utils-9f9275b4f1d2e15e.rlib" "/root/go/tt/post-rs/target/release/deps/libeither-ccaa57e15d456493.rlib" "/root/go/tt/post-rs/target/release/deps/libmockall-cc7472e4ccecdc6e.rlib" "/root/go/tt/post-rs/target/release/deps/libpredicates_tree-09f21d699229a1a2.rlib" "/root/go/tt/post-rs/target/release/deps/libtermtree-2e62d809fdb1774f.rlib" "/root/go/tt/post-rs/target/release/deps/libpredicates-8dfe71551d0f5332.rlib" "/root/go/tt/post-rs/target/release/deps/libanstyle-82a30a2864f189fd.rlib" "/root/go/tt/post-rs/target/release/deps/libpredicates_core-ac12a239ac712a08.rlib" "/root/go/tt/post-rs/target/release/deps/liblazy_static-5c16b50e02d4c972.rlib" "/root/go/tt/post-rs/target/release/deps/libfragile-cc3ec5588b6694d7.rlib" "/root/go/tt/post-rs/target/release/deps/libdowncast-d0f9daf8b2e53342.rlib" "/root/go/tt/post-rs/target/release/deps/libprimitive_types-0463a9ed83124727.rlib" "/root/go/tt/post-rs/target/release/deps/libuint-0475d60b3b9782a9.rlib" "/root/go/tt/post-rs/target/release/deps/libcrunchy-d9c97c3124917b72.rlib" "/root/go/tt/post-rs/target/release/deps/libhex-b9949f4efa169620.rlib" "/root/go/tt/post-rs/target/release/deps/libfixed_hash-12ae1860dd6d2373.rlib" "/root/go/tt/post-rs/target/release/deps/librand-6b8ab589e5c3e57f.rlib" "/root/go/tt/post-rs/target/release/deps/librand_chacha-2559ce106179c077.rlib" "/root/go/tt/post-rs/target/release/deps/libppv_lite86-33c48e84bd2538f2.rlib" "/root/go/tt/post-rs/target/release/deps/librand_core-34f578f9198adfe3.rlib" "/root/go/tt/post-rs/target/release/deps/libgetrandom-709dc8364e23a2b9.rlib" "/root/go/tt/post-rs/target/release/deps/liblibc-305d036d8debb98b.rlib" "/root/go/tt/post-rs/target/release/deps/librustc_hex-c3eddf0937bb88cc.rlib" "/root/go/tt/post-rs/target/release/deps/libbyteorder-c044da229b783eba.rlib" "/root/go/tt/post-rs/target/release/deps/libstatic_assertions-6c83a5ab8a378b56.rlib" "/root/go/tt/post-rs/target/release/deps/libserde-64d06a70448f5b4b.rlib" "/root/go/tt/post-rs/target/release/deps/libbitvec-0fdd3a36cd8500b0.rlib" "/root/go/tt/post-rs/target/release/deps/libwyz-7e539ef5009a719b.rlib" "/root/go/tt/post-rs/target/release/deps/libtap-31c2300d3a06e802.rlib" "/root/go/tt/post-rs/target/release/deps/libradium-718ded3ec8141577.rlib" "/root/go/tt/post-rs/target/release/deps/libfunty-a6615ac549131140.rlib" "/root/go/tt/post-rs/target/release/deps/libaes-a7813f6589c1f9a7.rlib" "/root/go/tt/post-rs/target/release/deps/libcpufeatures-d34b3e84341002eb.rlib" "/root/go/tt/post-rs/target/release/deps/libcfg_if-4370f25e8044026f.rlib" "/root/go/tt/post-rs/target/release/deps/libcipher-9931a566ce03ad60.rlib" "/root/go/tt/post-rs/target/release/deps/libinout-ecb77cb82f7e47d6.rlib" "/root/go/tt/post-rs/target/release/deps/libblock_padding-03d7df3db28ad75d.rlib" "/root/go/tt/post-rs/target/release/deps/libcrypto_common-c6c148f26fb58383.rlib" "/root/go/tt/post-rs/target/release/deps/libgeneric_array-abde40e2d526a6b6.rlib" "/root/go/tt/post-rs/target/release/deps/libtypenum-af5e86447bbf5b17.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-d2ef02247056996e.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-fde67f6c4eccaa42.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-2549d0ec992a5666.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-bb9bfc0931d5cad0.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7c0b91fdc4adc2c5.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-6ec164769e6c2957.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-95326caaef561554.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-704dba0df3717bb7.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-5f0117cb69112303.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-7a95907f1ed0cea5.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-d4aa666f8242aefc.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9abec8861e966bc7.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-863ac378b60eeb30.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fc8aa5b7d220f0a9.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0cc850f1e941238d.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-f7b445210e88e768.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-f37052492751c579.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-fd15ec7f305d48e7.rlib" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d700583125da6701.rlib" "-Wl,-Bdynamic" "-lOpenCL" "-lstdc++" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/root/go/tt/post-rs/target/release/deps/libpost.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs"
= note: /usr/bin/ld: /root/go/tt/post-rs/target/release/deps/libspacemesh_cuda-d863ca9a21509827.rlib(spacemesh.cu.o): relocation R_X86_64_PC32 against symbol `_ZTISt16invalid_argument@@GLIBCXX_3.4' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
error: could not compile
post-cbindings
(lib) due to 1 previous errorThe text was updated successfully, but these errors were encountered: