[INFO] cloning repository https://github.com/mawunyo28/crackpdf
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mawunyo28/crackpdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmawunyo28%2Fcrackpdf", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmawunyo28%2Fcrackpdf'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a636f5d3613ff2e844a8b52577d013e5687a02a6
[INFO] testing mawunyo28/crackpdf against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmawunyo28%2Fcrackpdf" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mawunyo28/crackpdf
[INFO] finished tweaking git repo https://github.com/mawunyo28/crackpdf
[INFO] tweaked toml for git repo https://github.com/mawunyo28/crackpdf written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mawunyo28/crackpdf on toolchain 1.98.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mawunyo28/crackpdf 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" "+1.98.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded clap v4.6.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a
[INFO] running `Command { std: "docker" "start" "68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling memchr v2.8.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.20
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.7
[INFO] [stderr]    Compiling const-oid v0.10.2
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling rand_core v0.10.1
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling tinyvec v1.12.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.10
[INFO] [stderr]    Compiling log v0.4.33
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling chacha20 v0.10.1
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling humantime v2.4.0
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling time-core v0.1.9
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling anyhow v1.0.103
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling num-conv v0.2.2
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling cpubits v0.1.1
[INFO] [stderr]    Compiling clap_builder v4.6.2
[INFO] [stderr]    Compiling hybrid-array v0.4.13
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling regex-automata v0.4.16
[INFO] [stderr]    Compiling bitflags v2.13.1
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling crypto-common v0.2.2
[INFO] [stderr]    Compiling block-padding v0.4.2
[INFO] [stderr]    Compiling inout v0.2.2
[INFO] [stderr]    Compiling block-buffer v0.12.1
[INFO] [stderr]    Compiling rand v0.10.2
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling weezl v0.2.1
[INFO] [stderr]    Compiling rangemap v1.7.1
[INFO] [stderr]    Compiling jiff v0.2.32
[INFO] [stderr]    Compiling rayon v1.12.0
[INFO] [stderr]    Compiling time v0.3.53
[INFO] [stderr]    Compiling cipher v0.5.2
[INFO] [stderr]    Compiling digest v0.11.3
[INFO] [stderr]    Compiling aes v0.9.1
[INFO] [stderr]    Compiling cbc v0.2.1
[INFO] [stderr]    Compiling ecb v0.2.0
[INFO] [stderr]    Compiling md-5 v0.11.0
[INFO] [stderr]    Compiling sha2 v0.11.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling env_logger v0.10.2
[INFO] [stderr]    Compiling pretty_env_logger v0.5.0
[INFO] [stderr]    Compiling clap v4.6.2
[INFO] [stderr]    Compiling lopdf v0.44.0
[INFO] [stderr]    Compiling crackpdf v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]   --> src/pdf_parser/mod.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn attempt(&self, password: &[u8], dict: &EncryptDict) -> Result<bool> {
[INFO] [stdout]    |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dict`
[INFO] [stdout]   --> src/pdf_parser/mod.rs:62:44
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn attempt(&self, password: &[u8], dict: &EncryptDict) -> Result<bool> {
[INFO] [stdout]    |                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_dict`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AES_SALT` is never used
[INFO] [stdout]  --> src/cracker/mod.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const AES_SALT: [u8; 4] = [0x73, 0x41, 0x6C, 0x54];
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PASSWORD_PAD` is never used
[INFO] [stdout]  --> src/cracker/mod.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const PASSWORD_PAD: [u8; 32] = [
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `encrypt_type` is never read
[INFO] [stdout]   --> src/pdf_parser/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct PDF {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     encrypt_type: Option<EncryptType>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PDF` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/pdf_parser/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct EncryptDict {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 17 |     o: Vec<u8>,
[INFO] [stdout]    |     ^
[INFO] [stdout] 18 |     u: Vec<u8>,
[INFO] [stdout]    |     ^
[INFO] [stdout] 19 |     r: i64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 20 |     v: i64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 21 |     length: i64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 22 |     file_id: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 23 |     filter: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 24 |     subfilter: Option<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 25 |     encrypt_metadata: Option<bool>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     p: i64,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EncryptDict` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pdf`
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let pdf = PDF::new(filepath);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1m 40s
[INFO] running `Command { std: "docker" "inspect" "68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]   --> src/pdf_parser/mod.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn attempt(&self, password: &[u8], dict: &EncryptDict) -> Result<bool> {
[INFO] [stdout]    |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dict`
[INFO] [stdout]   --> src/pdf_parser/mod.rs:62:44
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn attempt(&self, password: &[u8], dict: &EncryptDict) -> Result<bool> {
[INFO] [stdout]    |                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_dict`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AES_SALT` is never used
[INFO] [stdout]  --> src/cracker/mod.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const AES_SALT: [u8; 4] = [0x73, 0x41, 0x6C, 0x54];
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PASSWORD_PAD` is never used
[INFO] [stdout]  --> src/cracker/mod.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const PASSWORD_PAD: [u8; 32] = [
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `encrypt_type` is never read
[INFO] [stdout]   --> src/pdf_parser/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct PDF {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     encrypt_type: Option<EncryptType>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PDF` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/pdf_parser/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct EncryptDict {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 17 |     o: Vec<u8>,
[INFO] [stdout]    |     ^
[INFO] [stdout] 18 |     u: Vec<u8>,
[INFO] [stdout]    |     ^
[INFO] [stdout] 19 |     r: i64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 20 |     v: i64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 21 |     length: i64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 22 |     file_id: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 23 |     filter: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 24 |     subfilter: Option<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 25 |     encrypt_metadata: Option<bool>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     p: i64,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EncryptDict` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling crackpdf v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `pdf`
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let pdf = PDF::new(filepath);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `password`
[INFO] [stdout]   --> src/pdf_parser/mod.rs:62:27
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn attempt(&self, password: &[u8], dict: &EncryptDict) -> Result<bool> {
[INFO] [stdout]    |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dict`
[INFO] [stdout]   --> src/pdf_parser/mod.rs:62:44
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn attempt(&self, password: &[u8], dict: &EncryptDict) -> Result<bool> {
[INFO] [stdout]    |                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_dict`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `AES_SALT` is never used
[INFO] [stdout]  --> src/cracker/mod.rs:1:7
[INFO] [stdout]   |
[INFO] [stdout] 1 | const AES_SALT: [u8; 4] = [0x73, 0x41, 0x6C, 0x54];
[INFO] [stdout]   |       ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `PASSWORD_PAD` is never used
[INFO] [stdout]  --> src/cracker/mod.rs:3:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | const PASSWORD_PAD: [u8; 32] = [
[INFO] [stdout]   |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `encrypt_type` is never read
[INFO] [stdout]   --> src/pdf_parser/mod.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct PDF {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     encrypt_type: Option<EncryptType>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PDF` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/pdf_parser/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct EncryptDict {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 17 |     o: Vec<u8>,
[INFO] [stdout]    |     ^
[INFO] [stdout] 18 |     u: Vec<u8>,
[INFO] [stdout]    |     ^
[INFO] [stdout] 19 |     r: i64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 20 |     v: i64,
[INFO] [stdout]    |     ^
[INFO] [stdout] 21 |     length: i64,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 22 |     file_id: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 23 |     filter: Vec<u8>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 24 |     subfilter: Option<Vec<u8>>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 25 |     encrypt_metadata: Option<bool>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 26 |     p: i64,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EncryptDict` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.78s
[INFO] running `Command { std: "docker" "inspect" "68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/lib.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `password`
[INFO] [stderr]   --> src/pdf_parser/mod.rs:62:27
[INFO] [stderr]    |
[INFO] [stderr] 62 |     pub fn attempt(&self, password: &[u8], dict: &EncryptDict) -> Result<bool> {
[INFO] [stderr]    |                           ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_password`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dict`
[INFO] [stderr]   --> src/pdf_parser/mod.rs:62:44
[INFO] [stderr]    |
[INFO] [stderr] 62 |     pub fn attempt(&self, password: &[u8], dict: &EncryptDict) -> Result<bool> {
[INFO] [stderr]    |                                            ^^^^ help: if this is intentional, prefix it with an underscore: `_dict`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `AES_SALT` is never used
[INFO] [stderr]  --> src/cracker/mod.rs:1:7
[INFO] [stderr]   |
[INFO] [stderr] 1 | const AES_SALT: [u8; 4] = [0x73, 0x41, 0x6C, 0x54];
[INFO] [stderr]   |       ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `PASSWORD_PAD` is never used
[INFO] [stderr]  --> src/cracker/mod.rs:3:7
[INFO] [stderr]   |
[INFO] [stderr] 3 | const PASSWORD_PAD: [u8; 32] = [
[INFO] [stderr]   |       ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `encrypt_type` is never read
[INFO] [stderr]   --> src/pdf_parser/mod.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr]  8 | pub struct PDF {
[INFO] [stderr]    |            --- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 12 |     encrypt_type: Option<EncryptType>,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `PDF` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]   --> src/pdf_parser/mod.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub struct EncryptDict {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 17 |     o: Vec<u8>,
[INFO] [stderr]    |     ^
[INFO] [stderr] 18 |     u: Vec<u8>,
[INFO] [stderr]    |     ^
[INFO] [stderr] 19 |     r: i64,
[INFO] [stderr]    |     ^
[INFO] [stderr] 20 |     v: i64,
[INFO] [stderr]    |     ^
[INFO] [stderr] 21 |     length: i64,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 22 |     file_id: Vec<u8>,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 23 |     filter: Vec<u8>,
[INFO] [stderr]    |     ^^^^^^
[INFO] [stderr] 24 |     subfilter: Option<Vec<u8>>,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 25 |     encrypt_metadata: Option<bool>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 26 |     p: i64,
[INFO] [stderr]    |     ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `EncryptDict` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `crackpdf` (lib) generated 7 warnings (run `cargo fix --lib -p crackpdf` to apply 2 suggestions)
[INFO] [stderr] warning: `crackpdf` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr] warning: unused variable: `pdf`
[INFO] [stderr]   --> src/main.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 19 |     let pdf = PDF::new(filepath);
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_pdf`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `crackpdf` (bin "crackpdf" test) generated 1 warning (run `cargo fix --bin "crackpdf" -p crackpdf --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/crackpdf-734765c90bf27942)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/crackpdf-68ee670d7a3982a6)
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests crackpdf
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a", kill_on_drop: false }`
[INFO] [stdout] 68f5c17e442c898485350d9c9d08170c2c62808b6ffe9c8cac4dfff77b85896a
