[INFO] fetching crate hyper-sse 0.1.0... [INFO] documenting hyper-sse-0.1.0 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate hyper-sse 0.1.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate hyper-sse 0.1.0 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hyper-sse 0.1.0 [INFO] finished tweaking crates.io crate hyper-sse 0.1.0 [INFO] tweaked toml for crates.io crate hyper-sse 0.1.0 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 77353ec6666ca9c76097345f98eb61a3192c89cb8805c28c0d6bf42c0db9ebdd [INFO] running `Command { std: "docker" "start" "-a" "77353ec6666ca9c76097345f98eb61a3192c89cb8805c28c0d6bf42c0db9ebdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77353ec6666ca9c76097345f98eb61a3192c89cb8805c28c0d6bf42c0db9ebdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77353ec6666ca9c76097345f98eb61a3192c89cb8805c28c0d6bf42c0db9ebdd", kill_on_drop: false }` [INFO] [stdout] 77353ec6666ca9c76097345f98eb61a3192c89cb8805c28c0d6bf42c0db9ebdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c177b5138c8a2d1a953c8740d0d38285bf836c09f3cb9e0b89d84db083d354e1 [INFO] running `Command { std: "docker" "start" "-a" "c177b5138c8a2d1a953c8740d0d38285bf836c09f3cb9e0b89d84db083d354e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling libhydrogen-sys v0.7.3 [INFO] [stderr] Checking libhydrogen v0.1.5 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/hash.rs:39:83 [INFO] [stdout] | [INFO] [stdout] 39 | ffi::hydro_hash_update(&mut self.state.0, input.as_ptr() as *const _, input.len()); [INFO] [stdout] | ---------------------- arguments to this function are incorrect ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:3828 [INFO] [stdout] | [INFO] [stdout] 3 | ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn hydro_hash_update (state : * mut hydro_hash_state , in_ : * const :: std :: ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 39 | ffi::hydro_hash_update(&mut self.state.0, input.as_ptr() as *const _, input.len().try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/hash.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | if ffi::hydro_hash_final(&mut self.state.0, out.as_mut_ptr(), out.len()) == 0 { [INFO] [stdout] | --------------------- ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:3999 [INFO] [stdout] | [INFO] [stdout] 3 | ...t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn hydro_hash_final (state : * mut hydro_hash_state , out : * mut u8 , out_len... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 45 | if ffi::hydro_hash_final(&mut self.state.0, out.as_mut_ptr(), out.len().try_into().unwrap()) == 0 { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/kdf.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 53 | ffi::hydro_kdf_derive_from_key( [INFO] [stdout] | ------------------------------ arguments to this function are incorrect [INFO] [stdout] 54 | subkey.as_mut_ptr(), [INFO] [stdout] 55 | subkey_len, [INFO] [stdout] | ^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:5348 [INFO] [stdout] | [INFO] [stdout] 3 | ...o_kdf_keygen (key : * mut u8) ; } extern "C" { pub fn hydro_kdf_derive_from_key (subkey : * mut u8 , subkey_len : size_t , subkey_id :... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 55 | subkey_len.try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/random.rs:26:59 [INFO] [stdout] | [INFO] [stdout] 26 | ffi::hydro_random_buf(out.as_mut_ptr() as *mut _, out.len()); [INFO] [stdout] | --------------------- ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:2087 [INFO] [stdout] | [INFO] [stdout] 3 | ...uniform (upper_bound : u32) -> u32 ; } extern "C" { pub fn hydro_random_buf (out : * mut :: std :: os :: raw :: c_void , out_len : siz... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 26 | ffi::hydro_random_buf(out.as_mut_ptr() as *mut _, out.len().try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/random.rs:40:73 [INFO] [stdout] | [INFO] [stdout] 40 | ffi::hydro_random_buf_deterministic(out.as_mut_ptr() as *mut _, out.len(), seed.0.as_ptr()) [INFO] [stdout] | ----------------------------------- ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:2191 [INFO] [stdout] | [INFO] [stdout] 3 | ... c_void , out_len : size_t) ; } extern "C" { pub fn hydro_random_buf_deterministic (out : * mut :: std :: os :: raw :: c_void , out_le... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 40 | ffi::hydro_random_buf_deterministic(out.as_mut_ptr() as *mut _, out.len().try_into().unwrap(), seed.0.as_ptr()) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/secretbox.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 46 | ffi::hydro_secretbox_encrypt( [INFO] [stdout] | ---------------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 49 | input.len(), [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:4442 [INFO] [stdout] | [INFO] [stdout] 3 | ...retbox_keygen (key : * mut u8) ; } extern "C" { pub fn hydro_secretbox_encrypt (c : * mut u8 , m_ : * const :: std :: os :: raw :: c_v... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 49 | input.len().try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/secretbox.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 71 | if ffi::hydro_secretbox_decrypt( [INFO] [stdout] | ---------------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 74 | input.len(), [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:4678 [INFO] [stdout] | [INFO] [stdout] 3 | ...> :: std :: os :: raw :: c_int ; } extern "C" { pub fn hydro_secretbox_decrypt (m_ : * mut :: std :: os :: raw :: c_void , c : * const... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 74 | input.len().try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/secretbox.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 93 | ffi::hydro_secretbox_probe_create( [INFO] [stdout] | --------------------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 96 | input.len(), [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:4914 [INFO] [stdout] | [INFO] [stdout] 3 | ...:: std :: os :: raw :: c_int ; } extern "C" { pub fn hydro_secretbox_probe_create (probe : * mut u8 , c : * const u8 , c_len : size_t ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 96 | input.len().try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/secretbox.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 106 | ffi::hydro_secretbox_probe_verify( [INFO] [stdout] | --------------------------------- arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 109 | input.len(), [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:5085 [INFO] [stdout] | [INFO] [stdout] 3 | ...: c_char , key : * const u8) ; } extern "C" { pub fn hydro_secretbox_probe_verify (probe : * const u8 , c : * const u8 , c_len : size_... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 109 | input.len().try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/sign.rs:50:83 [INFO] [stdout] | [INFO] [stdout] 50 | ffi::hydro_sign_update(&mut self.state.0, input.as_ptr() as *const _, input.len()); [INFO] [stdout] | ---------------------- arguments to this function are incorrect ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:7729 [INFO] [stdout] | [INFO] [stdout] 3 | ...) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn hydro_sign_update (state : * mut hydro_sign_state , m_ : * const :: std :: o... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 50 | ffi::hydro_sign_update(&mut self.state.0, input.as_ptr() as *const _, input.len().try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/sign.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 211 | ffi::hydro_memzero( [INFO] [stdout] | ------------------ arguments to this function are incorrect [INFO] [stdout] 212 | &mut keypair_c as *mut _ as *mut _, [INFO] [stdout] 213 | mem::size_of_val(&keypair_c), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:15484 [INFO] [stdout] | [INFO] [stdout] 3 | ...u8) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn hydro_memzero (pnt : * mut :: std :: os :: raw :: c_void , len : size_t) ;... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 213 | mem::size_of_val(&keypair_c).try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:12:63 [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { ffi::hydro_memzero(&mut obj as *mut _ as *mut _, mem::size_of::()) } [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:15484 [INFO] [stdout] | [INFO] [stdout] 3 | ...u8) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn hydro_memzero (pnt : * mut :: std :: os :: raw :: c_void , len : size_t) ;... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 12 | unsafe { ffi::hydro_memzero(&mut obj as *mut _ as *mut _, mem::size_of::().try_into().unwrap()) } [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:18:46 [INFO] [stdout] | [INFO] [stdout] 18 | ffi::hydro_increment(n.as_mut_ptr(), n.len()); [INFO] [stdout] | -------------------- ^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:15581 [INFO] [stdout] | [INFO] [stdout] 3 | ...s :: raw :: c_void , len : size_t) ; } extern "C" { pub fn hydro_increment (n : * mut u8 , len : size_t) ; } extern "C" { pub fn hydro... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 18 | ffi::hydro_increment(n.as_mut_ptr(), n.len().try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:33:81 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { ffi::hydro_equal(b1.as_ptr() as *const _, b2.as_ptr() as *const _, len) as bool } [INFO] [stdout] | ---------------- arguments to this function are incorrect ^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:15651 [INFO] [stdout] | [INFO] [stdout] 3 | ...rement (n : * mut u8 , len : size_t) ; } extern "C" { pub fn hydro_equal (b1_ : * const :: std :: os :: raw :: c_void , b2_ : * const ... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { ffi::hydro_equal(b1.as_ptr() as *const _, b2.as_ptr() as *const _, len.try_into().unwrap()) as bool } [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:41:65 [INFO] [stdout] | [INFO] [stdout] 41 | match unsafe { ffi::hydro_compare(b1.as_ptr(), b2.as_ptr(), len) } { [INFO] [stdout] | ------------------ ^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:15802 [INFO] [stdout] | [INFO] [stdout] 3 | ...w :: c_void , len : size_t) -> bool ; } extern "C" { pub fn hydro_compare (b1_ : * const u8 , b2_ : * const u8 , len : size_t) -> :: s... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 41 | match unsafe { ffi::hydro_compare(b1.as_ptr(), b2.as_ptr(), len.try_into().unwrap()) } { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | ffi::hydro_bin2hex(hex.as_mut_ptr() as *mut _, hex_len, bin.as_ptr(), len); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ------- --- expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:15925 [INFO] [stdout] | [INFO] [stdout] 3 | ..._t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn hydro_bin2hex (hex : * mut :: std :: os :: raw :: c_char , hex_maxlen : si... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 58 | ffi::hydro_bin2hex(hex.as_mut_ptr() as *mut _, hex_len.try_into().unwrap(), bin.as_ptr(), len); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 58 | ffi::hydro_bin2hex(hex.as_mut_ptr() as *mut _, hex_len, bin.as_ptr(), len.try_into().unwrap()); [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | ffi::hydro_hex2bin( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 77 | bin.as_mut_ptr(), [INFO] [stdout] 78 | max_bin_len, [INFO] [stdout] | ----------- expected `u64`, found `usize` [INFO] [stdout] 79 | hex.as_ptr() as *const _, [INFO] [stdout] 80 | hex_len, [INFO] [stdout] | ------- expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:16106 [INFO] [stdout] | [INFO] [stdout] 3 | ...* mut :: std :: os :: raw :: c_char ; } extern "C" { pub fn hydro_hex2bin (bin : * mut u8 , bin_maxlen : size_t , hex : * const :: std... [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 78 | max_bin_len.try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 80 | hex_len.try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | ffi::hydro_pad( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 99 | buf.as_mut_ptr(), [INFO] [stdout] 100 | unpadded_buflen, [INFO] [stdout] | --------------- expected `u64`, found `usize` [INFO] [stdout] 101 | blocksize, [INFO] [stdout] | --------- expected `u64`, found `usize` [INFO] [stdout] 102 | max_padded_buflen, [INFO] [stdout] | ----------------- expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:16387 [INFO] [stdout] | [INFO] [stdout] 3 | ...char) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn hydro_pad (buf : * mut :: std :: os :: raw :: c_uchar , unpadded_buflen ... [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 100 | unpadded_buflen.try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 101 | blocksize.try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 102 | max_padded_buflen.try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | let unpadded_buflen = unsafe { ffi::hydro_unpad(buf.as_ptr(), buf.len(), blocksize) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- --------- expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/target/debug/build/libhydrogen-sys-ed34a985e47c3356/out/bindings.rs:3:16568 [INFO] [stdout] | [INFO] [stdout] 3 | ...e_t) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn hydro_unpad (buf : * const :: std :: os :: raw :: c_uchar , padded_buflen... [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 112 | let unpadded_buflen = unsafe { ffi::hydro_unpad(buf.as_ptr(), buf.len().try_into().unwrap(), blocksize) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 112 | let unpadded_buflen = unsafe { ffi::hydro_unpad(buf.as_ptr(), buf.len(), blocksize.try_into().unwrap()) }; [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libhydrogen` due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "c177b5138c8a2d1a953c8740d0d38285bf836c09f3cb9e0b89d84db083d354e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c177b5138c8a2d1a953c8740d0d38285bf836c09f3cb9e0b89d84db083d354e1", kill_on_drop: false }` [INFO] [stdout] c177b5138c8a2d1a953c8740d0d38285bf836c09f3cb9e0b89d84db083d354e1