[INFO] updating cached repository Ploppz/ren-pdf [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Ploppz/ren-pdf [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Ploppz/ren-pdf" "work/ex/beta-1.38-1/sources/1.37.0/gh/Ploppz/ren-pdf"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/Ploppz/ren-pdf'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Ploppz/ren-pdf" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Ploppz/ren-pdf"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Ploppz/ren-pdf'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 15134d3cd305795332492eda254eae3583d68ff2 [INFO] sha for GitHub repo Ploppz/ren-pdf: 15134d3cd305795332492eda254eae3583d68ff2 [INFO] validating manifest of Ploppz/ren-pdf on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Ploppz/ren-pdf on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Ploppz/ren-pdf [INFO] removed path dependency pdf from Ploppz/ren-pdf [INFO] finished frobbing Ploppz/ren-pdf [INFO] frobbed toml for Ploppz/ren-pdf written to work/ex/beta-1.38-1/sources/1.37.0/gh/Ploppz/ren-pdf/Cargo.toml [INFO] started frobbing Ploppz/ren-pdf [INFO] removed path dependency pdf from Ploppz/ren-pdf [INFO] finished frobbing Ploppz/ren-pdf [INFO] frobbed toml for Ploppz/ren-pdf written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/Ploppz/ren-pdf/Cargo.toml [INFO] crate Ploppz/ren-pdf already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/Ploppz/ren-pdf/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing Ploppz/ren-pdf against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/Ploppz/ren-pdf:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] fa7701c6d4f2badec002f9d51494c62435cf6757da3cf1acf4de574ec7c6ade2 [INFO] running `"docker" "start" "-a" "fa7701c6d4f2badec002f9d51494c62435cf6757da3cf1acf4de574ec7c6ade2"` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling itertools v0.6.5 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling memmap v0.5.2 [INFO] [stderr] Compiling pdf_derive v0.1.17 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling tuple v0.4.2 [INFO] [stderr] Compiling cgmath v0.12.0 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling error-chain v0.9.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling rusttype v0.2.3 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] warning[E0311]: the parameter type `K` may not live long enough [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | match node.force() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding an explicit lifetime bound for `K` [INFO] [stderr] note: the parameter type `K` must be valid for the anonymous lifetime #1 defined on the function body at 77:9... [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | / fn clone_subtree( [INFO] [stderr] 78 | | node: node::NodeRef) [INFO] [stderr] 79 | | -> BTreeMap { [INFO] [stderr] 80 | | [INFO] [stderr] ... | [INFO] [stderr] 136| | } [INFO] [stderr] 137| | } [INFO] [stderr] | |_________^ [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] warning[E0311]: the parameter type `V` may not live long enough [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:81:19 [INFO] [stderr] | [INFO] [stderr] 81 | match node.force() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider adding an explicit lifetime bound for `V` [INFO] [stderr] note: the parameter type `V` must be valid for the anonymous lifetime #1 defined on the function body at 77:9... [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/rusttype-0.2.3/src/support/bst/map.rs:77:9 [INFO] [stderr] | [INFO] [stderr] 77 | / fn clone_subtree( [INFO] [stderr] 78 | | node: node::NodeRef) [INFO] [stderr] 79 | | -> BTreeMap { [INFO] [stderr] 80 | | [INFO] [stderr] ... | [INFO] [stderr] 136| | } [INFO] [stderr] 137| | } [INFO] [stderr] | |_________^ [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [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-kbd v0.3.6 [INFO] [stderr] Compiling wayland-window v0.2.3 [INFO] [stderr] Compiling ren-pdf v0.1.0 (/opt/crater/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: `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 module `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 { [INFO] [stderr] | ^^^^^^^ not found in `pdf` [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" "fa7701c6d4f2badec002f9d51494c62435cf6757da3cf1acf4de574ec7c6ade2"` [INFO] running `"docker" "rm" "-f" "fa7701c6d4f2badec002f9d51494c62435cf6757da3cf1acf4de574ec7c6ade2"` [INFO] [stdout] fa7701c6d4f2badec002f9d51494c62435cf6757da3cf1acf4de574ec7c6ade2