[INFO] updating cached repository https://github.com/Ploppz/ren-pdf
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 15134d3cd305795332492eda254eae3583d68ff2
[INFO] testing Ploppz/ren-pdf against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPloppz%2Fren-pdf" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ploppz/ren-pdf on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-7/source/Cargo.toml
[INFO] crate git repo https://github.com/Ploppz/ren-pdf already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stdout] e1a926b75cba048aec553559a38c5d1d5858db8355890eab4b8a0288fe8fdf97
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "e1a926b75cba048aec553559a38c5d1d5858db8355890eab4b8a0288fe8fdf97"`
[INFO] [stderr]    Compiling serde v0.9.15
[INFO] [stderr]    Compiling cc v1.0.48
[INFO] [stderr]    Compiling encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling khronos_api v1.0.1
[INFO] [stderr]    Compiling lazy_static v0.1.16
[INFO] [stderr]    Compiling crossbeam v0.2.12
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling arrayvec v0.4.12
[INFO] [stderr]    Compiling byteorder v0.5.3
[INFO] [stderr]    Compiling backtrace v0.2.3
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling inflate v0.1.1
[INFO] [stderr]    Compiling ordermap v0.2.13
[INFO] [stderr]    Compiling smallvec v0.1.8
[INFO] [stderr]    Compiling xml-rs v0.3.6
[INFO] [stderr]    Compiling xml-rs v0.6.1
[INFO] [stderr]    Compiling dbghelp-sys v0.2.0
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling x11-dl v2.18.4
[INFO] [stderr]    Compiling encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-korean v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]    Compiling encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling itertools v0.6.5
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling memmap v0.5.2
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling pdf_derive v0.1.17
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling fs2 v0.2.5
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling encoding v0.2.33
[INFO] [stderr]    Compiling tempfile v2.2.0
[INFO] [stderr]    Compiling tuple v0.4.2
[INFO] [stderr]    Compiling cgmath v0.12.0
[INFO] [stderr]    Compiling memmap v0.2.3
[INFO] [stderr]    Compiling wayland-scanner v0.5.11
[INFO] [stderr]    Compiling gl_generator v0.5.5
[INFO] [stderr]    Compiling stb_truetype v0.2.8
[INFO] [stderr]    Compiling chrono v0.4.10
[INFO] [stderr]    Compiling rusttype v0.2.4
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling target_build_utils v0.3.1
[INFO] [stderr]    Compiling wayland-client v0.5.12
[INFO] [stderr]    Compiling glutin v0.6.2
[INFO] [stderr]    Compiling glium v0.15.0
[INFO] [stderr]    Compiling backtrace v0.3.40
[INFO] [stderr]    Compiling error-chain v0.11.0
[INFO] [stderr]    Compiling error-chain v0.9.0
[INFO] [stderr]    Compiling serde_json v0.9.10
[INFO] [stderr]    Compiling pdf v0.6.3
[INFO] [stderr]    Compiling libloading v0.3.4
[INFO] [stderr]    Compiling dlib v0.3.1
[INFO] [stderr]    Compiling wayland-sys v0.5.11
[INFO] [stderr]    Compiling wayland-window v0.2.3
[INFO] [stderr]    Compiling wayland-kbd v0.3.6
[INFO] [stderr]    Compiling ren-pdf v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved import `pdf::Content`
[INFO] [stderr]  --> src/graphics/mod.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use pdf::Content;
[INFO] [stderr]   |     ^^^^^-------
[INFO] [stderr]   |     |    |
[INFO] [stderr]   |     |    help: a similar name exists in the module (notice the capitalization): `content`
[INFO] [stderr]   |     no `Content` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `pdf::doc`
[INFO] [stderr]  --> src/graphics/mod.rs:9:10
[INFO] [stderr]   |
[INFO] [stderr] 9 | use pdf::doc::{Object, Document};
[INFO] [stderr]   |          ^^^ could not find `doc` in `pdf`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `pdf::doc`
[INFO] [stderr]   --> src/main.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 | use pdf::doc::Document;
[INFO] [stderr]    |          ^^^ could not find `doc` in `pdf`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `Content` in crate `pdf`
[INFO] [stderr]   --> src/graphics/mod.rs:76:69
[INFO] [stderr]    |
[INFO] [stderr] 76 |     pub fn get_page_content(&mut self, page_nr: i32) -> Result<pdf::Content> {
[INFO] [stderr]    |                                                                     ^^^^^^^ not found in `pdf`
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]    |
[INFO] [stderr] 3  | use glium::buffer::Content;
[INFO] [stderr]    |
[INFO] [stderr] 3  | use pdf::content::Content;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: trait `Object` is private
[INFO] [stderr]   --> src/graphics/mod.rs:57:32
[INFO] [stderr]    |
[INFO] [stderr] 57 |                         &file::Object::String (ref s) => {
[INFO] [stderr]    |                                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: trait `Object` is private
[INFO] [stderr]   --> src/graphics/mod.rs:62:32
[INFO] [stderr]    |
[INFO] [stderr] 62 |                         &file::Object::Integer (n) => {
[INFO] [stderr]    |                                ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: trait `Object` is private
[INFO] [stderr]   --> src/graphics/mod.rs:80:19
[INFO] [stderr]    |
[INFO] [stderr] 80 |             file::Object::Stream (_) => content.as_stream()?,
[INFO] [stderr]    |                   ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: trait `Object` is private
[INFO] [stderr]   --> src/graphics/mod.rs:81:19
[INFO] [stderr]    |
[INFO] [stderr] 81 |             file::Object::Array (_) => content.as_array()?.get(0).as_stream()?,
[INFO] [stderr]    |                   ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `String` found for type `dyn pdf::object::Object` in the current scope
[INFO] [stderr]   --> src/graphics/mod.rs:57:40
[INFO] [stderr]    |
[INFO] [stderr] 57 |                         &file::Object::String (ref s) => {
[INFO] [stderr]    |                                        ^^^^^^ associated item not found in `dyn pdf::object::Object`
[INFO] [stderr] 
[INFO] [stderr] error[E0038]: the trait `pdf::object::Object` cannot be made into an object
[INFO] [stderr]   --> src/graphics/mod.rs:57:26
[INFO] [stderr]    |
[INFO] [stderr] 57 |                         &file::Object::String (ref s) => {
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^ the trait `pdf::object::Object` cannot be made into an object
[INFO] [stderr]    |
[INFO] [stderr]    = note: the trait cannot require that `Self : Sized`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `Integer` found for type `dyn pdf::object::Object` in the current scope
[INFO] [stderr]   --> src/graphics/mod.rs:62:40
[INFO] [stderr]    |
[INFO] [stderr] 62 |                         &file::Object::Integer (n) => {
[INFO] [stderr]    |                                        ^^^^^^^ associated item not found in `dyn pdf::object::Object`
[INFO] [stderr] 
[INFO] [stderr] error[E0038]: the trait `pdf::object::Object` cannot be made into an object
[INFO] [stderr]   --> src/graphics/mod.rs:62:26
[INFO] [stderr]    |
[INFO] [stderr] 62 |                         &file::Object::Integer (n) => {
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^^^^^^^^ the trait `pdf::object::Object` cannot be made into an object
[INFO] [stderr]    |
[INFO] [stderr]    = note: the trait cannot require that `Self : Sized`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `Stream` found for type `dyn pdf::object::Object` in the current scope
[INFO] [stderr]   --> src/graphics/mod.rs:80:27
[INFO] [stderr]    |
[INFO] [stderr] 80 |             file::Object::Stream (_) => content.as_stream()?,
[INFO] [stderr]    |                           ^^^^^^ associated item not found in `dyn pdf::object::Object`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no associated item named `Array` found for type `dyn pdf::object::Object` in the current scope
[INFO] [stderr]   --> src/graphics/mod.rs:81:27
[INFO] [stderr]    |
[INFO] [stderr] 81 |             file::Object::Array (_) => content.as_array()?.get(0).as_stream()?,
[INFO] [stderr]    |                           ^^^^^ associated item not found in `dyn pdf::object::Object`
[INFO] [stderr] 
[INFO] [stderr] error[E0038]: the trait `pdf::object::Object` cannot be made into an object
[INFO] [stderr]   --> src/graphics/mod.rs:80:13
[INFO] [stderr]    |
[INFO] [stderr] 80 |             file::Object::Stream (_) => content.as_stream()?,
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^ the trait `pdf::object::Object` cannot be made into an object
[INFO] [stderr]    |
[INFO] [stderr]    = note: the trait cannot require that `Self : Sized`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
[INFO] [stderr]   --> src/err.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / error_chain! {
[INFO] [stderr] 4  | |     // The type defined for this error. These are the conventional
[INFO] [stderr] 5  | |     // and recommended names, but they can be arbitrarily chosen.
[INFO] [stderr] 6  | |     //
[INFO] [stderr] ...  |
[INFO] [stderr] 36 | |     }
[INFO] [stderr] 37 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting
[INFO] [stderr]   --> src/err.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / error_chain! {
[INFO] [stderr] 4  | |     // The type defined for this error. These are the conventional
[INFO] [stderr] 5  | |     // and recommended names, but they can be arbitrarily chosen.
[INFO] [stderr] 6  | |     //
[INFO] [stderr] ...  |
[INFO] [stderr] 36 | |     }
[INFO] [stderr] 37 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]   --> src/err.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / error_chain! {
[INFO] [stderr] 4  | |     // The type defined for this error. These are the conventional
[INFO] [stderr] 5  | |     // and recommended names, but they can be arbitrarily chosen.
[INFO] [stderr] 6  | |     //
[INFO] [stderr] ...  |
[INFO] [stderr] 36 | |     }
[INFO] [stderr] 37 | | }
[INFO] [stderr]    | |_^ expected struct `error_chain::State`, found a different struct `error_chain::State`
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected type `error_chain::State` (struct `error_chain::State`)
[INFO] [stderr]               found type `error_chain::State` (struct `error_chain::State`)
[INFO] [stderr] note: Perhaps two different versions of crate `error_chain` are being used?
[INFO] [stderr]   --> src/err.rs:3:1
[INFO] [stderr]    |
[INFO] [stderr] 3  | / error_chain! {
[INFO] [stderr] 4  | |     // The type defined for this error. These are the conventional
[INFO] [stderr] 5  | |     // and recommended names, but they can be arbitrarily chosen.
[INFO] [stderr] 6  | |     //
[INFO] [stderr] ...  |
[INFO] [stderr] 36 | |     }
[INFO] [stderr] 37 | | }
[INFO] [stderr]    | |_^
[INFO] [stderr]    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 16 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0038, E0308, E0412, E0432, E0599, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0038`.
[INFO] [stderr] error: could not compile `ren-pdf`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "e1a926b75cba048aec553559a38c5d1d5858db8355890eab4b8a0288fe8fdf97"`
[INFO] running `"docker" "rm" "-f" "e1a926b75cba048aec553559a38c5d1d5858db8355890eab4b8a0288fe8fdf97"`
[INFO] [stdout] e1a926b75cba048aec553559a38c5d1d5858db8355890eab4b8a0288fe8fdf97
