[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] checking pdf-rs/inspect-prim against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpdf-rs%2Finspect-prim" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pdf-rs/inspect-prim on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c38dc04ada9e36804513b62b7f67d8c9b4946e7e6f1392074e9a5be3f886d1b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1c38dc04ada9e36804513b62b7f67d8c9b4946e7e6f1392074e9a5be3f886d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c38dc04ada9e36804513b62b7f67d8c9b4946e7e6f1392074e9a5be3f886d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c38dc04ada9e36804513b62b7f67d8c9b4946e7e6f1392074e9a5be3f886d1b", kill_on_drop: false }` [INFO] [stdout] 1c38dc04ada9e36804513b62b7f67d8c9b4946e7e6f1392074e9a5be3f886d1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 304757e7289c4944e37761fdfbd9420d798f6b7e1f6d75ca0e258f10702570b9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "304757e7289c4944e37761fdfbd9420d798f6b7e1f6d75ca0e258f10702570b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling syn v1.0.15 [INFO] [stderr] Compiling encoding v0.1.0 (https://github.com/pdf-rs/encoding/#44cafed0) [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling imgui-sys v0.0.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking backtrace-sys v0.1.32 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking tuple v0.4.3 (https://github.com/s3bk/tuple#c1d2eef8) [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Compiling gl_generator v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Compiling derivative v1.0.3 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Checking backtrace v0.3.44 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking once_cell v0.2.4 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling glutin v0.9.2 [INFO] [stderr] Compiling gfx_gl v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking snafu v0.4.4 [INFO] [stderr] Checking gfx_core v0.7.2 [INFO] [stderr] Checking gfx v0.16.3 [INFO] [stderr] Checking gfx_device_gl v0.14.6 [INFO] [stderr] Compiling pdf_derive v0.1.19 (https://github.com/pdf-rs/pdf#23aa71a2) [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking imgui v0.0.15 [INFO] [stderr] Checking imgui-gfx-renderer v0.0.15 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.10 [INFO] [stderr] Checking wayland-client v0.9.10 [INFO] [stderr] Checking pdf v0.7.0 (https://github.com/pdf-rs/pdf#23aa71a2) [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking wayland-window v0.7.0 [INFO] [stderr] Checking winit v0.7.6 [INFO] [stderr] Checking gfx_window_glutin v0.17.0 [INFO] [stderr] Checking 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: 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] [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 1m 17s [INFO] running `Command { std: "docker" "inspect" "304757e7289c4944e37761fdfbd9420d798f6b7e1f6d75ca0e258f10702570b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "304757e7289c4944e37761fdfbd9420d798f6b7e1f6d75ca0e258f10702570b9", kill_on_drop: false }` [INFO] [stdout] 304757e7289c4944e37761fdfbd9420d798f6b7e1f6d75ca0e258f10702570b9