[INFO] cloning repository https://github.com/vbartu/crypto [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vbartu/crypto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvbartu%2Fcrypto", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvbartu%2Fcrypto'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d58caec7664add98b90a1e68ca17e8342b8a096e [INFO] checking vbartu/crypto against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvbartu%2Fcrypto" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vbartu/crypto on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vbartu/crypto [INFO] finished tweaking git repo https://github.com/vbartu/crypto [INFO] tweaked toml for git repo https://github.com/vbartu/crypto written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vbartu/crypto 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2577f18de7f3d843367e0a80c7a2fbc1a6e6e51dedbc0a343064e7bd74931f3 [INFO] running `Command { std: "docker" "start" "-a" "b2577f18de7f3d843367e0a80c7a2fbc1a6e6e51dedbc0a343064e7bd74931f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2577f18de7f3d843367e0a80c7a2fbc1a6e6e51dedbc0a343064e7bd74931f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2577f18de7f3d843367e0a80c7a2fbc1a6e6e51dedbc0a343064e7bd74931f3", kill_on_drop: false }` [INFO] [stdout] b2577f18de7f3d843367e0a80c7a2fbc1a6e6e51dedbc0a343064e7bd74931f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdae87d976bb80b8aec526db4cbcb94e67d15348b5de9252a8d6732fa8cf8e85 [INFO] running `Command { std: "docker" "start" "-a" "bdae87d976bb80b8aec526db4cbcb94e67d15348b5de9252a8d6732fa8cf8e85", kill_on_drop: false }` [INFO] [stderr] Checking crypto_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `aes_128::Aes128Cipher` [INFO] [stdout] --> src/cipher.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use aes_128::Aes128Cipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `des::DesCipher` [INFO] [stdout] --> src/cipher.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use des::DesCipher; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sha224`, `Sha256`, `Sha384`, `Sha512_224`, `Sha512_256`, and `Sha512` [INFO] [stdout] --> src/hash.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sha2::{Sha224,Sha256,Sha384,Sha512,Sha512_224,Sha512_256}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hmac::Hmac` [INFO] [stdout] --> src/mac.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use hmac::Hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `des::DesCipher` [INFO] [stdout] --> src/cipher.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use des::DesCipher; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hmac::Hmac` [INFO] [stdout] --> src/mac.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use hmac::Hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `encrypt`, `decrypt`, and `block_size` are never used [INFO] [stdout] --> src/cipher.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Cipher { [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn new(key: &[u8]) -> Result where Self: Sized; [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | fn encrypt(&self, data: &[u8]) -> Result, InvalidDataLen>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | fn decrypt(&self, data: &[u8]) -> Result, InvalidDataLen>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | fn block_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `digest_size` is never used [INFO] [stdout] --> src/hash.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Hash { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn digest_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `generate`, `reset`, `verify`, and `size` are never used [INFO] [stdout] --> src/mac.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Mac { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] 8 | fn new(key: &[u8]) -> Result where Self: Sized; [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | fn update(&mut self, data: &[u8]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | fn generate(&mut self) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | fn reset(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | fn verify(&mut self, data: &[u8], signature: &[u8]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad` is never used [INFO] [stdout] --> src/modes/pkcs7_padding.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn pad(data: &[u8], block_size: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpad` is never used [INFO] [stdout] --> src/modes/pkcs7_padding.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn unpad(data: &[u8]) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/modes/ecb.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encrypt(data: &[u8], cipher: &impl Cipher) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/modes/ecb.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn decrypt(data: &[u8], cipher: &impl Cipher) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/modes/cbc.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn encrypt(data: &[u8], cipher: &impl Cipher, iv: &[u8]) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/modes/cbc.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn decrypt(data: &[u8], cipher: &impl Cipher, iv: &[u8]) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/modes/ctr.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encrypt(data: &[u8], cipher: &impl Cipher, nonce: &[u8]) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/modes/ctr.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn decrypt(data: &[u8], cipher: &impl Cipher, nonce: &[u8]) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `digest_size` is never used [INFO] [stdout] --> src/hash.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Hash { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn digest_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/mac.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Mac { [INFO] [stdout] | --- method in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "bdae87d976bb80b8aec526db4cbcb94e67d15348b5de9252a8d6732fa8cf8e85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdae87d976bb80b8aec526db4cbcb94e67d15348b5de9252a8d6732fa8cf8e85", kill_on_drop: false }` [INFO] [stdout] bdae87d976bb80b8aec526db4cbcb94e67d15348b5de9252a8d6732fa8cf8e85 [INFO] checking vbartu/crypto against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvbartu%2Fcrypto" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vbartu/crypto on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vbartu/crypto [INFO] finished tweaking git repo https://github.com/vbartu/crypto [INFO] tweaked toml for git repo https://github.com/vbartu/crypto written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vbartu/crypto 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d462b960107d6ad172848fc89cf332f2d83c197a11048aef1fc86506a6d01a45 [INFO] running `Command { std: "docker" "start" "-a" "d462b960107d6ad172848fc89cf332f2d83c197a11048aef1fc86506a6d01a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d462b960107d6ad172848fc89cf332f2d83c197a11048aef1fc86506a6d01a45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d462b960107d6ad172848fc89cf332f2d83c197a11048aef1fc86506a6d01a45", kill_on_drop: false }` [INFO] [stdout] d462b960107d6ad172848fc89cf332f2d83c197a11048aef1fc86506a6d01a45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 362f53a9460ce8ca8980313d20b8469f3b2086a932be1fd1aec6da5ea965da0f [INFO] running `Command { std: "docker" "start" "-a" "362f53a9460ce8ca8980313d20b8469f3b2086a932be1fd1aec6da5ea965da0f", kill_on_drop: false }` [INFO] [stderr] Checking crypto_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `aes_128::Aes128Cipher` [INFO] [stdout] --> src/cipher.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use aes_128::Aes128Cipher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `des::DesCipher` [INFO] [stdout] --> src/cipher.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use des::DesCipher; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sha224`, `Sha256`, `Sha384`, `Sha512_224`, `Sha512_256`, and `Sha512` [INFO] [stdout] --> src/hash.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | pub use sha2::{Sha224,Sha256,Sha384,Sha512,Sha512_224,Sha512_256}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hmac::Hmac` [INFO] [stdout] --> src/mac.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use hmac::Hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `des::DesCipher` [INFO] [stdout] --> src/cipher.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use des::DesCipher; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hmac::Hmac` [INFO] [stdout] --> src/mac.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use hmac::Hmac; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `encrypt`, `decrypt`, and `block_size` are never used [INFO] [stdout] --> src/cipher.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Cipher { [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn new(key: &[u8]) -> Result where Self: Sized; [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | fn encrypt(&self, data: &[u8]) -> Result, InvalidDataLen>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | [INFO] [stdout] 18 | fn decrypt(&self, data: &[u8]) -> Result, InvalidDataLen>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | [INFO] [stdout] 20 | fn block_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `digest_size` is never used [INFO] [stdout] --> src/hash.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Hash { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn digest_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update`, `generate`, `reset`, `verify`, and `size` are never used [INFO] [stdout] --> src/mac.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Mac { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] 8 | fn new(key: &[u8]) -> Result where Self: Sized; [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | [INFO] [stdout] 10 | fn update(&mut self, data: &[u8]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | [INFO] [stdout] 12 | fn generate(&mut self) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | fn reset(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | [INFO] [stdout] 16 | fn verify(&mut self, data: &[u8], signature: &[u8]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad` is never used [INFO] [stdout] --> src/modes/pkcs7_padding.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn pad(data: &[u8], block_size: usize) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unpad` is never used [INFO] [stdout] --> src/modes/pkcs7_padding.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn unpad(data: &[u8]) -> &[u8] { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/modes/ecb.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encrypt(data: &[u8], cipher: &impl Cipher) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/modes/ecb.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn decrypt(data: &[u8], cipher: &impl Cipher) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/modes/cbc.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn encrypt(data: &[u8], cipher: &impl Cipher, iv: &[u8]) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/modes/cbc.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn decrypt(data: &[u8], cipher: &impl Cipher, iv: &[u8]) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/modes/ctr.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn encrypt(data: &[u8], cipher: &impl Cipher, nonce: &[u8]) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/modes/ctr.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn decrypt(data: &[u8], cipher: &impl Cipher, nonce: &[u8]) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cipher/des.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | let keys = key_expansion(&key); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(Self { keys }) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mac/hmac.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 31 | let hash = H::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(Self {hash, key, msg}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto_rust` (bin "crypto_rust") due to 3 previous errors; 15 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `digest_size` is never used [INFO] [stdout] --> src/hash.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Hash { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn digest_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `size` is never used [INFO] [stdout] --> src/mac.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Mac { [INFO] [stdout] | --- method in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cipher/des.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | let keys = key_expansion(&key); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | Ok(Self { keys }) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/mac/hmac.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 31 | let hash = H::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(Self {hash, key, msg}) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto_rust` (bin "crypto_rust" test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "362f53a9460ce8ca8980313d20b8469f3b2086a932be1fd1aec6da5ea965da0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "362f53a9460ce8ca8980313d20b8469f3b2086a932be1fd1aec6da5ea965da0f", kill_on_drop: false }` [INFO] [stdout] 362f53a9460ce8ca8980313d20b8469f3b2086a932be1fd1aec6da5ea965da0f