[INFO] fetching crate hyper-sse 0.1.0... [INFO] checking hyper-sse-0.1.0 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate hyper-sse 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate hyper-sse 0.1.0 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libhydrogen-sys v0.7.3 [INFO] [stderr] Downloaded libhydrogen v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0941ee8f507a70ac23d2522597f3816daf3bffb499ce444e399ffdd1abc8b966 [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" "0941ee8f507a70ac23d2522597f3816daf3bffb499ce444e399ffdd1abc8b966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0941ee8f507a70ac23d2522597f3816daf3bffb499ce444e399ffdd1abc8b966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0941ee8f507a70ac23d2522597f3816daf3bffb499ce444e399ffdd1abc8b966", kill_on_drop: false }` [INFO] [stdout] 0941ee8f507a70ac23d2522597f3816daf3bffb499ce444e399ffdd1abc8b966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--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] 31010a69854d708aaf5b753b1577ca281956067abf2e2e891123e0af6621abd4 [INFO] running `Command { std: "docker" "start" "-a" "31010a69854d708aaf5b753b1577ca281956067abf2e2e891123e0af6621abd4", kill_on_drop: false }` [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling clang-sys v1.0.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling libloading v0.6.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking backtrace v0.3.54 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [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 cexpr v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [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] | ^^^^^^^^^^^ 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "31010a69854d708aaf5b753b1577ca281956067abf2e2e891123e0af6621abd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31010a69854d708aaf5b753b1577ca281956067abf2e2e891123e0af6621abd4", kill_on_drop: false }` [INFO] [stdout] 31010a69854d708aaf5b753b1577ca281956067abf2e2e891123e0af6621abd4