[INFO] fetching crate hyper-sse 0.1.0... [INFO] testing hyper-sse-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate hyper-sse 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate hyper-sse 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1023daba6557da2171b8b2e55959e5ad498f9d55f7a47333a1d91e5bb395018f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1023daba6557da2171b8b2e55959e5ad498f9d55f7a47333a1d91e5bb395018f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1023daba6557da2171b8b2e55959e5ad498f9d55f7a47333a1d91e5bb395018f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1023daba6557da2171b8b2e55959e5ad498f9d55f7a47333a1d91e5bb395018f", kill_on_drop: false }` [INFO] [stdout] 1023daba6557da2171b8b2e55959e5ad498f9d55f7a47333a1d91e5bb395018f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "RUSTFLAGS=--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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--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] b2f725b79c52beb244ab7ee6f1ec26ccfb5f3677841794db8b6e22ef35a9294f [INFO] running `Command { std: "docker" "start" "-a" "b2f725b79c52beb244ab7ee6f1ec26ccfb5f3677841794db8b6e22ef35a9294f", kill_on_drop: false }` [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling libhydrogen-sys v0.7.3 [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^ expected `u64`, found `usize` [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] 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] 55 | subkey_len, [INFO] [stdout] | ^^^^^^^^^^ expected `u64`, found `usize` [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] 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] 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] 49 | input.len(), [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [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] 74 | input.len(), [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [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] 96 | input.len(), [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [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] 109 | input.len(), [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [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] | ^^^^^^^^^^^ expected `u64`, found `usize` [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] 213 | mem::size_of_val(&keypair_c), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [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] 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] 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] | ^^^ expected `u64`, found `usize` [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] 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]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:58:56 [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] 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] [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:58:79 [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] 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]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | max_bin_len, [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `usize` [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] [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:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | hex_len, [INFO] [stdout] | ^^^^^^^ expected `u64`, found `usize` [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]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | unpadded_buflen, [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `u64`, found `usize` [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] [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:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | blocksize, [INFO] [stdout] | ^^^^^^^^^ expected `u64`, found `usize` [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] [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:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | max_padded_buflen, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [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]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libhydrogen-0.1.5/src/utils.rs:112:67 [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] 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] [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:112:78 [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] 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 24 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 25 previous errors [INFO] running `Command { std: "docker" "inspect" "b2f725b79c52beb244ab7ee6f1ec26ccfb5f3677841794db8b6e22ef35a9294f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2f725b79c52beb244ab7ee6f1ec26ccfb5f3677841794db8b6e22ef35a9294f", kill_on_drop: false }` [INFO] [stdout] b2f725b79c52beb244ab7ee6f1ec26ccfb5f3677841794db8b6e22ef35a9294f