[INFO] fetching crate pdf 0.7.0... [INFO] checking pdf-0.7.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate pdf 0.7.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate pdf 0.7.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate pdf 0.7.0 [INFO] finished tweaking crates.io crate pdf 0.7.0 [INFO] tweaked toml for crates.io crate pdf 0.7.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pdf_derive v0.1.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41f79decf5a516122acc7c427cfed79f19943eb1454e2ab228d98ef3578fcf1f [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" "41f79decf5a516122acc7c427cfed79f19943eb1454e2ab228d98ef3578fcf1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41f79decf5a516122acc7c427cfed79f19943eb1454e2ab228d98ef3578fcf1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41f79decf5a516122acc7c427cfed79f19943eb1454e2ab228d98ef3578fcf1f", kill_on_drop: false }` [INFO] [stdout] 41f79decf5a516122acc7c427cfed79f19943eb1454e2ab228d98ef3578fcf1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20412acb43c2f4c82dc7af2775e9ee12769d59f8484476383e8a2414df4f22a5 [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" "20412acb43c2f4c82dc7af2775e9ee12769d59f8484476383e8a2414df4f22a5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking ordermap v0.2.13 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking backtrace v0.3.51 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking once_cell v0.2.4 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling snafu-derive v0.4.4 [INFO] [stderr] Compiling pdf_derive v0.1.20 [INFO] [stderr] Checking snafu v0.4.4 [INFO] [stderr] Checking pdf v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parse_with_lexer` [INFO] [stdout] --> src/font.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::parse_with_lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/font.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / macro_rules! fonts { [INFO] [stdout] 59 | | ( $( ($name:tt, $file:tt ), )* ) => { [INFO] [stdout] 60 | | &[ $( [INFO] [stdout] 61 | | ($name, &*include_bytes!(concat!(env!("STANDARD_FONTS"), "/", $file))), [INFO] [stdout] 62 | | )* ] [INFO] [stdout] 63 | | }; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/enc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/error.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/error.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parse_with_lexer` [INFO] [stdout] --> src/font.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::parse_with_lexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/font.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / macro_rules! fonts { [INFO] [stdout] 59 | | ( $( ($name:tt, $file:tt ), )* ) => { [INFO] [stdout] 60 | | &[ $( [INFO] [stdout] 61 | | ($name, &*include_bytes!(concat!(env!("STANDARD_FONTS"), "/", $file))), [INFO] [stdout] 62 | | )* ] [INFO] [stdout] 63 | | }; [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/enc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/error.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn dump_data(data: &[u8]) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/object/color.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | fn serialize(&self, out: &mut W) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/object/function.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | fn serialize(&self, out: &mut W) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/primitive.rs:274:32 [INFO] [stdout] | [INFO] [stdout] 274 | Primitive::Integer(n) => bail!("negative integer"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parser/mod.rs:196:65 [INFO] [stdout] | [INFO] [stdout] 196 | fn parse_stream_with_lexer(lexer: &mut Lexer, r: &impl Resolve, ctx: Option<&Context>) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/enc.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | fn dct_decode(data: &[u8], params: &DCTDecodeParams) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/error.rs:224:18 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn dump_data(data: &[u8]) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut xref_offset = t!(self.locate_xref_offset()); [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: unused variable: `out` [INFO] [stdout] --> src/object/color.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | fn serialize(&self, out: &mut W) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out` [INFO] [stdout] --> src/object/function.rs:52:39 [INFO] [stdout] | [INFO] [stdout] 52 | fn serialize(&self, out: &mut W) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/primitive.rs:274:32 [INFO] [stdout] | [INFO] [stdout] 274 | Primitive::Integer(n) => bail!("negative integer"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/parser/mod.rs:196:65 [INFO] [stdout] | [INFO] [stdout] 196 | fn parse_stream_with_lexer(lexer: &mut Lexer, r: &impl Resolve, ctx: Option<&Context>) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/enc.rs:197:28 [INFO] [stdout] | [INFO] [stdout] 197 | fn dct_decode(data: &[u8], params: &DCTDecodeParams) -> Result> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/object/stream.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | id: ObjNr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> tests/integration.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{str, fs}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/backend.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut xref_offset = t!(self.locate_xref_offset()); [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: field is never read: `id` [INFO] [stdout] --> src/object/stream.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | id: ObjNr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.71s [INFO] running `Command { std: "docker" "inspect" "20412acb43c2f4c82dc7af2775e9ee12769d59f8484476383e8a2414df4f22a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20412acb43c2f4c82dc7af2775e9ee12769d59f8484476383e8a2414df4f22a5", kill_on_drop: false }` [INFO] [stdout] 20412acb43c2f4c82dc7af2775e9ee12769d59f8484476383e8a2414df4f22a5