[INFO] cloning repository https://github.com/jacobmiller22/project-pdf
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacobmiller22/project-pdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobmiller22%2Fproject-pdf", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobmiller22%2Fproject-pdf'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2c6a811b05b46ff8f3a396fff66b63ffdb8fc077
[INFO] testing jacobmiller22/project-pdf against 1.90.0 for beta-1.91-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobmiller22%2Fproject-pdf" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jacobmiller22/project-pdf
[INFO] finished tweaking git repo https://github.com/jacobmiller22/project-pdf
[INFO] tweaked toml for git repo https://github.com/jacobmiller22/project-pdf written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jacobmiller22/project-pdf on toolchain 1.90.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jacobmiller22/project-pdf 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 63ba53a768daf827c632c7290266f28b25b7daa100578e6c7e991f792feb3d76
[INFO] running `Command { std: "docker" "start" "-a" "63ba53a768daf827c632c7290266f28b25b7daa100578e6c7e991f792feb3d76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "63ba53a768daf827c632c7290266f28b25b7daa100578e6c7e991f792feb3d76", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63ba53a768daf827c632c7290266f28b25b7daa100578e6c7e991f792feb3d76", kill_on_drop: false }`
[INFO] [stdout] 63ba53a768daf827c632c7290266f28b25b7daa100578e6c7e991f792feb3d76
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c3ad50b682cd8f00efa43a06eec8c6a24d236261e0bcb15ac61754bbabcf72fa
[INFO] running `Command { std: "docker" "start" "-a" "c3ad50b682cd8f00efa43a06eec8c6a24d236261e0bcb15ac61754bbabcf72fa", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling project-pdf v0.1.0 (/opt/rustwide/workdir/project-pdf)
[INFO] [stdout] warning: unused import: `Display`
[INFO] [stdout]  --> project-pdf/src/lexer/mod.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{self, Display};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:11:37
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn header_offset<'a>(&mut self, buf: &'a [u8]) -> Result<usize, PDFProcessingError> {
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         buf: &[u8],
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |         buf: &[u8],
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         buf: &[u8],
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> project-pdf/src/lib.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         buf: &[u8],
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling read-doc v0.1.0 (/opt/rustwide/workdir/examples/read-doc)
[INFO] [stdout] warning: unused import: `project_pdf`
[INFO] [stdout]  --> examples/read-doc/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use project_pdf;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `env`, and `fs::File`
[INFO] [stdout]  --> examples/read-doc/src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     env,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 4 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 5 |     io::{self, Read},
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.62s
[INFO] running `Command { std: "docker" "inspect" "c3ad50b682cd8f00efa43a06eec8c6a24d236261e0bcb15ac61754bbabcf72fa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c3ad50b682cd8f00efa43a06eec8c6a24d236261e0bcb15ac61754bbabcf72fa", kill_on_drop: false }`
[INFO] [stdout] c3ad50b682cd8f00efa43a06eec8c6a24d236261e0bcb15ac61754bbabcf72fa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cc0efe8f0b9cc5bf9263836f3a1a3ae7014c3d97ef6572868d3fd8b92171ad43
[INFO] running `Command { std: "docker" "start" "-a" "cc0efe8f0b9cc5bf9263836f3a1a3ae7014c3d97ef6572868d3fd8b92171ad43", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stdout] warning: unused import: `Display`
[INFO] [stdout]  --> project-pdf/src/lexer/mod.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{self, Display};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling project-pdf v0.1.0 (/opt/rustwide/workdir/project-pdf)
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:11:37
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn header_offset<'a>(&mut self, buf: &'a [u8]) -> Result<usize, PDFProcessingError> {
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling read-doc v0.1.0 (/opt/rustwide/workdir/examples/read-doc)
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         buf: &[u8],
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |         buf: &[u8],
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         buf: &[u8],
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> project-pdf/src/lib.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         buf: &[u8],
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `project_pdf`
[INFO] [stdout]  --> examples/read-doc/src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use project_pdf;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `env`, and `fs::File`
[INFO] [stdout]  --> examples/read-doc/src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     env,
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 4 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 5 |     io::{self, Read},
[INFO] [stdout]   |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Display`
[INFO] [stdout]  --> project-pdf/src/lexer/mod.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fmt::{self, Display};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:11:37
[INFO] [stdout]    |
[INFO] [stdout] 11 |     fn header_offset<'a>(&mut self, buf: &'a [u8]) -> Result<usize, PDFProcessingError> {
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         buf: &[u8],
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 80 |         buf: &[u8],
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]   --> project-pdf/src/lib.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         buf: &[u8],
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> project-pdf/src/lib.rs:104:9
[INFO] [stdout]     |
[INFO] [stdout] 104 |         buf: &[u8],
[INFO] [stdout]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xref_offset`
[INFO] [stdout]    --> project-pdf/src/lib.rs:318:13
[INFO] [stdout]     |
[INFO] [stdout] 318 |         let xref_offset = pdf
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xref_offset`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] running `Command { std: "docker" "inspect" "cc0efe8f0b9cc5bf9263836f3a1a3ae7014c3d97ef6572868d3fd8b92171ad43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc0efe8f0b9cc5bf9263836f3a1a3ae7014c3d97ef6572868d3fd8b92171ad43", kill_on_drop: false }`
[INFO] [stdout] cc0efe8f0b9cc5bf9263836f3a1a3ae7014c3d97ef6572868d3fd8b92171ad43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c302c7203be17573c1172efca37818383394e55f0dea3f0718bf4431f4c6f6c7
[INFO] running `Command { std: "docker" "start" "-a" "c302c7203be17573c1172efca37818383394e55f0dea3f0718bf4431f4c6f6c7", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: unused import: `Display`
[INFO] [stderr]  --> project-pdf/src/lexer/mod.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::fmt::{self, Display};
[INFO] [stderr]   |                      ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf`
[INFO] [stderr]   --> project-pdf/src/lib.rs:11:37
[INFO] [stderr]    |
[INFO] [stderr] 11 |     fn header_offset<'a>(&mut self, buf: &'a [u8]) -> Result<usize, PDFProcessingError> {
[INFO] [stderr]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf`
[INFO] [stderr]   --> project-pdf/src/lib.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 19 |         buf: &[u8],
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf`
[INFO] [stderr]   --> project-pdf/src/lib.rs:80:9
[INFO] [stderr]    |
[INFO] [stderr] 80 |         buf: &[u8],
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf`
[INFO] [stderr]   --> project-pdf/src/lib.rs:92:9
[INFO] [stderr]    |
[INFO] [stderr] 92 |         buf: &[u8],
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `buf`
[INFO] [stderr]    --> project-pdf/src/lib.rs:104:9
[INFO] [stderr]     |
[INFO] [stderr] 104 |         buf: &[u8],
[INFO] [stderr]     |         ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stderr] 
[INFO] [stderr] warning: `project-pdf` (lib) generated 6 warnings (run `cargo fix --lib -p project-pdf` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `project_pdf`
[INFO] [stderr]  --> examples/read-doc/src/main.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use project_pdf;
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Read`, `env`, and `fs::File`
[INFO] [stderr]  --> examples/read-doc/src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     env,
[INFO] [stderr]   |     ^^^
[INFO] [stderr] 4 |     fs::File,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 5 |     io::{self, Read},
[INFO] [stderr]   |                ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `xref_offset`
[INFO] [stderr]    --> project-pdf/src/lib.rs:318:13
[INFO] [stderr]     |
[INFO] [stderr] 318 |         let xref_offset = pdf
[INFO] [stderr]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_xref_offset`
[INFO] [stderr] 
[INFO] [stderr] warning: `read-doc` (bin "read-doc" test) generated 2 warnings (run `cargo fix --bin "read-doc" --tests` to apply 2 suggestions)
[INFO] [stderr] warning: `project-pdf` (lib test) generated 7 warnings (6 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/project_pdf-bdd78f896d53d2b4)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test tests::test_parse_literalstring ... ok
[INFO] [stdout] test lexer::tests::it_works ... ok
[INFO] [stdout] test tests::test_xref_offset ... ok
[INFO] [stdout] test tests::test_parse_xref ... FAILED
[INFO] [stderr] error: test failed, to rerun pass `-p project-pdf --lib`
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_parse_xref stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_parse_xref' panicked at project-pdf/src/lib.rs:312:43:
[INFO] [stdout] Failed to read file: Os { code: 2, kind: NotFound, message: "No such file or directory" }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5e707a186672 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5e707a186672 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5e707a186672 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5e707a186672 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hdcfcb6d4c8489523
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5e707a1ab873 - core::fmt::rt::Argument::fmt::h2c56b3114963061a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5e707a1ab873 - core::fmt::write::h8a494366950f23bb
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25
[INFO] [stdout]    6:     0x5e707a1835f3 - std::io::default_write_fmt::h7b8824096454f323
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5e707a1835f3 - std::io::Write::write_fmt::h4e71294925c334d0
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5e707a1864c2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5e707a187be9 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5e707a187a1e - std::panicking::default_hook::h2c66fc99e962531d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5e707a148984 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb6bd65493727d71a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5e707a148984 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5e707a1885be - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h318e4efb8c1a5689
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5e707a1885be - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5e707a18838a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13
[INFO] [stdout]   16:     0x5e707a186b69 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18
[INFO] [stdout]   17:     0x5e707a18801d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5
[INFO] [stdout]   18:     0x5e707a1aa360 - core::panicking::panic_fmt::h62f63d096dd276af
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14
[INFO] [stdout]   19:     0x5e707a1aa726 - core::result::unwrap_failed::h95bc3f5a607b2c95
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1765:5
[INFO] [stdout]   20:     0x5e707a10b0dc - core::result::Result<T,E>::expect::hc65a35ad7d7cca68
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/result.rs:1119:23
[INFO] [stdout]   21:     0x5e707a10f32d - project_pdf::tests::test_parse_xref::h539903043186c142
[INFO] [stdout]                                at /opt/rustwide/workdir/project-pdf/src/lib.rs:312:43
[INFO] [stdout]   22:     0x5e707a10f2b7 - project_pdf::tests::test_parse_xref::{{closure}}::h2f22b7d18efa5692
[INFO] [stdout]                                at /opt/rustwide/workdir/project-pdf/src/lib.rs:303:25
[INFO] [stdout]   23:     0x5e707a109a96 - core::ops::function::FnOnce::call_once::h087526fd28d648a7
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   24:     0x5e707a14e1eb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   25:     0x5e707a14e1eb - test::__rust_begin_short_backtrace::ha52ab26e77157f03
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18
[INFO] [stdout]   26:     0x5e707a14d325 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74
[INFO] [stdout]   27:     0x5e707a14d325 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x5e707a14d325 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x5e707a14d325 - std::panicking::catch_unwind::h6deb5fe1e91873c9
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x5e707a14d325 - std::panic::catch_unwind::hea0829b6b565654b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5e707a14d325 - test::run_test_in_process::hdc44dfecea3db21b
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27
[INFO] [stdout]   32:     0x5e707a14d325 - test::run_test::{{closure}}::h0364ba59bf23f652
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43
[INFO] [stdout]   33:     0x5e707a110f24 - test::run_test::{{closure}}::h32730b304eec05da
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41
[INFO] [stdout]   34:     0x5e707a110f24 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18
[INFO] [stdout]   35:     0x5e707a1148fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   36:     0x5e707a1148fa - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x5e707a1148fa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40
[INFO] [stdout]   38:     0x5e707a1148fa - std::panicking::catch_unwind::he81557d0e17cc1bc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19
[INFO] [stdout]   39:     0x5e707a1148fa - std::panic::catch_unwind::hc2b8e79c20593955
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5e707a1148fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   41:     0x5e707a1148fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5
[INFO] [stdout]   42:     0x5e707a18b53f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h5924238c754de3b8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5e707a18b53f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8
[INFO] [stdout]                                at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17
[INFO] [stdout]   44:     0x7e164e7dbaa4 - <unknown>
[INFO] [stdout]   45:     0x7e164e868a34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_parse_xref
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "c302c7203be17573c1172efca37818383394e55f0dea3f0718bf4431f4c6f6c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c302c7203be17573c1172efca37818383394e55f0dea3f0718bf4431f4c6f6c7", kill_on_drop: false }`
[INFO] [stdout] c302c7203be17573c1172efca37818383394e55f0dea3f0718bf4431f4c6f6c7
