[INFO] cloning repository https://github.com/risperss/rpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/risperss/rpdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frisperss%2Frpdf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frisperss%2Frpdf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52d2599e0f3209f0f2dec4b7cbc6439c1a242271 [INFO] checking risperss/rpdf against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frisperss%2Frpdf" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/risperss/rpdf [INFO] finished tweaking git repo https://github.com/risperss/rpdf [INFO] tweaked toml for git repo https://github.com/risperss/rpdf written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/risperss/rpdf on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/risperss/rpdf 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc1d4935b473de78051e8ed26c6ab718e15cbf7d35719fec9fbf6bbdde9b159d [INFO] running `Command { std: "docker" "start" "-a" "dc1d4935b473de78051e8ed26c6ab718e15cbf7d35719fec9fbf6bbdde9b159d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc1d4935b473de78051e8ed26c6ab718e15cbf7d35719fec9fbf6bbdde9b159d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1d4935b473de78051e8ed26c6ab718e15cbf7d35719fec9fbf6bbdde9b159d", kill_on_drop: false }` [INFO] [stdout] dc1d4935b473de78051e8ed26c6ab718e15cbf7d35719fec9fbf6bbdde9b159d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8dd05b4ef38b3394b339823c49430e0577ae7371f7c1540c8a547727a83fa01 [INFO] running `Command { std: "docker" "start" "-a" "c8dd05b4ef38b3394b339823c49430e0577ae7371f7c1540c8a547727a83fa01", kill_on_drop: false }` [INFO] [stderr] Checking rpdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Type0` is never constructed [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum Subtype { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 3 | Type0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subtype` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `subtype` and `basefont` are never read [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Font { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | subtype: Subtype, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | basefont: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | struct Offsets(usize, usize); [INFO] [stdout] | ------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Offsets` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length`, `fontsize`, `body`, `font`, and `offsets` are never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Stream { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | fontsize: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | font: Font, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | offsets: Offsets, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | struct MediaBox(usize, usize, usize, usize); [INFO] [stdout] | -------- ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `MediaBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contents` and `mediabox` are never read [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | contents: Stream, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | mediabox: MediaBox, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kids` is never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Pages { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 36 | kids: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pages` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pages` is never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Catalog { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 41 | pages: Pages, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Catalog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Type0` is never constructed [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum Subtype { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 3 | Type0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Subtype` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `subtype` and `basefont` are never read [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Font { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | subtype: Subtype, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | basefont: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Font` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | struct Offsets(usize, usize); [INFO] [stdout] | ------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `Offsets` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `length`, `fontsize`, `body`, `font`, and `offsets` are never read [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Stream { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | length: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | fontsize: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | body: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | font: Font, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | offsets: Offsets, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stream` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | struct MediaBox(usize, usize, usize, usize); [INFO] [stdout] | -------- ^^^^^ ^^^^^ ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `MediaBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `contents` and `mediabox` are never read [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 30 | contents: Stream, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | mediabox: MediaBox, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kids` is never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Pages { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 36 | kids: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Pages` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pages` is never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct Catalog { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 41 | pages: Pages, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Catalog` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "c8dd05b4ef38b3394b339823c49430e0577ae7371f7c1540c8a547727a83fa01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8dd05b4ef38b3394b339823c49430e0577ae7371f7c1540c8a547727a83fa01", kill_on_drop: false }` [INFO] [stdout] c8dd05b4ef38b3394b339823c49430e0577ae7371f7c1540c8a547727a83fa01