[INFO] cloning repository https://github.com/pdf-rs/inspect-prim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pdf-rs/inspect-prim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdf-rs%2Finspect-prim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdf-rs%2Finspect-prim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2b1048e350cb25bcab3f29f641ecb509e2d0630 [INFO] testing pdf-rs/inspect-prim against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdf-rs%2Finspect-prim" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pdf-rs/inspect-prim on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pdf-rs/inspect-prim [INFO] finished tweaking git repo https://github.com/pdf-rs/inspect-prim [INFO] tweaked toml for git repo https://github.com/pdf-rs/inspect-prim written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pdf-rs/inspect-prim 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.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/pdf-rs/pdf` [INFO] [stderr] Updating git repository `https://github.com/pdf-rs/encoding/` [INFO] [stderr] Updating git submodule `https://github.com/adobe-type-tools/agl-aglfn` [INFO] [stderr] Updating git repository `https://github.com/s3bk/tuple` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded snafu v0.4.4 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded dwmapi-sys v0.1.1 [INFO] [stderr] Downloaded gfx_gl v0.4.0 [INFO] [stderr] Downloaded user32-sys v0.1.3 [INFO] [stderr] Downloaded gl_generator v0.7.0 [INFO] [stderr] Downloaded wayland-client v0.9.10 [INFO] [stderr] Downloaded wayland-protocols v0.9.10 [INFO] [stderr] Downloaded imgui-sys v0.0.15 [INFO] [stderr] Downloaded winit v0.7.6 [INFO] [stderr] Downloaded glutin v0.9.2 [INFO] [stderr] Downloaded imgui v0.0.15 [INFO] [stderr] Downloaded gfx_device_gl v0.14.6 [INFO] [stderr] Downloaded wayland-scanner v0.9.10 [INFO] [stderr] Downloaded wayland-window v0.7.0 [INFO] [stderr] Downloaded gfx_window_glutin v0.17.0 [INFO] [stderr] Downloaded gdi32-sys v0.1.2 [INFO] [stderr] Downloaded wayland-sys v0.9.10 [INFO] [stderr] Downloaded gfx_core v0.7.2 [INFO] [stderr] Downloaded gfx v0.16.3 [INFO] [stderr] Downloaded once_cell v0.2.4 [INFO] [stderr] Downloaded snafu-derive v0.4.4 [INFO] [stderr] Downloaded imgui-gfx-renderer v0.0.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a26c762d8164634967251f9da6cfe8c664d4d32259d89f9b38f2c7ad9f55f6c7 [INFO] running `Command { std: "docker" "start" "-a" "a26c762d8164634967251f9da6cfe8c664d4d32259d89f9b38f2c7ad9f55f6c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a26c762d8164634967251f9da6cfe8c664d4d32259d89f9b38f2c7ad9f55f6c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a26c762d8164634967251f9da6cfe8c664d4d32259d89f9b38f2c7ad9f55f6c7", kill_on_drop: false }` [INFO] [stdout] a26c762d8164634967251f9da6cfe8c664d4d32259d89f9b38f2c7ad9f55f6c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f253ccb329c57587312e44534e239770de74d37802844d314d2a5ac9fe5637a [INFO] running `Command { std: "docker" "start" "-a" "0f253ccb329c57587312e44534e239770de74d37802844d314d2a5ac9fe5637a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling draw_state v0.7.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling imgui-sys v0.0.15 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling encoding v0.1.0 (https://github.com/pdf-rs/encoding/#44cafed0) [INFO] [stderr] Compiling backtrace v0.3.44 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling itertools v0.6.5 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Compiling once_cell v0.2.4 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling ordermap v0.2.13 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling tuple v0.4.3 (https://github.com/s3bk/tuple#c1d2eef8) [INFO] [stderr] Compiling pdf_derive v0.1.19 (https://github.com/pdf-rs/pdf#23aa71a2) [INFO] [stderr] Compiling snafu v0.4.4 [INFO] [stderr] Compiling gfx_core v0.7.2 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling gfx v0.16.3 [INFO] [stderr] Compiling gfx_device_gl v0.14.6 [INFO] [stderr] Compiling pdf v0.7.0 (https://github.com/pdf-rs/pdf#23aa71a2) [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling imgui v0.0.15 [INFO] [stderr] Compiling imgui-gfx-renderer v0.0.15 [INFO] [stderr] Compiling wayland-window v0.7.0 [INFO] [stderr] Compiling winit v0.7.6 [INFO] [stderr] Compiling gfx_window_glutin v0.17.0 [INFO] [stderr] Compiling pdf-inspect v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf::*` [INFO] [stdout] --> src/search.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pdf::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::*` [INFO] [stdout] --> src/search.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use backend::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/support_gfx.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use gfx::{self, Device}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_window_glutin` is imported redundantly [INFO] [stdout] --> src/support_gfx.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use gfx_window_glutin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gfx_window_glutin; [INFO] [stdout] | ------------------------------- the item `gfx_window_glutin` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glutin` is imported redundantly [INFO] [stdout] --> src/support_gfx.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use glutin::{self, GlContext}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate glutin; [INFO] [stdout] | -------------------- the item `glutin` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let mut search_paths = &mut *search_paths.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut storage = pdf::file::Storage::new(data, xref_tab); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut search_paths = RefCell::new(Vec::new()); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.54s [INFO] running `Command { std: "docker" "inspect" "0f253ccb329c57587312e44534e239770de74d37802844d314d2a5ac9fe5637a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f253ccb329c57587312e44534e239770de74d37802844d314d2a5ac9fe5637a", kill_on_drop: false }` [INFO] [stdout] 0f253ccb329c57587312e44534e239770de74d37802844d314d2a5ac9fe5637a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5ba1cbb0bb7de1c197baefdefa6d05848f8d1c10a186db0bd4341de3ec36014 [INFO] running `Command { std: "docker" "start" "-a" "a5ba1cbb0bb7de1c197baefdefa6d05848f8d1c10a186db0bd4341de3ec36014", kill_on_drop: false }` [INFO] [stderr] Compiling pdf-inspect v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pdf::*` [INFO] [stdout] --> src/search.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pdf::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::*` [INFO] [stdout] --> src/search.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use backend::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx` is imported redundantly [INFO] [stdout] --> src/support_gfx.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use gfx::{self, Device}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate gfx; [INFO] [stdout] | ----------------- the item `gfx` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `gfx_window_glutin` is imported redundantly [INFO] [stdout] --> src/support_gfx.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use gfx_window_glutin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate gfx_window_glutin; [INFO] [stdout] | ------------------------------- the item `gfx_window_glutin` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `glutin` is imported redundantly [INFO] [stdout] --> src/support_gfx.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use glutin::{self, GlContext}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate glutin; [INFO] [stdout] | -------------------- the item `glutin` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | let mut search_paths = &mut *search_paths.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let mut storage = pdf::file::Storage::new(data, xref_tab); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let mut search_paths = RefCell::new(Vec::new()); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "a5ba1cbb0bb7de1c197baefdefa6d05848f8d1c10a186db0bd4341de3ec36014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5ba1cbb0bb7de1c197baefdefa6d05848f8d1c10a186db0bd4341de3ec36014", kill_on_drop: false }` [INFO] [stdout] a5ba1cbb0bb7de1c197baefdefa6d05848f8d1c10a186db0bd4341de3ec36014 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b64a7e11899510cd6dc7cf9a3d45f5b64796de6ca0f280092a83cf3445c166f [INFO] running `Command { std: "docker" "start" "-a" "8b64a7e11899510cd6dc7cf9a3d45f5b64796de6ca0f280092a83cf3445c166f", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `pdf::*` [INFO] [stderr] --> src/search.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use pdf::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `backend::*` [INFO] [stderr] --> src/search.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use backend::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `gfx` is imported redundantly [INFO] [stderr] --> src/support_gfx.rs:12:15 [INFO] [stderr] | [INFO] [stderr] 12 | use gfx::{self, Device}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | extern crate gfx; [INFO] [stderr] | ----------------- the item `gfx` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `gfx_window_glutin` is imported redundantly [INFO] [stderr] --> src/support_gfx.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | use gfx_window_glutin; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate gfx_window_glutin; [INFO] [stderr] | ------------------------------- the item `gfx_window_glutin` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `glutin` is imported redundantly [INFO] [stderr] --> src/support_gfx.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | use glutin::{self, GlContext}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | extern crate glutin; [INFO] [stderr] | -------------------- the item `glutin` is already imported here [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:52:25 [INFO] [stderr] | [INFO] [stderr] 52 | let mut search_paths = &mut *search_paths.borrow_mut(); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | let mut storage = pdf::file::Storage::new(data, xref_tab); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | let mut search_paths = RefCell::new(Vec::new()); [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `pdf-inspect` (bin "pdf-inspect" test) generated 9 warnings (run `cargo fix --bin "pdf-inspect" --tests` to apply 5 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pdf_inspect-4657dafc87da0a6c) [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" "8b64a7e11899510cd6dc7cf9a3d45f5b64796de6ca0f280092a83cf3445c166f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b64a7e11899510cd6dc7cf9a3d45f5b64796de6ca0f280092a83cf3445c166f", kill_on_drop: false }` [INFO] [stdout] 8b64a7e11899510cd6dc7cf9a3d45f5b64796de6ca0f280092a83cf3445c166f