[INFO] fetching crate cookbook_data_parser 0.1.0... [INFO] testing cookbook_data_parser-0.1.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate cookbook_data_parser 0.1.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate cookbook_data_parser 0.1.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cookbook_data_parser 0.1.0 [INFO] finished tweaking crates.io crate cookbook_data_parser 0.1.0 [INFO] tweaked toml for crates.io crate cookbook_data_parser 0.1.0 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce7afc3b705ac88e8ad464755678b59b079e37e10258e26838006f18bba86ea1 [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" "ce7afc3b705ac88e8ad464755678b59b079e37e10258e26838006f18bba86ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce7afc3b705ac88e8ad464755678b59b079e37e10258e26838006f18bba86ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce7afc3b705ac88e8ad464755678b59b079e37e10258e26838006f18bba86ea1", kill_on_drop: false }` [INFO] [stdout] ce7afc3b705ac88e8ad464755678b59b079e37e10258e26838006f18bba86ea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e8b0e0d1f230193e544436c32078edc6af31ec134dcb260ad8754c295beeec2 [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" "3e8b0e0d1f230193e544436c32078edc6af31ec134dcb260ad8754c295beeec2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.24.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling rustc-demangle v0.1.19 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling object v0.25.2 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling addr2line v0.15.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling error-chain v0.11.0 [INFO] [stderr] Compiling cookbook_data_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / error_chain!{ [INFO] [stdout] 15 | | foreign_links { [INFO] [stdout] 16 | | IoError(std::io::Error); [INFO] [stdout] 17 | | JsonError(serde_json::error::Error); [INFO] [stdout] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / error_chain!{ [INFO] [stdout] 15 | | foreign_links { [INFO] [stdout] 16 | | IoError(std::io::Error); [INFO] [stdout] 17 | | JsonError(serde_json::error::Error); [INFO] [stdout] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / error_chain!{ [INFO] [stdout] 15 | | foreign_links { [INFO] [stdout] 16 | | IoError(std::io::Error); [INFO] [stdout] 17 | | JsonError(serde_json::error::Error); [INFO] [stdout] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.36s [INFO] running `Command { std: "docker" "inspect" "3e8b0e0d1f230193e544436c32078edc6af31ec134dcb260ad8754c295beeec2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e8b0e0d1f230193e544436c32078edc6af31ec134dcb260ad8754c295beeec2", kill_on_drop: false }` [INFO] [stdout] 3e8b0e0d1f230193e544436c32078edc6af31ec134dcb260ad8754c295beeec2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76e69f81ef6559bdbf76663ba2a1d858b48d6d3b122bb76b35b5ab5c28aeb01b [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" "76e69f81ef6559bdbf76663ba2a1d858b48d6d3b122bb76b35b5ab5c28aeb01b", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / error_chain!{ [INFO] [stdout] 15 | | foreign_links { [INFO] [stdout] 16 | | IoError(std::io::Error); [INFO] [stdout] 17 | | JsonError(serde_json::error::Error); [INFO] [stdout] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / error_chain!{ [INFO] [stdout] 15 | | foreign_links { [INFO] [stdout] 16 | | IoError(std::io::Error); [INFO] [stdout] 17 | | JsonError(serde_json::error::Error); [INFO] [stdout] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cookbook_data_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / error_chain!{ [INFO] [stdout] 15 | | foreign_links { [INFO] [stdout] 16 | | IoError(std::io::Error); [INFO] [stdout] 17 | | JsonError(serde_json::error::Error); [INFO] [stdout] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / error_chain!{ [INFO] [stdout] 15 | | foreign_links { [INFO] [stdout] 16 | | IoError(std::io::Error); [INFO] [stdout] 17 | | JsonError(serde_json::error::Error); [INFO] [stdout] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / error_chain!{ [INFO] [stdout] 15 | | foreign_links { [INFO] [stdout] 16 | | IoError(std::io::Error); [INFO] [stdout] 17 | | JsonError(serde_json::error::Error); [INFO] [stdout] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (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/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / error_chain!{ [INFO] [stdout] 15 | | foreign_links { [INFO] [stdout] 16 | | IoError(std::io::Error); [INFO] [stdout] 17 | | JsonError(serde_json::error::Error); [INFO] [stdout] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "76e69f81ef6559bdbf76663ba2a1d858b48d6d3b122bb76b35b5ab5c28aeb01b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76e69f81ef6559bdbf76663ba2a1d858b48d6d3b122bb76b35b5ab5c28aeb01b", kill_on_drop: false }` [INFO] [stdout] 76e69f81ef6559bdbf76663ba2a1d858b48d6d3b122bb76b35b5ab5c28aeb01b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0458a4a14a53a33a7952961ad5b09188f0ca6b1d1ed9d3e66e0123b701d380c9 [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" "0458a4a14a53a33a7952961ad5b09188f0ca6b1d1ed9d3e66e0123b701d380c9", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/parser.rs:14:1 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 14 | / error_chain!{ [INFO] [stdout] [INFO] [stderr] 15 | | foreign_links { [INFO] [stderr] 16 | | IoError(std::io::Error); [INFO] [stderr] 17 | | JsonError(serde_json::error::Error); [INFO] [stderr] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/parser.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / error_chain!{ [INFO] [stderr] 15 | | foreign_links { [INFO] [stderr] 16 | | IoError(std::io::Error); [INFO] [stderr] 17 | | JsonError(serde_json::error::Error); [INFO] [stderr] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/parser.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / error_chain!{ [INFO] [stderr] 15 | | foreign_links { [INFO] [stderr] 16 | | IoError(std::io::Error); [INFO] [stderr] 17 | | JsonError(serde_json::error::Error); [INFO] [stderr] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/parser.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / error_chain!{ [INFO] [stderr] 15 | | foreign_links { [INFO] [stderr] 16 | | IoError(std::io::Error); [INFO] [stderr] 17 | | JsonError(serde_json::error::Error); [INFO] [stderr] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/parser.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / error_chain!{ [INFO] [stderr] 15 | | foreign_links { [INFO] [stderr] 16 | | IoError(std::io::Error); [INFO] [stderr] 17 | | JsonError(serde_json::error::Error); [INFO] [stderr] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/parser.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / error_chain!{ [INFO] [stderr] 15 | | foreign_links { [INFO] [stderr] 16 | | IoError(std::io::Error); [INFO] [stderr] 17 | | JsonError(serde_json::error::Error); [INFO] [stderr] 18 | | FsExtra(fs_extra::error::Error); [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cookbook_data_parser-3738d02d2f343b72) [INFO] [stderr] Doc-tests cookbook_data_parser [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0458a4a14a53a33a7952961ad5b09188f0ca6b1d1ed9d3e66e0123b701d380c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0458a4a14a53a33a7952961ad5b09188f0ca6b1d1ed9d3e66e0123b701d380c9", kill_on_drop: false }` [INFO] [stdout] 0458a4a14a53a33a7952961ad5b09188f0ca6b1d1ed9d3e66e0123b701d380c9