[INFO] fetching crate querent-rs 1.1.7... [INFO] checking querent-rs-1.1.7 against master#c797096598b80ba4a40397ad7e91584fcd3df5f1 for pr-146377 [INFO] extracting crate querent-rs 1.1.7 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate querent-rs 1.1.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate querent-rs 1.1.7 [INFO] tweaked toml for crates.io crate querent-rs 1.1.7 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate querent-rs 1.1.7 on toolchain c797096598b80ba4a40397ad7e91584fcd3df5f1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c797096598b80ba4a40397ad7e91584fcd3df5f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c797096598b80ba4a40397ad7e91584fcd3df5f1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 213 packages to latest compatible versions [INFO] [stderr] Adding apache-avro v0.16.0 (available: v0.21.0) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding ctor v0.2.9 (available: v0.6.3) [INFO] [stderr] Adding dryoc v0.5.4 (available: v0.7.0) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.8) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding minijinja v1.0.22 (available: v2.13.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (available: v0.8.9) [INFO] [stderr] Adding pyo3 v0.20.3 (available: v0.27.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c797096598b80ba4a40397ad7e91584fcd3df5f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntest_timeout v0.9.3 [INFO] [stderr] Downloaded ntest v0.9.3 [INFO] [stderr] Downloaded pyo3-ffi v0.20.3 [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded ntest_test_cases v0.9.3 [INFO] [stderr] Downloaded pyo3-build-config v0.20.3 [INFO] [stderr] Downloaded libflate_lz77 v2.2.0 [INFO] [stderr] Downloaded memo-map v0.3.3 [INFO] [stderr] Downloaded dary_heap v0.3.8 [INFO] [stderr] Downloaded typed-builder v0.16.2 [INFO] [stderr] Downloaded libflate v2.2.1 [INFO] [stderr] Downloaded pyo3-asyncio v0.20.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.20.3 [INFO] [stderr] Downloaded typed-builder-macro v0.16.2 [INFO] [stderr] Downloaded regex-lite v0.1.8 [INFO] [stderr] Downloaded salsa20 v0.10.2 [INFO] [stderr] Downloaded pyo3-macros v0.20.3 [INFO] [stderr] Downloaded pyo3-asyncio-macros v0.20.0 [INFO] [stderr] Downloaded apache-avro v0.16.0 [INFO] [stderr] Downloaded minijinja v1.0.22 [INFO] [stderr] Downloaded pyo3 v0.20.3 [INFO] [stderr] Downloaded dryoc v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c797096598b80ba4a40397ad7e91584fcd3df5f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fef08dcdbae9eebed58805b01adea2c221b2127dc2e80787407903a7e38afce8 [INFO] running `Command { std: "docker" "start" "-a" "fef08dcdbae9eebed58805b01adea2c221b2127dc2e80787407903a7e38afce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fef08dcdbae9eebed58805b01adea2c221b2127dc2e80787407903a7e38afce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef08dcdbae9eebed58805b01adea2c221b2127dc2e80787407903a7e38afce8", kill_on_drop: false }` [INFO] [stdout] fef08dcdbae9eebed58805b01adea2c221b2127dc2e80787407903a7e38afce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+c797096598b80ba4a40397ad7e91584fcd3df5f1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 054ebd06e716b3d9cbf9cf688039f4a7b3b86bd1307a754327a391dfd43de70a [INFO] running `Command { std: "docker" "start" "-a" "054ebd06e716b3d9cbf9cf688039f4a7b3b86bd1307a754327a391dfd43de70a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking dary_heap v0.3.8 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking memo-map v0.3.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking self_cell v1.2.1 [INFO] [stderr] Checking regex-lite v0.1.8 [INFO] [stderr] Checking inventory v0.3.21 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking humantime v2.3.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking libflate_lz77 v2.2.0 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking libflate v2.2.1 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling pyo3-asyncio-macros v0.20.0 [INFO] [stderr] Compiling ntest_test_cases v0.9.3 [INFO] [stderr] Compiling ntest_timeout v0.9.3 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking ntest v0.9.3 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling typed-builder-macro v0.16.2 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking typed-builder v0.16.2 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking dryoc v0.5.4 [INFO] [stderr] Checking serde_with v3.16.1 [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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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 `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] [stderr] Checking serde v1.0.228 [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" "054ebd06e716b3d9cbf9cf688039f4a7b3b86bd1307a754327a391dfd43de70a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "054ebd06e716b3d9cbf9cf688039f4a7b3b86bd1307a754327a391dfd43de70a", kill_on_drop: false }` [INFO] [stdout] 054ebd06e716b3d9cbf9cf688039f4a7b3b86bd1307a754327a391dfd43de70a