[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 try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschutt%2Fprintpdf" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fschutt/printpdf 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 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-10/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lopdf v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 58d590021f4959c89bb4069a0297147b56386cbe5638835e60af2aa431e75615 [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" "58d590021f4959c89bb4069a0297147b56386cbe5638835e60af2aa431e75615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58d590021f4959c89bb4069a0297147b56386cbe5638835e60af2aa431e75615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58d590021f4959c89bb4069a0297147b56386cbe5638835e60af2aa431e75615", kill_on_drop: false }` [INFO] [stdout] 58d590021f4959c89bb4069a0297147b56386cbe5638835e60af2aa431e75615 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 671947e95d78f0aa02423751baf2b09cd3543dacb8618caf82d66716cbf03fdd [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" "671947e95d78f0aa02423751baf2b09cd3543dacb8618caf82d66716cbf03fdd", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking weezl v0.1.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking bytemuck v1.4.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] Compiling libc v0.2.79 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [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 59.08s [INFO] running `Command { std: "docker" "inspect" "671947e95d78f0aa02423751baf2b09cd3543dacb8618caf82d66716cbf03fdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671947e95d78f0aa02423751baf2b09cd3543dacb8618caf82d66716cbf03fdd", kill_on_drop: false }` [INFO] [stdout] 671947e95d78f0aa02423751baf2b09cd3543dacb8618caf82d66716cbf03fdd