[INFO] fetching crate self_sdk 0.1.0... [INFO] testing self_sdk-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate self_sdk 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate self_sdk 0.1.0 [INFO] finished tweaking crates.io crate self_sdk 0.1.0 [INFO] tweaked toml for crates.io crate self_sdk 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate self_sdk 0.1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 220 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding dryoc v0.4.3 (available: v0.7.2) [INFO] [stderr] Adding flatbuffers v2.1.2 (available: v25.12.19) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding httptest v0.15.5 (available: v0.16.4) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] [stderr] Adding serde_cbor v0.10.2 (available: v0.11.2) [INFO] [stderr] Adding tokio-tungstenite v0.18.0 (available: v0.29.0) [INFO] [stderr] Adding tungstenite v0.18.0 (available: v0.29.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ntp v0.5.0 [INFO] [stderr] Downloaded serde_cbor v0.10.2 [INFO] [stderr] Downloaded flatbuffers v2.1.2 [INFO] [stderr] Downloaded httptest v0.15.5 [INFO] [stderr] Downloaded dryoc v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8e469331c7343fbb1da1eb7fb32a17fd0aaf5661e4f0ccb1d49057fc08d2e1b [INFO] running `Command { std: "docker" "start" "-a" "c8e469331c7343fbb1da1eb7fb32a17fd0aaf5661e4f0ccb1d49057fc08d2e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8e469331c7343fbb1da1eb7fb32a17fd0aaf5661e4f0ccb1d49057fc08d2e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8e469331c7343fbb1da1eb7fb32a17fd0aaf5661e4f0ccb1d49057fc08d2e1b", kill_on_drop: false }` [INFO] [stdout] c8e469331c7343fbb1da1eb7fb32a17fd0aaf5661e4f0ccb1d49057fc08d2e1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76f984aefd6787df8fe10cda2f3e53ff6540af144d9981e56dda38ffc3e9384b [INFO] running `Command { std: "docker" "start" "-a" "76f984aefd6787df8fe10cda2f3e53ff6540af144d9981e56dda38ffc3e9384b", kill_on_drop: false }` [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling serde_cbor v0.10.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ntp v0.5.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tokio v1.51.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling dryoc v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling flatbuffers v2.1.2 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.4.3/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.4.3/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.4.3/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.4.3/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.4.3/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.4.3/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.4.3/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.4.3/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.4.3/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.4.3/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.4.3/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.4.3/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.4.3/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.4.3/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.4.3/src/classic/crypto_secretstream_xchacha20poly1305.rs:165:45 [INFO] [stdout] | [INFO] [stdout] 165 | 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.4.3/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] 165 | 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.4.3/src/classic/crypto_secretstream_xchacha20poly1305.rs:190:45 [INFO] [stdout] | [INFO] [stdout] 190 | 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.4.3/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] 190 | crypto_core_hchacha20(k.as_mut_array(), header[0..16].as_array().expect("REASON"), key, None); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `zeroize` exists for mutable reference `&mut Option`, but its trait bounds were not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/dryoc-0.4.3/src/dryocbox.rs:198:43 [INFO] [stdout] | [INFO] [stdout] 198 | #[cfg_attr(not(feature = "serde"), derive(Zeroize, Clone, Debug))] [INFO] [stdout] | ^^^^^^^ method cannot be called on `&mut Option` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&mut Option: DefaultIsZeroes` [INFO] [stdout] which is required by `&mut Option: Zeroize` [INFO] [stdout] = note: this error originates in the derive macro `Zeroize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dryoc` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "76f984aefd6787df8fe10cda2f3e53ff6540af144d9981e56dda38ffc3e9384b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76f984aefd6787df8fe10cda2f3e53ff6540af144d9981e56dda38ffc3e9384b", kill_on_drop: false }` [INFO] [stdout] 76f984aefd6787df8fe10cda2f3e53ff6540af144d9981e56dda38ffc3e9384b