[INFO] crate libhydrogen 0.2.0 is already in cache [INFO] checking libhydrogen-0.2.0 against try#f149601db42efe10ece8b284ab681fd4a6fcb89c for pr-68766 [INFO] extracting crate libhydrogen 0.2.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate libhydrogen 0.2.0 on toolchain f149601db42efe10ece8b284ab681fd4a6fcb89c [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate libhydrogen 0.2.0 [INFO] finished tweaking crates.io crate libhydrogen 0.2.0 [INFO] tweaked toml for crates.io crate libhydrogen 0.2.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+f149601db42efe10ece8b284ab681fd4a6fcb89c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6d876e3ac1d6ba44d1fe8ead5d851e84a6703b25f4ede71320a5b961508ff61c [INFO] running `"docker" "start" "-a" "6d876e3ac1d6ba44d1fe8ead5d851e84a6703b25f4ede71320a5b961508ff61c"` [INFO] [stderr] Compiling bindgen v0.53.1 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.10 [INFO] [stderr] Checking thiserror v1.0.10 [INFO] [stderr] Compiling libhydrogen-sys v0.8.0 [INFO] [stderr] Checking libhydrogen v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/hash.rs:45:83 [INFO] [stderr] | [INFO] [stderr] 45 | ffi::hydro_hash_update(&mut self.state.0, input.as_ptr() as *const _, input.len()); [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 45 | ffi::hydro_hash_update(&mut self.state.0, input.as_ptr() as *const _, input.len().try_into().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/hash.rs:51:75 [INFO] [stderr] | [INFO] [stderr] 51 | if ffi::hydro_hash_final(&mut self.state.0, out.as_mut_ptr(), out.len()) == 0 { [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 51 | if ffi::hydro_hash_final(&mut self.state.0, out.as_mut_ptr(), out.len().try_into().unwrap()) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/kdf.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | subkey_len, [INFO] [stderr] | ^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 55 | subkey_len.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/hash.rs:45:83 [INFO] [stderr] | [INFO] [stderr] 45 | ffi::hydro_hash_update(&mut self.state.0, input.as_ptr() as *const _, input.len()); [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 45 | ffi::hydro_hash_update(&mut self.state.0, input.as_ptr() as *const _, input.len().try_into().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/random.rs:26:59 [INFO] [stderr] | [INFO] [stderr] 26 | ffi::hydro_random_buf(out.as_mut_ptr() as *mut _, out.len()); [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 26 | ffi::hydro_random_buf(out.as_mut_ptr() as *mut _, out.len().try_into().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/random.rs:40:73 [INFO] [stderr] | [INFO] [stderr] 40 | ffi::hydro_random_buf_deterministic(out.as_mut_ptr() as *mut _, out.len(), seed.0.as_ptr()) [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 40 | ffi::hydro_random_buf_deterministic(out.as_mut_ptr() as *mut _, out.len().try_into().unwrap(), seed.0.as_ptr()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/hash.rs:51:75 [INFO] [stderr] | [INFO] [stderr] 51 | if ffi::hydro_hash_final(&mut self.state.0, out.as_mut_ptr(), out.len()) == 0 { [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 51 | if ffi::hydro_hash_final(&mut self.state.0, out.as_mut_ptr(), out.len().try_into().unwrap()) == 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/secretbox.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | input.len(), [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 49 | input.len().try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/secretbox.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | input.len(), [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 74 | input.len().try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/secretbox.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | input.len(), [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 96 | input.len().try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/secretbox.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | input.len(), [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 109 | input.len().try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/kdf.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | subkey_len, [INFO] [stderr] | ^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 55 | subkey_len.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/random.rs:26:59 [INFO] [stderr] | [INFO] [stderr] 26 | ffi::hydro_random_buf(out.as_mut_ptr() as *mut _, out.len()); [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 26 | ffi::hydro_random_buf(out.as_mut_ptr() as *mut _, out.len().try_into().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/sign.rs:52:83 [INFO] [stderr] | [INFO] [stderr] 52 | ffi::hydro_sign_update(&mut self.state.0, input.as_ptr() as *const _, input.len()); [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 52 | ffi::hydro_sign_update(&mut self.state.0, input.as_ptr() as *const _, input.len().try_into().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/random.rs:40:73 [INFO] [stderr] | [INFO] [stderr] 40 | ffi::hydro_random_buf_deterministic(out.as_mut_ptr() as *mut _, out.len(), seed.0.as_ptr()) [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 40 | ffi::hydro_random_buf_deterministic(out.as_mut_ptr() as *mut _, out.len().try_into().unwrap(), seed.0.as_ptr()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/sign.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | mem::size_of_val(&keypair_c), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 222 | mem::size_of_val(&keypair_c).try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:12:63 [INFO] [stderr] | [INFO] [stderr] 12 | unsafe { ffi::hydro_memzero(&mut obj as *mut _ as *mut _, mem::size_of::()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 12 | unsafe { ffi::hydro_memzero(&mut obj as *mut _ as *mut _, mem::size_of::().try_into().unwrap()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:18:46 [INFO] [stderr] | [INFO] [stderr] 18 | ffi::hydro_increment(n.as_mut_ptr(), n.len()); [INFO] [stderr] | ^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 18 | ffi::hydro_increment(n.as_mut_ptr(), n.len().try_into().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:33:81 [INFO] [stderr] | [INFO] [stderr] 33 | unsafe { ffi::hydro_equal(b1.as_ptr() as *const _, b2.as_ptr() as *const _, len) as bool } [INFO] [stderr] | ^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 33 | unsafe { ffi::hydro_equal(b1.as_ptr() as *const _, b2.as_ptr() as *const _, len.try_into().unwrap()) as bool } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:41:65 [INFO] [stderr] | [INFO] [stderr] 41 | match unsafe { ffi::hydro_compare(b1.as_ptr(), b2.as_ptr(), len) } { [INFO] [stderr] | ^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 41 | match unsafe { ffi::hydro_compare(b1.as_ptr(), b2.as_ptr(), len.try_into().unwrap()) } { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/secretbox.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | input.len(), [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 49 | input.len().try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:58:56 [INFO] [stderr] | [INFO] [stderr] 58 | ffi::hydro_bin2hex(hex.as_mut_ptr() as *mut _, hex_len, bin.as_ptr(), len); [INFO] [stderr] | ^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 58 | ffi::hydro_bin2hex(hex.as_mut_ptr() as *mut _, hex_len.try_into().unwrap(), bin.as_ptr(), len); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:58:79 [INFO] [stderr] | [INFO] [stderr] 58 | ffi::hydro_bin2hex(hex.as_mut_ptr() as *mut _, hex_len, bin.as_ptr(), len); [INFO] [stderr] | ^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 58 | ffi::hydro_bin2hex(hex.as_mut_ptr() as *mut _, hex_len, bin.as_ptr(), len.try_into().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/secretbox.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | input.len(), [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 74 | input.len().try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/secretbox.rs:96:17 [INFO] [stderr] | [INFO] [stderr] 96 | input.len(), [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 96 | input.len().try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | max_bin_len, [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 78 | max_bin_len.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/secretbox.rs:109:17 [INFO] [stderr] | [INFO] [stderr] 109 | input.len(), [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 109 | input.len().try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | hex_len, [INFO] [stderr] | ^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 80 | hex_len.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | unpadded_buflen, [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 100 | unpadded_buflen.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | blocksize, [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 101 | blocksize.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | max_padded_buflen, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 102 | max_padded_buflen.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:112:67 [INFO] [stderr] | [INFO] [stderr] 112 | let unpadded_buflen = unsafe { ffi::hydro_unpad(buf.as_ptr(), buf.len(), blocksize) }; [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 112 | let unpadded_buflen = unsafe { ffi::hydro_unpad(buf.as_ptr(), buf.len().try_into().unwrap(), blocksize) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:112:78 [INFO] [stderr] | [INFO] [stderr] 112 | let unpadded_buflen = unsafe { ffi::hydro_unpad(buf.as_ptr(), buf.len(), blocksize) }; [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 112 | let unpadded_buflen = unsafe { ffi::hydro_unpad(buf.as_ptr(), buf.len(), blocksize.try_into().unwrap()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `libhydrogen`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/sign.rs:52:83 [INFO] [stderr] | [INFO] [stderr] 52 | ffi::hydro_sign_update(&mut self.state.0, input.as_ptr() as *const _, input.len()); [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 52 | ffi::hydro_sign_update(&mut self.state.0, input.as_ptr() as *const _, input.len().try_into().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/sign.rs:222:17 [INFO] [stderr] | [INFO] [stderr] 222 | mem::size_of_val(&keypair_c), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 222 | mem::size_of_val(&keypair_c).try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:12:63 [INFO] [stderr] | [INFO] [stderr] 12 | unsafe { ffi::hydro_memzero(&mut obj as *mut _ as *mut _, mem::size_of::()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 12 | unsafe { ffi::hydro_memzero(&mut obj as *mut _ as *mut _, mem::size_of::().try_into().unwrap()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:18:46 [INFO] [stderr] | [INFO] [stderr] 18 | ffi::hydro_increment(n.as_mut_ptr(), n.len()); [INFO] [stderr] | ^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 18 | ffi::hydro_increment(n.as_mut_ptr(), n.len().try_into().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:33:81 [INFO] [stderr] | [INFO] [stderr] 33 | unsafe { ffi::hydro_equal(b1.as_ptr() as *const _, b2.as_ptr() as *const _, len) as bool } [INFO] [stderr] | ^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 33 | unsafe { ffi::hydro_equal(b1.as_ptr() as *const _, b2.as_ptr() as *const _, len.try_into().unwrap()) as bool } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:41:65 [INFO] [stderr] | [INFO] [stderr] 41 | match unsafe { ffi::hydro_compare(b1.as_ptr(), b2.as_ptr(), len) } { [INFO] [stderr] | ^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 41 | match unsafe { ffi::hydro_compare(b1.as_ptr(), b2.as_ptr(), len.try_into().unwrap()) } { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:58:56 [INFO] [stderr] | [INFO] [stderr] 58 | ffi::hydro_bin2hex(hex.as_mut_ptr() as *mut _, hex_len, bin.as_ptr(), len); [INFO] [stderr] | ^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 58 | ffi::hydro_bin2hex(hex.as_mut_ptr() as *mut _, hex_len.try_into().unwrap(), bin.as_ptr(), len); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:58:79 [INFO] [stderr] | [INFO] [stderr] 58 | ffi::hydro_bin2hex(hex.as_mut_ptr() as *mut _, hex_len, bin.as_ptr(), len); [INFO] [stderr] | ^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 58 | ffi::hydro_bin2hex(hex.as_mut_ptr() as *mut _, hex_len, bin.as_ptr(), len.try_into().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:78:13 [INFO] [stderr] | [INFO] [stderr] 78 | max_bin_len, [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 78 | max_bin_len.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | hex_len, [INFO] [stderr] | ^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 80 | hex_len.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | unpadded_buflen, [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 100 | unpadded_buflen.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:101:13 [INFO] [stderr] | [INFO] [stderr] 101 | blocksize, [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 101 | blocksize.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:102:13 [INFO] [stderr] | [INFO] [stderr] 102 | max_padded_buflen, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 102 | max_padded_buflen.try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:112:67 [INFO] [stderr] | [INFO] [stderr] 112 | let unpadded_buflen = unsafe { ffi::hydro_unpad(buf.as_ptr(), buf.len(), blocksize) }; [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 112 | let unpadded_buflen = unsafe { ffi::hydro_unpad(buf.as_ptr(), buf.len().try_into().unwrap(), blocksize) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/utils.rs:112:78 [INFO] [stderr] | [INFO] [stderr] 112 | let unpadded_buflen = unsafe { ffi::hydro_unpad(buf.as_ptr(), buf.len(), blocksize) }; [INFO] [stderr] | ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stderr] | [INFO] [stderr] help: you can convert an `usize` to `u64` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 112 | let unpadded_buflen = unsafe { ffi::hydro_unpad(buf.as_ptr(), buf.len(), blocksize.try_into().unwrap()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `libhydrogen`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6d876e3ac1d6ba44d1fe8ead5d851e84a6703b25f4ede71320a5b961508ff61c"` [INFO] running `"docker" "rm" "-f" "6d876e3ac1d6ba44d1fe8ead5d851e84a6703b25f4ede71320a5b961508ff61c"` [INFO] [stdout] 6d876e3ac1d6ba44d1fe8ead5d851e84a6703b25f4ede71320a5b961508ff61c