[INFO] cloning repository https://github.com/Ploppz/ren-pdf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ploppz/ren-pdf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPloppz%2Fren-pdf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPloppz%2Fren-pdf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15134d3cd305795332492eda254eae3583d68ff2 [INFO] checking Ploppz/ren-pdf against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPloppz%2Fren-pdf" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ploppz/ren-pdf 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/Ploppz/ren-pdf [INFO] removed path dependency pdf from git repo https://github.com/Ploppz/ren-pdf [INFO] finished tweaking git repo https://github.com/Ploppz/ren-pdf [INFO] tweaked toml for git repo https://github.com/Ploppz/ren-pdf written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Ploppz/ren-pdf 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] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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] Downloading crates ... [INFO] [stderr] Downloaded snafu-derive v0.4.4 [INFO] [stderr] Downloaded snafu v0.4.4 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded error-chain v0.9.0 [INFO] [stderr] Downloaded backtrace v0.2.3 [INFO] [stderr] Downloaded glutin v0.6.2 [INFO] [stderr] Downloaded smallvec v0.1.8 [INFO] [stderr] Downloaded cgmath v0.12.0 [INFO] [stderr] Downloaded glium v0.15.0 [INFO] [stderr] Downloaded stb_truetype v0.2.8 [INFO] [stderr] Downloaded rusttype v0.2.4 [INFO] [stderr] Downloaded once_cell v0.2.4 [INFO] [stderr] Downloaded pdf_derive v0.1.20 [INFO] [stderr] Downloaded pdf v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] ce4e30ae4b7b362e26fd44491b22361350fe4d6e527cf6839c799b2dde4f9645 [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" "ce4e30ae4b7b362e26fd44491b22361350fe4d6e527cf6839c799b2dde4f9645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce4e30ae4b7b362e26fd44491b22361350fe4d6e527cf6839c799b2dde4f9645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce4e30ae4b7b362e26fd44491b22361350fe4d6e527cf6839c799b2dde4f9645", kill_on_drop: false }` [INFO] [stdout] ce4e30ae4b7b362e26fd44491b22361350fe4d6e527cf6839c799b2dde4f9645 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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] 49b6e6e618bf80532bdebbd82163e19d55f64ef839a400179a3c9d7b29a4dd62 [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" "49b6e6e618bf80532bdebbd82163e19d55f64ef839a400179a3c9d7b29a4dd62", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking rusttype v0.2.4 [INFO] [stderr] Checking backtrace v0.3.52 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking error-chain v0.9.0 [INFO] [stderr] Checking cgmath v0.12.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking once_cell v0.2.4 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling target_build_utils v0.3.1 [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] Compiling libloading v0.3.4 [INFO] [stderr] Checking pdf v0.7.0 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.5.11 [INFO] [stderr] Checking wayland-window v0.2.3 [INFO] [stderr] Checking wayland-kbd v0.3.6 [INFO] [stderr] Checking ren-pdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `pdf::Content` [INFO] [stdout] --> src/graphics/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use pdf::Content; [INFO] [stdout] | ^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `content` [INFO] [stdout] | no `Content` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pdf::doc` [INFO] [stdout] --> src/graphics/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | use pdf::doc::{Object, Document}; [INFO] [stdout] | ^^^ could not find `doc` in `pdf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pdf::doc` [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use pdf::doc::Document; [INFO] [stdout] | ^^^ could not find `doc` in `pdf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pdf::Content` [INFO] [stdout] --> src/graphics/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use pdf::Content; [INFO] [stdout] | ^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module (notice the capitalization): `content` [INFO] [stdout] | no `Content` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pdf::doc` [INFO] [stdout] --> src/graphics/mod.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | use pdf::doc::{Object, Document}; [INFO] [stdout] | ^^^ could not find `doc` in `pdf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pdf::doc` [INFO] [stdout] --> src/main.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | use pdf::doc::Document; [INFO] [stdout] | ^^^ could not find `doc` in `pdf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Content` in crate `pdf` [INFO] [stdout] --> src/graphics/mod.rs:76:69 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_page_content(&mut self, page_nr: i32) -> Result { [INFO] [stdout] | ^^^^^^^ not found in `pdf` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use glium::buffer::Content; [INFO] [stdout] | [INFO] [stdout] 3 | use pdf::content::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `pdf` [INFO] [stdout] --> src/err.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | Pdf(pdf::Error, pdf::ErrorKind); [INFO] [stdout] | ^^^^^ not found in `pdf` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use Error; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::example_generated::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::example_generated::inner::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::mock::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrorKind` in crate `pdf` [INFO] [stdout] --> src/err.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | Pdf(pdf::Error, pdf::ErrorKind); [INFO] [stdout] | ^^^^^^^^^ not found in `pdf` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ErrorKind; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::example_generated::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::example_generated::inner::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::mock::ErrorKind; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Object` is private [INFO] [stdout] --> src/graphics/mod.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | &file::Object::String (ref s) => { [INFO] [stdout] | ^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Object` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pdf-0.7.0/src/file.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Object` is private [INFO] [stdout] --> src/graphics/mod.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | &file::Object::Integer (n) => { [INFO] [stdout] | ^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Object` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pdf-0.7.0/src/file.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Object` is private [INFO] [stdout] --> src/graphics/mod.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | file::Object::Stream (_) => content.as_stream()?, [INFO] [stdout] | ^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Object` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pdf-0.7.0/src/file.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Object` is private [INFO] [stdout] --> src/graphics/mod.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | file::Object::Array (_) => content.as_array()?.get(0).as_stream()?, [INFO] [stdout] | ^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Object` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pdf-0.7.0/src/file.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/vec.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | (self.x * self.x + self.y * self.y) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Content` in crate `pdf` [INFO] [stdout] --> src/graphics/mod.rs:76:69 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn get_page_content(&mut self, page_nr: i32) -> Result { [INFO] [stdout] | ^^^^^^^ not found in `pdf` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use glium::buffer::Content; [INFO] [stdout] | [INFO] [stdout] 3 | use pdf::content::Content; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in crate `pdf` [INFO] [stdout] --> src/err.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | Pdf(pdf::Error, pdf::ErrorKind); [INFO] [stdout] | ^^^^^ not found in `pdf` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use Error; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::example_generated::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::example_generated::inner::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::mock::Error; [INFO] [stdout] | [INFO] [stdout] and 3 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ErrorKind` in crate `pdf` [INFO] [stdout] --> src/err.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | Pdf(pdf::Error, pdf::ErrorKind); [INFO] [stdout] | ^^^^^^^^^ not found in `pdf` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use ErrorKind; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::example_generated::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::example_generated::inner::ErrorKind; [INFO] [stdout] | [INFO] [stdout] 1 | use error_chain::mock::ErrorKind; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Object` is private [INFO] [stdout] --> src/graphics/mod.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | &file::Object::String (ref s) => { [INFO] [stdout] | ^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Object` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pdf-0.7.0/src/file.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Object` is private [INFO] [stdout] --> src/graphics/mod.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | &file::Object::Integer (n) => { [INFO] [stdout] | ^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Object` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pdf-0.7.0/src/file.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Object` is private [INFO] [stdout] --> src/graphics/mod.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | file::Object::Stream (_) => content.as_stream()?, [INFO] [stdout] | ^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Object` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pdf-0.7.0/src/file.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Object` is private [INFO] [stdout] --> src/graphics/mod.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | file::Object::Array (_) => content.as_array()?.get(0).as_stream()?, [INFO] [stdout] | ^^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Object` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/pdf-0.7.0/src/file.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::object::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/vec.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | (self.x * self.x + self.y * self.y) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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/err.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | // The type defined for this error. These are the conventional [INFO] [stdout] 5 | | // and recommended names, but they can be arbitrarily chosen. [INFO] [stdout] 6 | | // [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/err.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | // The type defined for this error. These are the conventional [INFO] [stdout] 5 | | // and recommended names, but they can be arbitrarily chosen. [INFO] [stdout] 6 | | // [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/err.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | // The type defined for this error. These are the conventional [INFO] [stdout] 5 | | // and recommended names, but they can be arbitrarily chosen. [INFO] [stdout] 6 | | // [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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/err.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | // The type defined for this error. These are the conventional [INFO] [stdout] 5 | | // and recommended names, but they can be arbitrarily chosen. [INFO] [stdout] 6 | | // [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `String` found for trait object `(dyn Object + 'static)` in the current scope [INFO] [stdout] --> src/graphics/mod.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | &file::Object::String (ref s) => { [INFO] [stdout] | ^^^^^^ associated item not found in `(dyn Object + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `String` found for trait object `(dyn Object + 'static)` in the current scope [INFO] [stdout] --> src/graphics/mod.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | &file::Object::String (ref s) => { [INFO] [stdout] | ^^^^^^ associated item not found in `(dyn Object + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Object` cannot be made into an object [INFO] [stdout] --> src/graphics/mod.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | &file::Object::String (ref s) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Object` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] = note: the trait cannot be made into an object because it requires `Self: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Object` cannot be made into an object [INFO] [stdout] --> src/graphics/mod.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | &file::Object::String (ref s) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Object` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] = note: the trait cannot be made into an object because it requires `Self: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Integer` found for trait object `(dyn Object + 'static)` in the current scope [INFO] [stdout] --> src/graphics/mod.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | &file::Object::Integer (n) => { [INFO] [stdout] | ^^^^^^^ associated item not found in `(dyn Object + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Integer` found for trait object `(dyn Object + 'static)` in the current scope [INFO] [stdout] --> src/graphics/mod.rs:62:40 [INFO] [stdout] | [INFO] [stdout] 62 | &file::Object::Integer (n) => { [INFO] [stdout] | ^^^^^^^ associated item not found in `(dyn Object + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Object` cannot be made into an object [INFO] [stdout] --> src/graphics/mod.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | &file::Object::Integer (n) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Object` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] = note: the trait cannot be made into an object because it requires `Self: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Object` cannot be made into an object [INFO] [stdout] --> src/graphics/mod.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | &file::Object::Integer (n) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `Object` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] = note: the trait cannot be made into an object because it requires `Self: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Stream` found for trait object `(dyn Object + 'static)` in the current scope [INFO] [stdout] --> src/graphics/mod.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | file::Object::Stream (_) => content.as_stream()?, [INFO] [stdout] | ^^^^^^ associated item not found in `(dyn Object + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Stream` found for trait object `(dyn Object + 'static)` in the current scope [INFO] [stdout] --> src/graphics/mod.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | file::Object::Stream (_) => content.as_stream()?, [INFO] [stdout] | ^^^^^^ associated item not found in `(dyn Object + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Array` found for trait object `(dyn Object + 'static)` in the current scope [INFO] [stdout] --> src/graphics/mod.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | file::Object::Array (_) => content.as_array()?.get(0).as_stream()?, [INFO] [stdout] | ^^^^^ associated item not found in `(dyn Object + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Array` found for trait object `(dyn Object + 'static)` in the current scope [INFO] [stdout] --> src/graphics/mod.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 81 | file::Object::Array (_) => content.as_array()?.get(0).as_stream()?, [INFO] [stdout] | ^^^^^ associated item not found in `(dyn Object + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Object` cannot be made into an object [INFO] [stdout] --> src/graphics/mod.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | file::Object::Stream (_) => content.as_stream()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Object` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] = note: the trait cannot be made into an object because it requires `Self: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `Object` cannot be made into an object [INFO] [stdout] --> src/graphics/mod.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | file::Object::Stream (_) => content.as_stream()?, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Object` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] = note: the trait cannot be made into an object because it requires `Self: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/err.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | // The type defined for this error. These are the conventional [INFO] [stdout] 5 | | // and recommended names, but they can be arbitrarily chosen. [INFO] [stdout] 6 | | // [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/err.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / error_chain! { [INFO] [stdout] 4 | | // The type defined for this error. These are the conventional [INFO] [stdout] 5 | | // and recommended names, but they can be arbitrarily chosen. [INFO] [stdout] 6 | | // [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0412, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0412, E0432, E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ren-pdf` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "49b6e6e618bf80532bdebbd82163e19d55f64ef839a400179a3c9d7b29a4dd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b6e6e618bf80532bdebbd82163e19d55f64ef839a400179a3c9d7b29a4dd62", kill_on_drop: false }` [INFO] [stdout] 49b6e6e618bf80532bdebbd82163e19d55f64ef839a400179a3c9d7b29a4dd62