Open eleven-pixel opened 4 months ago
.......... cargo:rustc-link-lib=static=scryptjane cargo:rustc-link-search=native=/home/nvbb/post-rs/target/release/build/scrypt-jane-sys-141c1c801efb020f/out/lib cargo:root=/home/nvbb/post-rs/target/release/build/scrypt-jane-sys-141c1c801efb020f/out cargo:include=/home/nvbb/post-rs/target/release/build/scrypt-jane-sys-141c1c801efb020f/out/include cargo:rerun-if-changed=wrapper.h cargo:rerun-if-env-changed=TARGET cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_aarch64-unknown-linux-gnu cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_aarch64_unknown_linux_gnu cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
--- 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...
cast
--> scrypt-ocl/src/lib.rs:39:14= note:
#[warn(unused_macros)]
on by defaultN
is never read --> scrypt-ocl/src/lib.rs:17:5= 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> { | ^^^^^^^^^^^^^^^^^^^^N
should have a snake case name --> scrypt-ocl/src/lib.rs:17:5n
= note:
#[warn(non_snake_case)]
on by defaultwarning:
scrypt-ocl
(lib) generated 8 warnings error: linking withcc
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 statuserror: could not compile
post-cbindings
(lib) due to 1 previous error