bdrck 0.11.23

Generic common foundational utilities.
Documentation
Build #125987 2018-11-08T04:09:33.951673+00:00
# rustc version
rustc 1.31.0-nightly (78ff609d7 2018-10-19)
# docs.rs version
cratesfyi 0.6.0 (c695234 2018-11-02)

# build log
Updating crates.io index
Downloading crates ...
Downloaded bdrck v0.11.23
Fresh semver-parser v0.7.0
Fresh version_check v0.1.5
Fresh void v1.0.2
Fresh stable_deref_trait v1.1.1
Fresh libc v0.2.43
Fresh nodrop v0.1.12
Fresh cc v1.0.25
Fresh cfg-if v0.1.6
Fresh byteorder v1.2.7
Fresh memoffset v0.2.1
Fresh glob v0.2.11
Fresh rand_core v0.3.0
Fresh crossbeam-utils v0.5.0
Fresh scopeguard v0.3.3
Fresh lazy_static v1.2.0
Fresh unicode-xid v0.1.0
Fresh lazycell v1.2.0
Fresh unicode-width v0.1.5
Fresh quick-error v1.2.2
Fresh futures v0.1.25
Fresh slab v0.4.1
Fresh pkg-config v0.3.14
Fresh termcolor v1.0.4
Fresh ansi_term v0.11.0
Fresh strsim v0.7.0
Fresh vec_map v0.8.1
Fresh foreign-types-shared v0.1.1
Fresh fnv v1.0.6
Fresh build_const v0.2.1
Fresh matches v0.1.8
Fresh itoa v0.4.3
Fresh peeking_take_while v0.1.2
Fresh string v0.1.1
Fresh siphasher v0.2.3
Fresh unicode-normalization v0.1.7
Fresh try-lock v0.2.2
Fresh bitflags v1.0.4
Fresh indexmap v1.0.2
Fresh openssl-probe v0.1.2
Fresh percent-encoding v1.0.1
Fresh rustc-demangle v0.1.9
Fresh safemem v0.3.0
Fresh ucd-util v0.1.2
Fresh adler32 v1.0.3
Fresh dtoa v0.4.3
Fresh utf8-ranges v1.0.2
Fresh data-encoding v2.1.1
Fresh semver v0.9.0
Fresh unreachable v1.0.0
Fresh iovec v0.1.2
Fresh num_cpus v1.8.0
Fresh time v0.1.40
Fresh errno v0.2.4
Fresh owning_ref v0.3.3
Fresh memchr v1.0.2
Fresh atty v0.2.11
Fresh which v1.0.5
Fresh arrayvec v0.4.7
Fresh net2 v0.2.33
Fresh log v0.4.6
Fresh rand_core v0.2.2
Compiling regex-syntax v0.6.3
Fresh thread_local v0.3.6
Running `rustc --crate-name regex_syntax /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.6.3/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=5509b6132b38b48e -C extra-filename=-5509b6132b38b48e --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern ucd_util=/home/cratesfyi/cratesfyi/debug/deps/libucd_util-ba6e1ce84743453a.rlib --cap-lints allow`
Fresh proc-macro2 v0.3.5
Fresh textwrap v0.10.0
Fresh humantime v1.1.1
Fresh tokio-executor v0.1.5
Fresh foreign-types v0.3.2
Fresh unicode-bidi v0.3.4
Fresh base64 v0.9.3
Fresh rustc_version v0.2.3
Fresh smallvec v0.6.5
Fresh bytes v0.4.10
Fresh futures-cpupool v0.1.8
Fresh lock_api v0.1.4
Fresh nom v3.2.1
Fresh crossbeam-epoch v0.5.2
Fresh mio v0.6.16
Fresh want v0.0.6
Fresh rand v0.5.5
Fresh quote v0.5.2
Fresh clap v2.32.0
Fresh tokio-timer v0.2.7
Fresh tokio-current-thread v0.1.3
Fresh proc-macro2 v0.4.20
Fresh idna v0.1.5
Fresh httparse v1.3.3
Fresh num-traits v0.2.6
Fresh serde v1.0.80
Fresh ryu v0.2.6
Fresh encoding_rs v0.8.10
Fresh memchr v2.1.1
Fresh unicase v1.4.2
Fresh unicase v2.2.0
Fresh uuid v0.7.1
Fresh tokio-io v0.1.10
Fresh http v0.1.13
Fresh cexpr v0.2.3
Fresh crossbeam-deque v0.6.1
Fresh libloading v0.5.0
Fresh backtrace-sys v0.1.24
Fresh mio-uds v0.6.7
Fresh quote v0.6.9
Fresh openssl-sys v0.9.39
Fresh crc v1.8.1
Fresh url v1.7.2
Fresh num-traits v0.1.43
Fresh num-integer v0.1.39
Fresh serde_json v1.0.32
Fresh aho-corasick v0.6.9
Fresh phf_shared v0.7.23
Fresh mime v0.3.12
Fresh tokio-codec v0.1.1
Fresh h2 v0.1.13
Fresh tokio-threadpool v0.1.8
Fresh clang-sys v0.23.0
Fresh backtrace v0.3.9
Fresh syn v0.15.18
Fresh openssl v0.10.15
Fresh libflate v0.1.18
Fresh serde_urlencoded v0.5.3
Fresh rmp v0.8.7
Fresh chrono v0.4.6
Fresh parking_lot_core v0.3.1
Fresh phf_generator v0.7.23
Fresh phf v0.7.23
Fresh tokio-fs v0.1.4
Fresh synstructure v0.10.1
Fresh serde_derive v1.0.80
Fresh native-tls v0.2.2
Fresh rmp-serde v0.13.7
Fresh parking_lot v0.6.4
Fresh phf_codegen v0.7.23
Fresh failure_derive v0.1.3
Fresh tokio-reactor v0.1.6
Fresh failure v0.1.3
Fresh tokio-uds v0.2.3
Fresh tokio-tcp v0.1.2
Fresh tokio-udp v0.1.2
Fresh tokio v0.1.11
Fresh mime_guess v2.0.0-alpha.6
Checking hyper v0.12.14
Running `rustc --crate-name hyper /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.12.14/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 --cfg 'feature="__internal_flaky_tests"' --cfg 'feature="default"' --cfg 'feature="futures-cpupool"' --cfg 'feature="net2"' --cfg 'feature="runtime"' --cfg 'feature="tokio"' --cfg 'feature="tokio-executor"' --cfg 'feature="tokio-reactor"' --cfg 'feature="tokio-tcp"' --cfg 'feature="tokio-threadpool"' --cfg 'feature="tokio-timer"' -C metadata=d8dca50d3b862f1e -C extra-filename=-d8dca50d3b862f1e --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bytes=/home/cratesfyi/cratesfyi/debug/deps/libbytes-6a58c48b1ae77fd5.rmeta --extern futures_cpupool=/home/cratesfyi/cratesfyi/debug/deps/libfutures_cpupool-cad59c36c0e3d3b5.rmeta --extern futures=/home/cratesfyi/cratesfyi/debug/deps/libfutures-9057e17f7a099b13.rmeta --extern h2=/home/cratesfyi/cratesfyi/debug/deps/libh2-8f52d7334416d519.rmeta --extern http=/home/cratesfyi/cratesfyi/debug/deps/libhttp-449cd5f3fa176817.rmeta --extern httparse=/home/cratesfyi/cratesfyi/debug/deps/libhttparse-40c87cc47b98aaaf.rmeta --extern iovec=/home/cratesfyi/cratesfyi/debug/deps/libiovec-6443793698791760.rmeta --extern itoa=/home/cratesfyi/cratesfyi/debug/deps/libitoa-f1c1ff23df458f35.rmeta --extern log=/home/cratesfyi/cratesfyi/debug/deps/liblog-e6ddd0287626cd1d.rmeta --extern net2=/home/cratesfyi/cratesfyi/debug/deps/libnet2-ad8dd6bc1f8a706b.rmeta --extern time=/home/cratesfyi/cratesfyi/debug/deps/libtime-86936d8f913d458b.rmeta --extern tokio=/home/cratesfyi/cratesfyi/debug/deps/libtokio-f70f3c23af105c65.rmeta --extern tokio_executor=/home/cratesfyi/cratesfyi/debug/deps/libtokio_executor-58a13e093de17ad8.rmeta --extern tokio_io=/home/cratesfyi/cratesfyi/debug/deps/libtokio_io-d59cef5cc9be0c6e.rmeta --extern tokio_reactor=/home/cratesfyi/cratesfyi/debug/deps/libtokio_reactor-63ac308c4d123c3d.rmeta --extern tokio_tcp=/home/cratesfyi/cratesfyi/debug/deps/libtokio_tcp-7b581132966bbad5.rmeta --extern tokio_threadpool=/home/cratesfyi/cratesfyi/debug/deps/libtokio_threadpool-e2d4f2edce1c6f84.rmeta --extern tokio_timer=/home/cratesfyi/cratesfyi/debug/deps/libtokio_timer-705cb298f3a52962.rmeta --extern want=/home/cratesfyi/cratesfyi/debug/deps/libwant-47388f550c833224.rmeta --cap-lints allow`
Checking hyper-tls v0.3.1
Running `rustc --crate-name hyper_tls /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-tls-0.3.1/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=1ccbf999553843e8 -C extra-filename=-1ccbf999553843e8 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bytes=/home/cratesfyi/cratesfyi/debug/deps/libbytes-6a58c48b1ae77fd5.rmeta --extern futures=/home/cratesfyi/cratesfyi/debug/deps/libfutures-9057e17f7a099b13.rmeta --extern hyper=/home/cratesfyi/cratesfyi/debug/deps/libhyper-d8dca50d3b862f1e.rmeta --extern native_tls=/home/cratesfyi/cratesfyi/debug/deps/libnative_tls-285582d1a5678657.rmeta --extern tokio_io=/home/cratesfyi/cratesfyi/debug/deps/libtokio_io-d59cef5cc9be0c6e.rmeta --cap-lints allow`
Checking reqwest v0.9.4
Running `rustc --crate-name reqwest /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/reqwest-0.9.4/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 --cfg 'feature="default"' -C metadata=fe1ed95c465d9501 -C extra-filename=-fe1ed95c465d9501 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern base64=/home/cratesfyi/cratesfyi/debug/deps/libbase64-737a51a057cd8f08.rmeta --extern bytes=/home/cratesfyi/cratesfyi/debug/deps/libbytes-6a58c48b1ae77fd5.rmeta --extern encoding_rs=/home/cratesfyi/cratesfyi/debug/deps/libencoding_rs-4e955e228c8864a5.rmeta --extern futures=/home/cratesfyi/cratesfyi/debug/deps/libfutures-9057e17f7a099b13.rmeta --extern http=/home/cratesfyi/cratesfyi/debug/deps/libhttp-449cd5f3fa176817.rmeta --extern hyper=/home/cratesfyi/cratesfyi/debug/deps/libhyper-d8dca50d3b862f1e.rmeta --extern hyper_tls=/home/cratesfyi/cratesfyi/debug/deps/libhyper_tls-1ccbf999553843e8.rmeta --extern libflate=/home/cratesfyi/cratesfyi/debug/deps/liblibflate-6d7474065084222f.rmeta --extern log=/home/cratesfyi/cratesfyi/debug/deps/liblog-e6ddd0287626cd1d.rmeta --extern mime=/home/cratesfyi/cratesfyi/debug/deps/libmime-9dff4cada3cdb284.rmeta --extern mime_guess=/home/cratesfyi/cratesfyi/debug/deps/libmime_guess-1c22d4cead056706.rmeta --extern native_tls=/home/cratesfyi/cratesfyi/debug/deps/libnative_tls-285582d1a5678657.rmeta --extern serde=/home/cratesfyi/cratesfyi/debug/deps/libserde-657db7ff46df5f4f.rmeta --extern serde_json=/home/cratesfyi/cratesfyi/debug/deps/libserde_json-325654349d90eb80.rmeta --extern serde_urlencoded=/home/cratesfyi/cratesfyi/debug/deps/libserde_urlencoded-020474c478e144c7.rmeta --extern tokio=/home/cratesfyi/cratesfyi/debug/deps/libtokio-f70f3c23af105c65.rmeta --extern tokio_io=/home/cratesfyi/cratesfyi/debug/deps/libtokio_io-d59cef5cc9be0c6e.rmeta --extern url=/home/cratesfyi/cratesfyi/debug/deps/liburl-8ae5e1b441825c5c.rmeta --extern uuid=/home/cratesfyi/cratesfyi/debug/deps/libuuid-fc670417c75ea028.rmeta --cap-lints allow`
Compiling regex v1.0.6
Running `rustc --crate-name regex /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-1.0.6/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=27bb5ec9ee9468d9 -C extra-filename=-27bb5ec9ee9468d9 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern aho_corasick=/home/cratesfyi/cratesfyi/debug/deps/libaho_corasick-79907c52422784d5.rlib --extern memchr=/home/cratesfyi/cratesfyi/debug/deps/libmemchr-26892b89f7099e91.rlib --extern regex_syntax=/home/cratesfyi/cratesfyi/debug/deps/libregex_syntax-5509b6132b38b48e.rlib --extern thread_local=/home/cratesfyi/cratesfyi/debug/deps/libthread_local-640db2bb36e802b8.rlib --extern utf8_ranges=/home/cratesfyi/cratesfyi/debug/deps/libutf8_ranges-0763225051f9e87d.rlib --cap-lints allow --cfg regex_runtime_teddy_ssse3 --cfg regex_runtime_teddy_avx2`
Compiling env_logger v0.5.13
Running `rustc --crate-name env_logger /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.5.13/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="regex"' -C metadata=d28fe29a2a0f5321 -C extra-filename=-d28fe29a2a0f5321 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern atty=/home/cratesfyi/cratesfyi/debug/deps/libatty-48273dab0e4a23c6.rlib --extern humantime=/home/cratesfyi/cratesfyi/debug/deps/libhumantime-85e6d17b27efbfd6.rlib --extern log=/home/cratesfyi/cratesfyi/debug/deps/liblog-b8ab4fcd4206a61b.rlib --extern regex=/home/cratesfyi/cratesfyi/debug/deps/libregex-27bb5ec9ee9468d9.rlib --extern termcolor=/home/cratesfyi/cratesfyi/debug/deps/libtermcolor-49626ce0ac3df7d6.rlib --cap-lints allow`
Compiling bindgen v0.37.4
Running `rustc --crate-name bindgen /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.37.4/src/lib.rs --color never --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="env_logger"' --cfg 'feature="log"' --cfg 'feature="logging"' -C metadata=80ea20b6bccdfbfc -C extra-filename=-80ea20b6bccdfbfc --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern cexpr=/home/cratesfyi/cratesfyi/debug/deps/libcexpr-b5a94aae710e53e2.rlib --extern cfg_if=/home/cratesfyi/cratesfyi/debug/deps/libcfg_if-8798197e112d83f7.rlib --extern clang_sys=/home/cratesfyi/cratesfyi/debug/deps/libclang_sys-857ffde750a97cf0.rlib --extern clap=/home/cratesfyi/cratesfyi/debug/deps/libclap-bc359c12c086325c.rlib --extern env_logger=/home/cratesfyi/cratesfyi/debug/deps/libenv_logger-d28fe29a2a0f5321.rlib --extern lazy_static=/home/cratesfyi/cratesfyi/debug/deps/liblazy_static-ddcd2b707761f84c.rlib --extern log=/home/cratesfyi/cratesfyi/debug/deps/liblog-b8ab4fcd4206a61b.rlib --extern peeking_take_while=/home/cratesfyi/cratesfyi/debug/deps/libpeeking_take_while-e02b4f9718d5eea2.rlib --extern proc_macro2=/home/cratesfyi/cratesfyi/debug/deps/libproc_macro2-14c67ae71e0d56b7.rlib --extern quote=/home/cratesfyi/cratesfyi/debug/deps/libquote-773211bcb5bb0ad8.rlib --extern regex=/home/cratesfyi/cratesfyi/debug/deps/libregex-27bb5ec9ee9468d9.rlib --extern which=/home/cratesfyi/cratesfyi/debug/deps/libwhich-4a2a0e79cb0976ff.rlib --cap-lints allow -L native=/home/cratesfyi/cratesfyi/debug/build/libloading-4955eac093363ca4/out`
Compiling libsodium-sys v0.1.0
Running `rustc --crate-name build_script_build /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/libsodium-sys-0.1.0/build.rs --color never --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=c01aea7dd26834a9 -C extra-filename=-c01aea7dd26834a9 --out-dir /home/cratesfyi/cratesfyi/debug/build/libsodium-sys-c01aea7dd26834a9 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern bindgen=/home/cratesfyi/cratesfyi/debug/deps/libbindgen-80ea20b6bccdfbfc.rlib --extern pkg_config=/home/cratesfyi/cratesfyi/debug/deps/libpkg_config-1c73317b5aba746a.rlib --cap-lints allow -L native=/home/cratesfyi/cratesfyi/debug/build/libloading-4955eac093363ca4/out`
Running `/home/cratesfyi/cratesfyi/debug/build/libsodium-sys-c01aea7dd26834a9/build-script-build`
Running `rustc --crate-name libsodium_sys /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/libsodium-sys-0.1.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 -C metadata=a61d41e3179616c0 -C extra-filename=-a61d41e3179616c0 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-4b31dc9d4d41372a.rmeta --cap-lints allow -L native=/usr/lib/x86_64-linux-gnu -l sodium`
Checking sodiumoxide v0.1.0
Running `rustc --crate-name sodiumoxide /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="serde"' --cfg 'feature="std"' -C metadata=fb203fdb2f668c13 -C extra-filename=-fb203fdb2f668c13 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-4b31dc9d4d41372a.rmeta --extern libsodium_sys=/home/cratesfyi/cratesfyi/debug/deps/liblibsodium_sys-a61d41e3179616c0.rmeta --extern serde=/home/cratesfyi/cratesfyi/debug/deps/libserde-657db7ff46df5f4f.rmeta --cap-lints allow -L native=/usr/lib/x86_64-linux-gnu`
error[E0432]: unresolved imports `ffi::crypto_stream_xchacha20`, `ffi::crypto_stream_xchacha20_xor`, `ffi::crypto_stream_xchacha20_xor_ic`, `ffi::crypto_stream_xchacha20_KEYBYTES`, `ffi::crypto_stream_xchacha20_NONCEBYTES`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/xchacha20.rs:5:11
|
5 | use ffi::{crypto_stream_xchacha20,
|           ^^^^^^^^^^^^^^^^^^^^^^^ no `crypto_stream_xchacha20` in the root. Did you mean to use `crypto_stream_chacha20`?
6 |           crypto_stream_xchacha20_xor,
|           ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `crypto_stream_xchacha20_xor` in the root. Did you mean to use `crypto_stream_chacha20_xor`?
7 |           crypto_stream_xchacha20_xor_ic,
|           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `crypto_stream_xchacha20_xor_ic` in the root. Did you mean to use `crypto_stream_chacha20_xor_ic`?
8 |           crypto_stream_xchacha20_KEYBYTES,
|           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `crypto_stream_xchacha20_KEYBYTES` in the root. Did you mean to use `crypto_stream_chacha20_KEYBYTES`?
9 |           crypto_stream_xchacha20_NONCEBYTES};
|           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `crypto_stream_xchacha20_NONCEBYTES` in the root. Did you mean to use `crypto_stream_chacha20_NONCEBYTES`?

error[E0425]: cannot find value `crypto_kx_PUBLICKEYBYTES` in module `ffi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:6:40
|
6 | pub const PUBLICKEYBYTES: usize = ffi::crypto_kx_PUBLICKEYBYTES as usize;
|                                        ^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `crypto_box_PUBLICKEYBYTES`?

error[E0425]: cannot find value `crypto_kx_SECRETKEYBYTES` in module `ffi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:9:40
|
9 | pub const SECRETKEYBYTES: usize = ffi::crypto_kx_SECRETKEYBYTES as usize;
|                                        ^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `crypto_box_SECRETKEYBYTES`?

error[E0425]: cannot find value `crypto_kx_SEEDBYTES` in module `ffi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:12:35
|
12 | pub const SEEDBYTES: usize = ffi::crypto_kx_SEEDBYTES as usize;
|                                   ^^^^^^^^^^^^^^^^^^^ did you mean `crypto_box_SEEDBYTES`?

error[E0425]: cannot find value `crypto_kx_SESSIONKEYBYTES` in module `ffi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:15:41
|
15 | pub const SESSIONKEYBYTES: usize = ffi::crypto_kx_SESSIONKEYBYTES as usize;
|                                         ^^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `crypto_box_SECRETKEYBYTES`?

error[E0425]: cannot find function `crypto_kx_keypair` in module `ffi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:55:14
|
55 |         ffi::crypto_kx_keypair(pk.0.as_mut_ptr(), sk.0.as_mut_ptr());
|              ^^^^^^^^^^^^^^^^^ did you mean `crypto_box_keypair`?

error[E0425]: cannot find function `crypto_kx_seed_keypair` in module `ffi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:66:14
|
66 |         ffi::crypto_kx_seed_keypair(pk.0.as_mut_ptr(), sk.0.as_mut_ptr(), seed.0.as_ptr());
|              ^^^^^^^^^^^^^^^^^^^^^^ did you mean `crypto_box_seed_keypair`?

error[E0425]: cannot find function `crypto_kx_server_session_keys` in module `ffi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:84:18
|
84 |             ffi::crypto_kx_server_session_keys(
|                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi`

error[E0425]: cannot find function `crypto_kx_client_session_keys` in module `ffi`
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:112:18
|
112 |             ffi::crypto_kx_client_session_keys(
|                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `ffi`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:20
|
32 |               memcmp(&self.0, &other.0)
|                      ^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/xchacha20.rs:11:1
|
11 | / stream_module!(crypto_stream_xchacha20,
12 | |                crypto_stream_xchacha20_xor,
13 | |                crypto_stream_xchacha20_xor_ic,
14 | |                crypto_stream_xchacha20_KEYBYTES,
15 | |                crypto_stream_xchacha20_NONCEBYTES);
| |___________________________________________________- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:29
|
32 |               memcmp(&self.0, &other.0)
|                               ^^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/xchacha20.rs:11:1
|
11 | / stream_module!(crypto_stream_xchacha20,
12 | |                crypto_stream_xchacha20_xor,
13 | |                crypto_stream_xchacha20_xor_ic,
14 | |                crypto_stream_xchacha20_KEYBYTES,
15 | |                crypto_stream_xchacha20_NONCEBYTES);
| |___________________________________________________- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:20
|
32 |               memcmp(&self.0, &other.0)
|                      ^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/xchacha20.rs:11:1
|
11 | / stream_module!(crypto_stream_xchacha20,
12 | |                crypto_stream_xchacha20_xor,
13 | |                crypto_stream_xchacha20_xor_ic,
14 | |                crypto_stream_xchacha20_KEYBYTES,
15 | |                crypto_stream_xchacha20_NONCEBYTES);
| |___________________________________________________- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:29
|
32 |               memcmp(&self.0, &other.0)
|                               ^^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/xchacha20.rs:11:1
|
11 | / stream_module!(crypto_stream_xchacha20,
12 | |                crypto_stream_xchacha20_xor,
13 | |                crypto_stream_xchacha20_xor_ic,
14 | |                crypto_stream_xchacha20_KEYBYTES,
15 | |                crypto_stream_xchacha20_NONCEBYTES);
| |___________________________________________________- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:20
|
32 |               memcmp(&self.0, &other.0)
|                      ^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:17:1
|
17 | / new_type! {
18 | |     /// `PublicKey` for key exchanges.
19 | |     public PublicKey(PUBLICKEYBYTES);
20 | | }
| |_- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:29
|
32 |               memcmp(&self.0, &other.0)
|                               ^^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:17:1
|
17 | / new_type! {
18 | |     /// `PublicKey` for key exchanges.
19 | |     public PublicKey(PUBLICKEYBYTES);
20 | | }
| |_- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:20
|
32 |               memcmp(&self.0, &other.0)
|                      ^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:22:1
|
22 | / new_type! {
23 | |     /// `SecretKey` for key exchanges.
24 | |     ///
25 | |     /// When a `SecretKey` goes out of scope its contents will be zeroed out
26 | |     secret SecretKey(SECRETKEYBYTES);
27 | | }
| |_- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:29
|
32 |               memcmp(&self.0, &other.0)
|                               ^^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:22:1
|
22 | / new_type! {
23 | |     /// `SecretKey` for key exchanges.
24 | |     ///
25 | |     /// When a `SecretKey` goes out of scope its contents will be zeroed out
26 | |     secret SecretKey(SECRETKEYBYTES);
27 | | }
| |_- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:20
|
32 |               memcmp(&self.0, &other.0)
|                      ^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:29:1
|
29 | / new_type! {
30 | |     /// `Seed` that can be used for keypair generation
31 | |     ///
32 | |     /// The `Seed` is used by `keypair_from_seed()` to generate a secret and
...  |
36 | |     secret Seed(SEEDBYTES);
37 | | }
| |_- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:29
|
32 |               memcmp(&self.0, &other.0)
|                               ^^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:29:1
|
29 | / new_type! {
30 | |     /// `Seed` that can be used for keypair generation
31 | |     ///
32 | |     /// The `Seed` is used by `keypair_from_seed()` to generate a secret and
...  |
36 | |     secret Seed(SEEDBYTES);
37 | | }
| |_- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:20
|
32 |               memcmp(&self.0, &other.0)
|                      ^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:39:1
|
39 | / new_type! {
40 | |     /// `SessionKey` is returned by `client_session_keys` and `server_session_keys` and is the
41 | |     /// exchanged secret between the client and server.
42 | |     secret SessionKey(SESSIONKEYBYTES);
43 | | }
| |_- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:32:29
|
32 |               memcmp(&self.0, &other.0)
|                               ^^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:39:1
|
39 | / new_type! {
40 | |     /// `SessionKey` is returned by `client_session_keys` and `server_session_keys` and is the
41 | |     /// exchanged secret between the client and server.
42 | |     secret SessionKey(SESSIONKEYBYTES);
43 | | }
| |_- in this macro invocation
|
= note: expected type `&[u8]`
found type `&[u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:216:25
|
216 |                   memzero(&mut self.0);
|                           ^^^^^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/xchacha20.rs:11:1
|
11  | / stream_module!(crypto_stream_xchacha20,
12  | |                crypto_stream_xchacha20_xor,
13  | |                crypto_stream_xchacha20_xor_ic,
14  | |                crypto_stream_xchacha20_KEYBYTES,
15  | |                crypto_stream_xchacha20_NONCEBYTES);
| |___________________________________________________- in this macro invocation
|
= note: expected type `&mut [u8]`
found type `&mut [u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:216:25
|
216 |                   memzero(&mut self.0);
|                           ^^^^^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:22:1
|
22  | / new_type! {
23  | |     /// `SecretKey` for key exchanges.
24  | |     ///
25  | |     /// When a `SecretKey` goes out of scope its contents will be zeroed out
26  | |     secret SecretKey(SECRETKEYBYTES);
27  | | }
| |_- in this macro invocation
|
= note: expected type `&mut [u8]`
found type `&mut [u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:216:25
|
216 |                   memzero(&mut self.0);
|                           ^^^^^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:29:1
|
29  | / new_type! {
30  | |     /// `Seed` that can be used for keypair generation
31  | |     ///
32  | |     /// The `Seed` is used by `keypair_from_seed()` to generate a secret and
...   |
36  | |     secret Seed(SEEDBYTES);
37  | | }
| |_- in this macro invocation
|
= note: expected type `&mut [u8]`
found type `&mut [u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:216:25
|
216 |                   memzero(&mut self.0);
|                           ^^^^^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/kx/x25519blake2b.rs:39:1
|
39  | / new_type! {
40  | |     /// `SessionKey` is returned by `client_session_keys` and `server_session_keys` and is the
41  | |     /// exchanged secret between the client and server.
42  | |     secret SessionKey(SESSIONKEYBYTES);
43  | | }
| |_- in this macro invocation
|
= note: expected type `&mut [u8]`
found type `&mut [u8; _]`

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/newtype_macros.rs:282:30
|
282 |                   increment_le(&mut self.0);
|                                ^^^^^^^^^^^ expected slice, found array
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/xchacha20.rs:11:1
|
11  | / stream_module!(crypto_stream_xchacha20,
12  | |                crypto_stream_xchacha20_xor,
13  | |                crypto_stream_xchacha20_xor_ic,
14  | |                crypto_stream_xchacha20_KEYBYTES,
15  | |                crypto_stream_xchacha20_NONCEBYTES);
| |___________________________________________________- in this macro invocation
|
= note: expected type `&mut [u8]`
found type `&mut [u8; _]`

error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/stream_macros.rs:36:9
|
36 |       let mut key = [0; KEYBYTES];
|           ^^^^^^^ doesn't have a size known at compile-time
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/xchacha20.rs:11:1
|
11 | / stream_module!(crypto_stream_xchacha20,
12 | |                crypto_stream_xchacha20_xor,
13 | |                crypto_stream_xchacha20_xor_ic,
14 | |                crypto_stream_xchacha20_KEYBYTES,
15 | |                crypto_stream_xchacha20_NONCEBYTES);
| |___________________________________________________- in this macro invocation
|
= help: the trait `std::marker::Sized` is not implemented for `[u8]`
= note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
= note: all local variables must have a statically known size
= help: unsized locals are gated as an unstable feature

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/stream_macros.rs:38:9
|
38 |       Key(key)
|           ^^^ expected array, found slice
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/xchacha20.rs:11:1
|
11 | / stream_module!(crypto_stream_xchacha20,
12 | |                crypto_stream_xchacha20_xor,
13 | |                crypto_stream_xchacha20_xor_ic,
14 | |                crypto_stream_xchacha20_KEYBYTES,
15 | |                crypto_stream_xchacha20_NONCEBYTES);
| |___________________________________________________- in this macro invocation
|
= note: expected type `[u8; _]`
found type `[u8]`

error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/stream_macros.rs:50:9
|
50 |       let mut nonce = [0; NONCEBYTES];
|           ^^^^^^^^^ doesn't have a size known at compile-time
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/xchacha20.rs:11:1
|
11 | / stream_module!(crypto_stream_xchacha20,
12 | |                crypto_stream_xchacha20_xor,
13 | |                crypto_stream_xchacha20_xor_ic,
14 | |                crypto_stream_xchacha20_KEYBYTES,
15 | |                crypto_stream_xchacha20_NONCEBYTES);
| |___________________________________________________- in this macro invocation
|
= help: the trait `std::marker::Sized` is not implemented for `[u8]`
= note: to learn more, visit <https://doc.rust-lang.org/book/second-edition/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
= note: all local variables must have a statically known size
= help: unsized locals are gated as an unstable feature

error[E0308]: mismatched types
--> /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/stream_macros.rs:52:11
|
52 |       Nonce(nonce)
|             ^^^^^ expected array, found slice
| 
::: /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/crypto/stream/xchacha20.rs:11:1
|
11 | / stream_module!(crypto_stream_xchacha20,
12 | |                crypto_stream_xchacha20_xor,
13 | |                crypto_stream_xchacha20_xor_ic,
14 | |                crypto_stream_xchacha20_KEYBYTES,
15 | |                crypto_stream_xchacha20_NONCEBYTES);
| |___________________________________________________- in this macro invocation
|
= note: expected type `[u8; _]`
found type `[u8]`

error: aborting due to 30 previous errors

Some errors occurred: E0277, E0308, E0425, E0432.
For more information about an error, try `rustc --explain E0277`.
thread 'main' panicked at 'ProcessError { desc: "process didn\'t exit successfully: `rustc --crate-name sodiumoxide /home/cratesfyi/.cargo/registry/src/github.com-1ecc6299db9ec823/sodiumoxide-0.1.0/src/lib.rs --color never --crate-type lib --emit=dep-info,metadata -C debuginfo=2 --cfg \'feature=\"default\"\' --cfg \'feature=\"serde\"\' --cfg \'feature=\"std\"\' -C metadata=fb203fdb2f668c13 -C extra-filename=-fb203fdb2f668c13 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --extern libc=/home/cratesfyi/cratesfyi/debug/deps/liblibc-4b31dc9d4d41372a.rmeta --extern libsodium_sys=/home/cratesfyi/cratesfyi/debug/deps/liblibsodium_sys-a61d41e3179616c0.rmeta --extern serde=/home/cratesfyi/cratesfyi/debug/deps/libserde-657db7ff46df5f4f.rmeta --cap-lints allow -L native=/usr/lib/x86_64-linux-gnu` (exit code: 1)", exit: Some(ExitStatus(ExitStatus(256))), output: None }

Could not compile `sodiumoxide`.', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.