zcash / librustzcash

Rust-language assets for Zcash
Other
339 stars 252 forks source link

zcash_proof: unit test failure #292

Closed narodnik closed 10 months ago

narodnik commented 4 years ago
$ cargo update
    Updating crates.io index
    Removing addchain v0.2.0
    Updating autocfg v1.0.0 -> v1.0.1
      Adding base-x v0.2.6
    Updating base64 v0.11.0 -> v0.12.3
    Updating bellman v0.7.0 -> v0.8.0
    Removing bit-vec v0.6.2
      Adding bitvec v0.18.3
    Updating bls12_381 v0.2.0 -> v0.3.1
    Updating cc v1.0.41 -> v1.0.60
      Adding const_fn v0.4.2
    Updating crossbeam-channel v0.4.3 -> v0.4.4
      Adding discard v1.0.4
    Updating either v1.6.0 -> v1.6.1
    Updating ff v0.7.0 -> v0.8.0
    Removing ff_derive v0.7.0
      Adding funty v1.0.1
    Updating getrandom v0.1.14 -> v0.1.15
    Updating group v0.7.0 -> v0.8.0
    Updating js-sys v0.3.44 -> v0.3.45
    Updating jubjub v0.4.0 -> v0.5.1
    Updating libc v0.2.76 -> v0.2.77
    Updating libsqlite3-sys v0.18.0 -> v0.20.0
    Updating minreq v2.2.0 -> v2.2.1
      Adding once_cell v1.4.1
    Updating pairing v0.17.0 -> v0.18.0
    Updating proc-macro2 v1.0.19 -> v1.0.21
    Updating protobuf v2.14.0 -> v2.17.0
    Updating protobuf-codegen v2.14.0 -> v2.17.0
    Updating protobuf-codegen-pure v2.14.0 -> v2.17.0
      Adding radium v0.3.0
    Updating rayon v1.3.1 -> v1.4.0
    Updating rayon-core v1.7.1 -> v1.8.1
    Updating redox_users v0.3.4 -> v0.3.5
    Updating ring v0.16.12 -> v0.16.15
    Updating rusqlite v0.23.1 -> v0.24.0
    Updating rust-argon2 v0.7.0 -> v0.8.2
    Updating secp256k1 v0.17.2 -> v0.19.0
    Updating secp256k1-sys v0.1.2 -> v0.3.0
    Updating serde v1.0.115 -> v1.0.116
    Updating serde_derive v1.0.115 -> v1.0.116
      Adding sha1 v0.6.0
      Adding standback v0.2.10
      Adding stdweb v0.4.20
      Adding stdweb-derive v0.5.3
      Adding stdweb-internal-macros v0.2.9
      Adding stdweb-internal-runtime v0.1.5
    Updating subtle v2.2.3 -> v2.3.0
    Updating syn v1.0.38 -> v1.0.41
    Updating time v0.1.43 -> v0.2.20
      Adding time-macros v0.1.0
      Adding time-macros-impl v0.1.1
    Updating wasm-bindgen v0.2.67 -> v0.2.68
    Updating wasm-bindgen-backend v0.2.67 -> v0.2.68
    Updating wasm-bindgen-macro v0.2.67 -> v0.2.68
    Updating wasm-bindgen-macro-support v0.2.67 -> v0.2.68
    Updating wasm-bindgen-shared v0.2.67 -> v0.2.68
    Updating web-sys v0.3.44 -> v0.3.45
    Updating webpki v0.21.2 -> v0.21.3
      Adding wyz v0.2.0
    Updating zcash_client_backend v0.3.0 (/path/to/librustzcash/zcash_client_backend) -> v0.4.0
    Updating zcash_client_sqlite v0.1.0 (/path/to/librustzcash/zcash_client_sqlite) -> v0.2.0
    Updating zcash_primitives v0.3.0 (/path/to/librustzcash/zcash_primitives) -> v0.4.0
    Updating zcash_proofs v0.3.0 (/path/to/librustzcash/zcash_proofs) -> v0.4.0
[narodnik@leviathan zcash_proofs]$ cargo test --release
  Downloaded serde_derive v1.0.116
  Downloaded serde v1.0.116
  Downloaded syn v1.0.41
  Downloaded either v1.6.1
  Downloaded rayon v1.4.0
  Downloaded rayon-core v1.8.1
  Downloaded 6 crates (579.8 KB) in 0.80s
   Compiling autocfg v1.0.1
   Compiling libc v0.2.77
   Compiling getrandom v0.1.15
   Compiling wyz v0.2.0
   Compiling funty v1.0.1
   Compiling radium v0.3.0
   Compiling serde v1.0.116
   Compiling subtle v2.3.0
   Compiling proc-macro2 v1.0.21
   Compiling rayon-core v1.8.1
   Compiling syn v1.0.41
   Compiling either v1.6.1
   Compiling serde_derive v1.0.116
   Compiling bitvec v0.18.3
   Compiling crossbeam-utils v0.7.2
   Compiling memoffset v0.5.5
   Compiling crossbeam-epoch v0.8.2
   Compiling num-traits v0.2.12
   Compiling num-integer v0.1.43
   Compiling num-bigint v0.3.0
   Compiling rayon v1.4.0
   Compiling itertools v0.9.0
   Compiling num_cpus v1.13.0
   Compiling dirs-sys v0.3.5
   Compiling atty v0.2.14
   Compiling quote v1.0.7
   Compiling rand_core v0.5.1
   Compiling futures-cpupool v0.1.8
   Compiling directories v3.0.1
   Compiling crossbeam-channel v0.4.4
   Compiling crossbeam-queue v0.2.3
   Compiling serde_json v1.0.57
   Compiling bstr v0.2.13
   Compiling serde_cbor v0.11.1
   Compiling plotters v0.2.15
   Compiling ff v0.8.0
   Compiling rand_chacha v0.2.2
   Compiling rand_xorshift v0.2.0
   Compiling crossbeam-deque v0.7.3
   Compiling tinytemplate v1.1.0
   Compiling csv v1.1.3
   Compiling criterion-plot v0.4.3
   Compiling group v0.8.0
   Compiling rand v0.7.3
   Compiling crossbeam v0.7.3
   Compiling fpe v0.3.1
   Compiling pairing v0.18.0
   Compiling bls12_381 v0.3.1
   Compiling bellman v0.8.0
   Compiling jubjub v0.5.1
   Compiling zcash_primitives v0.4.0 (/path/to/librustzcash/zcash_primitives)
   Compiling zcash_proofs v0.4.0 (/path/to/librustzcash/zcash_proofs)
   Compiling criterion v0.3.3
    Finished release [optimized] target(s) in 3m 02s
     Running /path/to/librustzcash/target/release/deps/zcash_proofs-a2fc8ba178681560

running 19 tests
test circuit::ecc::test::test_assert_not_small_order ... ok
test circuit::ecc::test::test_edwards_doubling ... ok
test circuit::ecc::test::test_edwards_addition ... ok
test circuit::ecc::test::test_interpret ... ok
test circuit::ecc::test::test_into_edwards ... ok
test circuit::ecc::test::test_montgomery_addition ... ok
test circuit::ecc::test::test_conditionally_select ... ok
test circuit::pedersen_hash::test::test_pedersen_hash_constraints ... ok
test circuit::pedersen_hash::test::test_pedersen_hash_external_test_vectors ... ok
test circuit::ecc::test::test_edwards_fixed_base_multiplication ... ok
test circuit::ecc::test::test_edwards_multiplication ... ok
test circuit::sapling::test_input_circuit_with_bls12_381 ... ok
test circuit::sprout::test_sprout_constraints ... ignored
test constants::tests::edwards_d ... ok
test constants::tests::montgomery_a ... ok
test constants::tests::montgomery_scale ... ok
test circuit::sapling::test_input_circuit_with_bls12_381_external_test_vectors ... ok
test circuit::sapling::test_output_circuit_with_bls12_381 ... ok
test circuit::pedersen_hash::test::test_pedersen_hash ... ok

test result: ok. 18 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out

   Doc-tests zcash_proofs

running 2 tests
test src/prover.rs - prover::LocalTxProver::with_default_location (line 71) ... FAILED
test src/prover.rs - prover::LocalTxProver::new (line 37) ... FAILED

failures:

---- src/prover.rs - prover::LocalTxProver::with_default_location (line 71) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestx3MeUc/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "/tmp/rustdoctestx3MeUc/rust_out" "/tmp/rustdoctestx3MeUc/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/path/to/librustzcash/target/release/deps" "-L" "/home/narodnik/src/sw/librustzcash/target/release/deps" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/narodnik/src/sw/librustzcash/target/release/deps/libzcash_proofs-e327cca2b954103d.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libzcash_primitives-c8f4c746288adf3d.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libfpe-8bc7607e77db37d5.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libnum_bigint-e9e77fbf98538d48.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libnum_integer-6847f432b88a7a92.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libnum_traits-aee3f1fafa45b3f5.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblock_modes-0448cd1f1310d01b.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblock_padding-bd5df993dd34f031.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libaes-2dc8cae2b679a175.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libaes_soft-71cbac7d8293cc73.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblock_cipher-65e814e2ddb63ec8.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/librand-fc1240b10eca1352.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/librand_chacha-2a1124225795faa7.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libppv_lite86-e93cc851edff5372.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrypto_api_chachapoly-7e0678c8db4da94f.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrypto_api-ebb8c5961e48f1dd.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libjubjub-c67f528fe7c1b34c.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libequihash-1d1f0d93c293869b.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblake2b_simd-acc45cfb45c63f45.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libsha2-a0aed02e838b6611.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcpuid_bool-a193edd5e6195458.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libopaque_debug-8b449b62b83d54d1.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libdigest-7d728a880ab8c2a7.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblock_buffer-80d67d58b0caf864.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libgeneric_array-f1ab78635ae7990b.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libtypenum-da9e049696b3de1c.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libhex-c0d7614e47670975.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libdirectories-485e24d341865775.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libdirs_sys-afdf207c0168a756.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libbls12_381-8d4e95c62d3e9a04.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libbellman-06bd1e47494d423f.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libfutures_cpupool-da8132766e7cbf2a.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libnum_cpus-ae630a1c1ee7faf5.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam-d9288230236b40a0.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam_queue-b63fda2c97f47456.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam_channel-c0551f9344924d3c.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam_deque-4e96f243a2d5684d.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam_epoch-6ca61d9481362cbe.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libscopeguard-faa5a8cdcb3ad8bd.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libmemoffset-c95a280585ccb971.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam_utils-232dff75d778b327.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/liblazy_static-c5fc63deb17c5ae0.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libmaybe_uninit-1f396610495aaf9d.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libfutures-41f86019e357a868.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libpairing-cd0ab5c33da872de.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblake2s_simd-1125b3e0eea54bc1.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libconstant_time_eq-99b74736448e01a0.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libarrayvec-7e6558cc7aff78b5.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libarrayref-4ffff79ce1d1abdf.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libgroup-f8b3f1af0ccfcd3d.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libbyteorder-8c6fa8ccc14ae8ea.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libff-89427c1cab3a7381.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libsubtle-22bdc10a866186be.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/librand_core-9c7e03931e5ab465.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libgetrandom-0bd37a7fa2132664.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/liblibc-807a1f89ed22bfe8.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcfg_if-bbedaf43c76a5350.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libbitvec-82ec093321fc2023.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libfunty-712652395fd3aaf8.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libwyz-100561e7424b8d83.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libradium-2bb5c14f6fe2baa0.rlib" "-Wl,--start-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4f92edf10be2ad24.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-cdc7c1af9b33d121.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-cfbf194fbeb57a7c.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-a5c948e64b68f3ac.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-594b1a0e08090456.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-bfabc2db9a51439a.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-49874dc3d9d625b0.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-fbae3f55be681c84.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-71399d5c3325904b.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a317d9c38941ca7a.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-520ae2ea79c7c219.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-de7c38b82215f537.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-83164cac49d02e3f.rlib" "-Wl,--end-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-bad00ee8b60f4395.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
  = note: /usr/bin/ld: /path/to/librustzcash/target/release/deps/libzcash_proofs-e327cca2b954103d.rlib: error adding symbols: file format not recognized
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

Couldn't compile the test.
---- src/prover.rs - prover::LocalTxProver::new (line 37) stdout ----
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/rustdoctestHfcv5Z/rust_out.rust_out.7rcbfp3g-cgu.0.rcgu.o" "-o" "/tmp/rustdoctestHfcv5Z/rust_out" "/tmp/rustdoctestHfcv5Z/rust_out.33dyzt1ekirinwy8.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/path/to/librustzcash/target/release/deps" "-L" "/home/narodnik/src/sw/librustzcash/target/release/deps" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/narodnik/src/sw/librustzcash/target/release/deps/libzcash_proofs-e327cca2b954103d.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libzcash_primitives-c8f4c746288adf3d.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libfpe-8bc7607e77db37d5.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libnum_bigint-e9e77fbf98538d48.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libnum_integer-6847f432b88a7a92.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libnum_traits-aee3f1fafa45b3f5.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblock_modes-0448cd1f1310d01b.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblock_padding-bd5df993dd34f031.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libaes-2dc8cae2b679a175.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libaes_soft-71cbac7d8293cc73.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblock_cipher-65e814e2ddb63ec8.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/librand-fc1240b10eca1352.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/librand_chacha-2a1124225795faa7.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libppv_lite86-e93cc851edff5372.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrypto_api_chachapoly-7e0678c8db4da94f.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrypto_api-ebb8c5961e48f1dd.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libjubjub-c67f528fe7c1b34c.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libequihash-1d1f0d93c293869b.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblake2b_simd-acc45cfb45c63f45.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libsha2-a0aed02e838b6611.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcpuid_bool-a193edd5e6195458.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libopaque_debug-8b449b62b83d54d1.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libdigest-7d728a880ab8c2a7.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblock_buffer-80d67d58b0caf864.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libgeneric_array-f1ab78635ae7990b.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libtypenum-da9e049696b3de1c.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libhex-c0d7614e47670975.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libdirectories-485e24d341865775.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libdirs_sys-afdf207c0168a756.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libbls12_381-8d4e95c62d3e9a04.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libbellman-06bd1e47494d423f.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libfutures_cpupool-da8132766e7cbf2a.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libnum_cpus-ae630a1c1ee7faf5.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam-d9288230236b40a0.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam_queue-b63fda2c97f47456.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam_channel-c0551f9344924d3c.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam_deque-4e96f243a2d5684d.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam_epoch-6ca61d9481362cbe.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libscopeguard-faa5a8cdcb3ad8bd.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libmemoffset-c95a280585ccb971.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcrossbeam_utils-232dff75d778b327.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/liblazy_static-c5fc63deb17c5ae0.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libmaybe_uninit-1f396610495aaf9d.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libfutures-41f86019e357a868.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libpairing-cd0ab5c33da872de.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libblake2s_simd-1125b3e0eea54bc1.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libconstant_time_eq-99b74736448e01a0.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libarrayvec-7e6558cc7aff78b5.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libarrayref-4ffff79ce1d1abdf.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libgroup-f8b3f1af0ccfcd3d.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libbyteorder-8c6fa8ccc14ae8ea.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libff-89427c1cab3a7381.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libsubtle-22bdc10a866186be.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/librand_core-9c7e03931e5ab465.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libgetrandom-0bd37a7fa2132664.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/liblibc-807a1f89ed22bfe8.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libcfg_if-bbedaf43c76a5350.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libbitvec-82ec093321fc2023.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libfunty-712652395fd3aaf8.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libwyz-100561e7424b8d83.rlib" "/home/narodnik/src/sw/librustzcash/target/release/deps/libradium-2bb5c14f6fe2baa0.rlib" "-Wl,--start-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4f92edf10be2ad24.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-cdc7c1af9b33d121.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-cfbf194fbeb57a7c.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-a5c948e64b68f3ac.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-594b1a0e08090456.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-bfabc2db9a51439a.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-49874dc3d9d625b0.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-fbae3f55be681c84.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-71399d5c3325904b.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a317d9c38941ca7a.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-520ae2ea79c7c219.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-de7c38b82215f537.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-83164cac49d02e3f.rlib" "-Wl,--end-group" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-bad00ee8b60f4395.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
  = note: /usr/bin/ld: /path/to/librustzcash/target/release/deps/libzcash_proofs-e327cca2b954103d.rlib: error adding symbols: file format not recognized
          collect2: error: ld returned 1 exit status

error: aborting due to previous error

Couldn't compile the test.

failures:
    src/prover.rs - prover::LocalTxProver::new (line 37)
    src/prover.rs - prover::LocalTxProver::with_default_location (line 71)

test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--doc'

Arch Linux. Repo and depends fully updated.

str4d commented 4 years ago

Could you run a cargo clean and then re-run the failed tests with cargo test --release --doc?

narodnik commented 4 years ago

Yes same failure.

narodnik commented 4 years ago

Rust and Cargo are 1.46.0

dspearson commented 4 years ago

I was unable to reproduce with a fresh clone and build.

str4d commented 3 years ago

@narodnik could you retest this on both current master and #334, to see if it is affected by any of the dependency updates since this issue was opened?

daira commented 10 months ago

This issue is stale.