[INFO] cloning repository https://github.com/fschutt/printpdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fschutt/printpdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fprintpdf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fprintpdf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 463a93d7fc8976403d24a8abadcda7e2f4578aec [INFO] checking fschutt/printpdf against master#d62d3f7fa9a91d933213cc10e20e740608983f64 for pr-77015 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fprintpdf" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fschutt/printpdf on toolchain d62d3f7fa9a91d933213cc10e20e740608983f64 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fschutt/printpdf [INFO] finished tweaking git repo https://github.com/fschutt/printpdf [INFO] tweaked toml for git repo https://github.com/fschutt/printpdf written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/fschutt/printpdf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 406807474d60a0a8561f5c3bd70aed44d8facaefb9761db19568791aeb3d8d8d [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" "406807474d60a0a8561f5c3bd70aed44d8facaefb9761db19568791aeb3d8d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "406807474d60a0a8561f5c3bd70aed44d8facaefb9761db19568791aeb3d8d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "406807474d60a0a8561f5c3bd70aed44d8facaefb9761db19568791aeb3d8d8d", kill_on_drop: false }` [INFO] [stdout] 406807474d60a0a8561f5c3bd70aed44d8facaefb9761db19568791aeb3d8d8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+d62d3f7fa9a91d933213cc10e20e740608983f64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4b21fce8e5e5c8a8b2e2c76ff75109fdee6d0f21cc898213586f6c05e7cc322 [INFO] running `Command { std: "docker" "start" "-a" "d4b21fce8e5e5c8a8b2e2c76ff75109fdee6d0f21cc898213586f6c05e7cc322", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking weezl v0.1.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking image v0.23.10 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking lopdf v0.26.0 [INFO] [stderr] Checking printpdf v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `time::OffsetDateTime::now`: This function returns a value with an offset of UTC, which is not apparent from its name alone. You should use `OffsetDateTime::now_utc()` instead. [INFO] [stdout] --> src/types/pdf_metadata.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let current_time = OffsetDateTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `time::OffsetDateTime::now`: This function returns a value with an offset of UTC, which is not apparent from its name alone. You should use `OffsetDateTime::now_utc()` instead. [INFO] [stdout] --> src/types/pdf_metadata.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let current_time = OffsetDateTime::now(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | Rusttype(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | Pdf(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | Index(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:46:30 [INFO] [stdout] | [INFO] [stdout] 46 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:68:30 [INFO] [stdout] | [INFO] [stdout] 68 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | Rusttype(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | Pdf(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors/mod.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | Index(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.25s [INFO] running `Command { std: "docker" "inspect" "d4b21fce8e5e5c8a8b2e2c76ff75109fdee6d0f21cc898213586f6c05e7cc322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b21fce8e5e5c8a8b2e2c76ff75109fdee6d0f21cc898213586f6c05e7cc322", kill_on_drop: false }` [INFO] [stdout] d4b21fce8e5e5c8a8b2e2c76ff75109fdee6d0f21cc898213586f6c05e7cc322