Processing: [default: loading data] [tezos-rust-libs.1.1: dl] [tezos-rust-libs.1.1: extract] -> retrieved tezos-rust-libs.1.1 (https://opam.ocaml.org/cache) [tezos-rust-libs: mkdir .cargo] + /usr/bin/mkdir ".cargo" (CWD=/home/opam/.opam/default/.opam-switch/build/tezos-rust-libs.1.1) [tezos-rust-libs: mv cargo-config] + /usr/bin/mv "cargo-config" ".cargo/config" (CWD=/home/opam/.opam/default/.opam-switch/build/tezos-rust-libs.1.1) [tezos-rust-libs: cargo build] + /usr/bin/cargo "build" "--target-dir" "target" "--release" (CWD=/home/opam/.opam/default/.opam-switch/build/tezos-rust-libs.1.1) - warning: `/home/opam/.opam/default/.opam-switch/build/tezos-rust-libs.1.1/.cargo/config` is deprecated in favor of `config.toml` - note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` - Compiling autocfg v1.0.1 - Compiling cfg-if v0.1.10 - Compiling libc v0.2.83 - Compiling byteorder v1.4.2 - Compiling getrandom v0.1.15 - Compiling proc-macro2 v1.0.24 - Compiling typenum v1.12.0 - Compiling unicode-xid v0.2.1 - Compiling syn v1.0.60 - Compiling maybe-uninit v2.0.0 - Compiling lazy_static v1.4.0 - Compiling ppv-lite86 v0.2.10 - Compiling constant_time_eq v0.1.5 - Compiling arrayref v0.3.6 - Compiling opaque-debug v0.2.3 - Compiling arrayvec v0.5.2 - Compiling scopeguard v1.1.0 - Compiling byte-tools v0.3.1 - Compiling crunchy v0.1.6 - Compiling log v0.4.14 - Compiling crypto_api v0.2.2 - Compiling futures v0.1.30 - Compiling cfg-if v1.0.0 - Compiling fake-simd v0.1.2 - Compiling bit-vec v0.4.4 - Compiling hex v0.3.2 - Compiling block-padding v0.1.5 - Compiling crypto_api_chachapoly v0.2.2 - Compiling num-traits v0.2.14 - Compiling num-integer v0.1.44 - Compiling num-bigint v0.2.6 - Compiling crossbeam-utils v0.7.2 - Compiling memoffset v0.5.6 - Compiling crossbeam-epoch v0.8.2 - Compiling blake2b_simd v0.5.11 - Compiling blake2s_simd v0.5.11 - Compiling bigint v4.4.3 - Compiling quote v1.0.8 - Compiling num_cpus v1.13.0 - Compiling directories v1.0.2 - Compiling zcash_history v0.2.0 - Compiling rand_core v0.5.1 - Compiling crossbeam-queue v0.2.3 - Compiling crossbeam-channel v0.4.4 - Compiling generic-array v0.12.3 - Compiling rand_chacha v0.2.2 - Compiling rand_xorshift v0.2.0 - Compiling crossbeam-deque v0.7.3 - Compiling rand v0.7.3 - Compiling futures-cpupool v0.1.8 - Compiling block-cipher-trait v0.6.2 - Compiling block-buffer v0.7.3 - Compiling digest v0.8.1 - Compiling aes-soft v0.3.3 - Compiling sha2 v0.8.2 - Compiling crossbeam v0.7.3 - Compiling aes v0.3.2 - Compiling fpe v0.2.0 - Compiling ff_derive v0.6.0 - Compiling ff v0.6.0 - Compiling group v0.6.0 - Compiling pairing v0.16.0 - Compiling zcash_primitives v0.2.0 - Compiling bellman v0.6.0 - Compiling rustc-bls12-381 v0.8.1 (/home/opam/.opam/default/.opam-switch/build/tezos-rust-libs.1.1/rustc-bls12-381) - Compiling zcash_proofs v0.2.0 - Compiling librustzcash v0.2.0 (/home/opam/.opam/default/.opam-switch/build/tezos-rust-libs.1.1/librustzcash) - warning: lint `intra_doc_link_resolution_failure` has been removed: use `rustdoc::broken_intra_doc_links` instead - --> librustzcash/src/rustzcash.rs:6:9 - | - 6 | #![deny(intra_doc_link_resolution_failure)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - | - = note: `#[warn(renamed_and_removed_lints)]` on by default - - warning: creating a shared reference to mutable static is discouraged - --> librustzcash/src/rustzcash.rs:659:18 - | - 659 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), - | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see - = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives - = note: `#[warn(static_mut_refs)]` on by default - - warning: creating a shared reference to mutable static is discouraged - --> librustzcash/src/rustzcash.rs:704:18 - | - 704 | unsafe { SAPLING_OUTPUT_VK.as_ref() }.unwrap(), - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see - = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives - - warning: creating a shared reference to mutable static is discouraged - --> librustzcash/src/rustzcash.rs:776:18 - | - 776 | unsafe { &SPROUT_GROTH16_PARAMS_PATH } - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see - = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives - help: use `&raw const` instead to create a raw pointer - | - 776 | unsafe { &raw const SPROUT_GROTH16_PARAMS_PATH } - | ~~~~~~~~~~ - - warning: creating a shared reference to mutable static is discouraged - --> librustzcash/src/rustzcash.rs:846:18 - | - 846 | unsafe { SPROUT_GROTH16_VK.as_ref() }.expect("parameters should have been initialized"), - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see - = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives - - warning: creating a shared reference to mutable static is discouraged - --> librustzcash/src/rustzcash.rs:887:18 - | - 887 | unsafe { SAPLING_OUTPUT_PARAMS.as_ref() }.unwrap(), - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see - = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives - - warning: creating a shared reference to mutable static is discouraged - --> librustzcash/src/rustzcash.rs:1049:22 - | - 1049 | unsafe { SAPLING_SPEND_PARAMS.as_ref() }.unwrap(), - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see - = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives - - warning: creating a shared reference to mutable static is discouraged - --> librustzcash/src/rustzcash.rs:1050:22 - | - 1050 | unsafe { SAPLING_SPEND_VK.as_ref() }.unwrap(), - | ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static - | - = note: for more information, see - = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives - - warning: `librustzcash` (lib) generated 8 warnings - Finished `release` profile [optimized] target(s) in 13.95s - warning: the following packages contain code that will be rejected by a future version of Rust: bigint v4.4.3 - note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` -> compiled tezos-rust-libs.1.1 -> installed tezos-rust-libs.1.1