[INFO] cloning repository https://github.com/thosmos/lqthos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thosmos/lqthos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthosmos%2Flqthos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthosmos%2Flqthos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b14e80f5a294136e7e57dd54400e04852b5ebd1b [INFO] checking thosmos/lqthos against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthosmos%2Flqthos" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thosmos/lqthos [INFO] finished tweaking git repo https://github.com/thosmos/lqthos [INFO] tweaked toml for git repo https://github.com/thosmos/lqthos written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thosmos/lqthos on toolchain ad93f57d532978d6739002a21bc66b45ed22f998 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thosmos/lqthos already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.51 [INFO] [stderr] Downloaded half v1.8.3 [INFO] [stderr] Downloaded serde_spanned v1.0.0 [INFO] [stderr] Downloaded allocative_derive v0.3.3 [INFO] [stderr] Downloaded ip_network_table v0.2.0 [INFO] [stderr] Downloaded toml_datetime v0.7.0 [INFO] [stderr] Downloaded ip_network_table-deps-treebitmap v0.5.0 [INFO] [stderr] Downloaded csv-core v0.1.12 [INFO] [stderr] Downloaded toml_writer v1.0.2 [INFO] [stderr] Downloaded allocative v0.3.4 [INFO] [stderr] Downloaded notify v6.1.1 [INFO] [stderr] Downloaded toml_edit v0.23.4 [INFO] [stderr] Downloaded toml_parser v1.0.2 [INFO] [stderr] Downloaded filetime v0.2.26 [INFO] [stderr] Downloaded sysinfo v0.37.0 [INFO] [stderr] Downloaded reqwest v0.12.23 [INFO] [stderr] Downloaded objc2-io-kit v0.3.1 [INFO] [stderr] Downloaded dryoc v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec8e048a6366471d002e86aa9a9193da539349ff3d6cdba0e47acd0d1cb227f4 [INFO] running `Command { std: "docker" "start" "-a" "ec8e048a6366471d002e86aa9a9193da539349ff3d6cdba0e47acd0d1cb227f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec8e048a6366471d002e86aa9a9193da539349ff3d6cdba0e47acd0d1cb227f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec8e048a6366471d002e86aa9a9193da539349ff3d6cdba0e47acd0d1cb227f4", kill_on_drop: false }` [INFO] [stdout] ec8e048a6366471d002e86aa9a9193da539349ff3d6cdba0e47acd0d1cb227f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 845b730e7e74f88643d24e009a19b27ca84a21d71f9904124115d064ac1c232a [INFO] running `Command { std: "docker" "start" "-a" "845b730e7e74f88643d24e009a19b27ca84a21d71f9904124115d064ac1c232a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling allocative v0.3.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking ip_network_table-deps-treebitmap v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking ip_network v0.4.1 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking ip_network_table v0.2.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking sysinfo v0.37.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.26 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling allocative_derive v0.3.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking lqos_utils v0.1.0 (https://github.com/libreqoe/libreqos.git#8b9117c4) [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking dryoc v0.5.4 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking toml_edit v0.23.4 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_box.rs:190:13 [INFO] [stdout] | [INFO] [stdout] 188 | crypto_box_detached( [INFO] [stdout] | ------------------- arguments to this function are incorrect [INFO] [stdout] 189 | ciphertext, [INFO] [stdout] 190 | mac, [INFO] [stdout] | ^^^ expected `&mut [u8; 16]`, found `Option<&mut [u8; _]>` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [u8; 16]` [INFO] [stdout] found enum `std::option::Option<&mut [u8; _]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_box.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn crypto_box_detached( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 129 | ciphertext: &mut [u8], [INFO] [stdout] 130 | mac: &mut Mac, [INFO] [stdout] | ------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::option::Option<&mut [u8; _]>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 190 | mac.expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_box.rs:283:43 [INFO] [stdout] | [INFO] [stdout] 283 | crypto_box_detached_inplace(data, mac, nonce, recipient_public_key, sender_secret_key)?; [INFO] [stdout] | --------------------------- ^^^ expected `&mut [u8; 16]`, found `Option<&mut [u8; _]>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [u8; 16]` [INFO] [stdout] found enum `std::option::Option<&mut [u8; _]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_box.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn crypto_box_detached_inplace( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 145 | message: &mut [u8], [INFO] [stdout] 146 | mac: &mut Mac, [INFO] [stdout] | ------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::option::Option<&mut [u8; _]>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 283 | crypto_box_detached_inplace(data, mac.expect("REASON"), nonce, recipient_public_key, sender_secret_key)?; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_box.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 370 | crypto_box_open_detached( [INFO] [stdout] | ------------------------ arguments to this function are incorrect [INFO] [stdout] 371 | message, [INFO] [stdout] 372 | mac, [INFO] [stdout] | ^^^ expected `&[u8; 16]`, found `Option<&[u8; _]>` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8; 16]` [INFO] [stdout] found enum `std::option::Option<&[u8; _]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_box.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn crypto_box_open_detached( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 316 | message: &mut [u8], [INFO] [stdout] 317 | mac: &Mac, [INFO] [stdout] | --------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::option::Option<&[u8; _]>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 372 | mac.expect("REASON"), [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_box.rs:449:45 [INFO] [stdout] | [INFO] [stdout] 449 | crypto_box_open_detached_inplace(d, mac, nonce, sender_public_key, recipient_secret_key)?; [INFO] [stdout] | -------------------------------- ^^^ expected `&[u8; 16]`, found `Option<&[u8; _]>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8; 16]` [INFO] [stdout] found enum `std::option::Option<&[u8; _]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_box.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn crypto_box_open_detached_inplace( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 334 | data: &mut [u8], [INFO] [stdout] 335 | mac: &Mac, [INFO] [stdout] | --------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::option::Option<&[u8; _]>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 449 | crypto_box_open_detached_inplace(d, mac.expect("REASON"), nonce, sender_public_key, recipient_secret_key)?; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_secretbox.rs:130:49 [INFO] [stdout] | [INFO] [stdout] 130 | crypto_secretbox_open_detached(message, mac, ciphertext, nonce, key) [INFO] [stdout] | ------------------------------ ^^^ expected `&[u8; 16]`, found `Option<&[u8; _]>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8; 16]` [INFO] [stdout] found enum `std::option::Option<&[u8; _]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_secretbox.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn crypto_secretbox_open_detached( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 78 | message: &mut [u8], [INFO] [stdout] 79 | mac: &Mac, [INFO] [stdout] | --------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::option::Option<&[u8; _]>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 130 | crypto_secretbox_open_detached(message, mac.expect("REASON"), ciphertext, nonce, key) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_secretbox.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | crypto_secretbox_detached_inplace(data, mac, nonce, key); [INFO] [stdout] | --------------------------------- ^^^ expected `&mut [u8; 16]`, found `Option<&mut [u8; _]>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut [u8; 16]` [INFO] [stdout] found enum `std::option::Option<&mut [u8; _]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_secretbox_impl.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) fn crypto_secretbox_detached_inplace( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | data: &mut [u8], [INFO] [stdout] 13 | mac: &mut Mac, [INFO] [stdout] | ------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::option::Option<&mut [u8; _]>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 145 | crypto_secretbox_detached_inplace(data, mac.expect("REASON"), nonce, key); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_secretbox.rs:167:54 [INFO] [stdout] | [INFO] [stdout] 167 | crypto_secretbox_open_detached_inplace(data, mac, nonce, key)?; [INFO] [stdout] | -------------------------------------- ^^^ expected `&[u8; 16]`, found `Option<&[u8; _]>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8; 16]` [INFO] [stdout] found enum `std::option::Option<&[u8; _]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_secretbox_impl.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn crypto_secretbox_open_detached_inplace( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | data: &mut [u8], [INFO] [stdout] 37 | mac: &Mac, [INFO] [stdout] | --------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::option::Option<&[u8; _]>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 167 | crypto_secretbox_open_detached_inplace(data, mac.expect("REASON"), nonce, key)?; [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_secretstream_xchacha20poly1305.rs:164:45 [INFO] [stdout] | [INFO] [stdout] 164 | crypto_core_hchacha20(k.as_mut_array(), header[..16].as_array(), key, None); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8; 16]`, found `Option<&[u8; _]>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8; 16]` [INFO] [stdout] found enum `std::option::Option<&[u8; _]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_core.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn crypto_core_hchacha20( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | output: &mut HChaCha20Output, [INFO] [stdout] 67 | input: &HChaCha20Input, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::option::Option<&[u8; _]>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 164 | crypto_core_hchacha20(k.as_mut_array(), header[..16].as_array().expect("REASON"), key, None); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_secretstream_xchacha20poly1305.rs:189:45 [INFO] [stdout] | [INFO] [stdout] 189 | crypto_core_hchacha20(k.as_mut_array(), header[0..16].as_array(), key, None); [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8; 16]`, found `Option<&[u8; _]>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8; 16]` [INFO] [stdout] found enum `std::option::Option<&[u8; _]>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.5.4/src/classic/crypto_core.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn crypto_core_hchacha20( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | output: &mut HChaCha20Output, [INFO] [stdout] 67 | input: &HChaCha20Input, [INFO] [stdout] | ---------------------- [INFO] [stdout] help: consider using `Option::expect` to unwrap the `std::option::Option<&[u8; _]>` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 189 | crypto_core_hchacha20(k.as_mut_array(), header[0..16].as_array().expect("REASON"), key, None); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dryoc` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "845b730e7e74f88643d24e009a19b27ca84a21d71f9904124115d064ac1c232a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "845b730e7e74f88643d24e009a19b27ca84a21d71f9904124115d064ac1c232a", kill_on_drop: false }` [INFO] [stdout] 845b730e7e74f88643d24e009a19b27ca84a21d71f9904124115d064ac1c232a