[INFO] cloning repository https://github.com/iwot/texttopdf-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iwot/texttopdf-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwot%2Ftexttopdf-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwot%2Ftexttopdf-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0eb47555cde8a71d19e3409c4f080acfffe28d16 [INFO] checking iwot/texttopdf-rs against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiwot%2Ftexttopdf-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iwot/texttopdf-rs [INFO] finished tweaking git repo https://github.com/iwot/texttopdf-rs [INFO] tweaked toml for git repo https://github.com/iwot/texttopdf-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iwot/texttopdf-rs on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iwot/texttopdf-rs 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encoding_rs v0.8.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccc9f9d5405b0492883bcc95d0b202debc6b3195d6f322b2e18758543cd5b610 [INFO] running `Command { std: "docker" "start" "-a" "ccc9f9d5405b0492883bcc95d0b202debc6b3195d6f322b2e18758543cd5b610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccc9f9d5405b0492883bcc95d0b202debc6b3195d6f322b2e18758543cd5b610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccc9f9d5405b0492883bcc95d0b202debc6b3195d6f322b2e18758543cd5b610", kill_on_drop: false }` [INFO] [stdout] ccc9f9d5405b0492883bcc95d0b202debc6b3195d6f322b2e18758543cd5b610 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0667109c59f58fb7207d47f2388beeb245980adbdb74adefcd6ddbfd1fa0972b [INFO] running `Command { std: "docker" "start" "-a" "0667109c59f58fb7207d47f2388beeb245980adbdb74adefcd6ddbfd1fa0972b", kill_on_drop: false }` [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking texttopdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoding_used` [INFO] [stdout] --> src/pdf.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let (cow, encoding_used, had_errors) = SHIFT_JIS.encode(s); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoding_used` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `had_errors` [INFO] [stdout] --> src/pdf.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | let (cow, encoding_used, had_errors) = SHIFT_JIS.encode(s); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_had_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Null` and `Bool` are never constructed [INFO] [stdout] --> src/pdf.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum PDFElem { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 7 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDFElem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `encoding_used` [INFO] [stdout] --> src/pdf.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | let (cow, encoding_used, had_errors) = SHIFT_JIS.encode(s); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoding_used` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `had_errors` [INFO] [stdout] --> src/pdf.rs:36:34 [INFO] [stdout] | [INFO] [stdout] 36 | let (cow, encoding_used, had_errors) = SHIFT_JIS.encode(s); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_had_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Null` and `Bool` are never constructed [INFO] [stdout] --> src/pdf.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum PDFElem { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 7 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PDFElem` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "0667109c59f58fb7207d47f2388beeb245980adbdb74adefcd6ddbfd1fa0972b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0667109c59f58fb7207d47f2388beeb245980adbdb74adefcd6ddbfd1fa0972b", kill_on_drop: false }` [INFO] [stdout] 0667109c59f58fb7207d47f2388beeb245980adbdb74adefcd6ddbfd1fa0972b