[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] testing Ploppz/ren-pdf against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPloppz%2Fren-pdf" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ploppz/ren-pdf on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "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-2/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7aaae460d49cef95aaf5a6f906f6afa2a946738df45c9a9e1390f5cd67bf0d2e [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" "7aaae460d49cef95aaf5a6f906f6afa2a946738df45c9a9e1390f5cd67bf0d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7aaae460d49cef95aaf5a6f906f6afa2a946738df45c9a9e1390f5cd67bf0d2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aaae460d49cef95aaf5a6f906f6afa2a946738df45c9a9e1390f5cd67bf0d2e", kill_on_drop: false }` [INFO] [stdout] 7aaae460d49cef95aaf5a6f906f6afa2a946738df45c9a9e1390f5cd67bf0d2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=forbid" "-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@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--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] 48e71c66db3d019e7b56fca74e6c5f02dc71fa4f27d90113ecdb1d0a72bafcf0 [INFO] running `Command { std: "docker" "start" "-a" "48e71c66db3d019e7b56fca74e6c5f02dc71fa4f27d90113ecdb1d0a72bafcf0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling ordermap v0.2.13 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling itertools v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [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 phf v0.7.24 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling memmap v0.5.2 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling stb_truetype v0.2.8 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rusttype v0.2.4 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling cgmath v0.12.0 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glium v0.15.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling pdf_derive v0.1.17 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling error-chain v0.9.0 [INFO] [stderr] Compiling tuple v0.4.2 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling pdf v0.6.3 [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/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[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[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.6.3/src/file.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use 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.6.3/src/file.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use 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.6.3/src/file.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use 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.6.3/src/file.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use 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 item '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 item '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 pdf::object::Object` 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 pdf::object::Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `pdf::object::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 `pdf::object::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 pdf::object::Object` 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 pdf::object::Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `pdf::object::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 `pdf::object::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 pdf::object::Object` 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 pdf::object::Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `Array` found for trait object `dyn pdf::object::Object` 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 pdf::object::Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `pdf::object::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 `pdf::object::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 item '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[E0308]: mismatched types [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] | |_^ expected struct `error_chain::State`, found a different struct `error_chain::State` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `error_chain` are being used? [INFO] [stdout] = note: this error 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 16 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0038, E0308, 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] running `Command { std: "docker" "inspect" "48e71c66db3d019e7b56fca74e6c5f02dc71fa4f27d90113ecdb1d0a72bafcf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48e71c66db3d019e7b56fca74e6c5f02dc71fa4f27d90113ecdb1d0a72bafcf0", kill_on_drop: false }` [INFO] [stdout] 48e71c66db3d019e7b56fca74e6c5f02dc71fa4f27d90113ecdb1d0a72bafcf0