[INFO] cloning repository https://github.com/mmisono/rust-cbpf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmisono/rust-cbpf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmisono%2Frust-cbpf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmisono%2Frust-cbpf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a6c7e15049419f102b57391206d72ae9c982562 [INFO] checking mmisono/rust-cbpf against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmisono%2Frust-cbpf" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmisono/rust-cbpf on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mmisono/rust-cbpf [INFO] finished tweaking git repo https://github.com/mmisono/rust-cbpf [INFO] tweaked toml for git repo https://github.com/mmisono/rust-cbpf written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mmisono/rust-cbpf already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/polachok/pcap` [INFO] [stderr] Updating git repository `https://github.com/qmonnet/rbpf` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded textwrap v0.8.0 [INFO] [stderr] Downloaded atty v0.2.2 [INFO] [stderr] Downloaded term_size v0.3.0 [INFO] [stderr] Downloaded ascii v0.7.1 [INFO] [stderr] Downloaded byteorder v1.1.0 [INFO] [stderr] Downloaded clap v2.26.2 [INFO] [stderr] Downloaded backtrace v0.3.3 [INFO] [stderr] Downloaded structopt v0.1.1 [INFO] [stderr] Downloaded libc v0.2.31 [INFO] [stderr] Downloaded structopt-derive v0.1.1 [INFO] [stderr] Downloaded backtrace-sys v0.1.14 [INFO] [stderr] Downloaded cc v1.0.0 [INFO] [stderr] Downloaded combine v2.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2139a76f6737052e7f76b118795d967f357e130fe476672fe0ddf58d02b6cf65 [INFO] running `Command { std: "docker" "start" "-a" "2139a76f6737052e7f76b118795d967f357e130fe476672fe0ddf58d02b6cf65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2139a76f6737052e7f76b118795d967f357e130fe476672fe0ddf58d02b6cf65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2139a76f6737052e7f76b118795d967f357e130fe476672fe0ddf58d02b6cf65", kill_on_drop: false }` [INFO] [stdout] 2139a76f6737052e7f76b118795d967f357e130fe476672fe0ddf58d02b6cf65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf35f2904cb85971141394fd189a9ab6f539c404ffd320ad9328b268f81a46f5 [INFO] running `Command { std: "docker" "start" "-a" "cf35f2904cb85971141394fd189a9ab6f539c404ffd320ad9328b268f81a46f5", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.31 [INFO] [stderr] Compiling cc v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking ascii v0.7.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking combine v2.5.1 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking pcap v0.5.7 (https://github.com/polachok/pcap?branch=offline-bpf#af08d400) [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Compiling backtrace-sys v0.1.14 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Checking rbpf v0.0.3 (https://github.com/qmonnet/rbpf#fe5ddd5e) [INFO] [stderr] Compiling structopt-derive v0.1.1 [INFO] [stderr] Checking structopt v0.1.1 [INFO] [stderr] Checking backtrace v0.3.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking cbpf v0.1.0 (/opt/rustwide/workdir/cbpf) [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> cbpf/src/interpreter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Result` is imported redundantly [INFO] [stdout] --> cbpf/src/interpreter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::result::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Result` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cbpf/src/lib.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> cbpf/src/lib.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking c2e v0.1.0 (/opt/rustwide/workdir/c2e) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rbpf` is imported redundantly [INFO] [stdout] --> c2e/src/converter.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 621 | use rbpf; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: c2e/src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rbpf; [INFO] [stdout] | ------------------ the item `rbpf` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> cbpf/src/bin/run.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / error_chain!{ [INFO] [stdout] 14 | | foreign_links { [INFO] [stdout] 15 | | Io(::std::io::Error); [INFO] [stdout] 16 | | Cbpf(::cbpf::Error); [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> cbpf/src/bin/compile.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain!{ [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | Io(::std::io::Error); [INFO] [stdout] 19 | | Pcap(::pcap::Error); [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> cbpf/src/bin/run.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / error_chain!{ [INFO] [stdout] 14 | | foreign_links { [INFO] [stdout] 15 | | Io(::std::io::Error); [INFO] [stdout] 16 | | Cbpf(::cbpf::Error); [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> cbpf/src/bin/compile.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain!{ [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | Io(::std::io::Error); [INFO] [stdout] 19 | | Pcap(::pcap::Error); [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> cbpf/src/bin/run.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / error_chain!{ [INFO] [stdout] 14 | | foreign_links { [INFO] [stdout] 15 | | Io(::std::io::Error); [INFO] [stdout] 16 | | Cbpf(::cbpf::Error); [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> cbpf/src/bin/compile.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain!{ [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | Io(::std::io::Error); [INFO] [stdout] 19 | | Pcap(::pcap::Error); [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> cbpf/src/bin/run.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / error_chain!{ [INFO] [stdout] 14 | | foreign_links { [INFO] [stdout] 15 | | Io(::std::io::Error); [INFO] [stdout] 16 | | Cbpf(::cbpf::Error); [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> cbpf/src/bin/compile.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / error_chain!{ [INFO] [stdout] 17 | | foreign_links { [INFO] [stdout] 18 | | Io(::std::io::Error); [INFO] [stdout] 19 | | Pcap(::pcap::Error); [INFO] [stdout] 20 | | } [INFO] [stdout] 21 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> cbpf/src/bin/run.rs:26:77 [INFO] [stdout] | [INFO] [stdout] 25 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 26 | #[structopt(short = "d", long = "debug", help = "Activate debug mode")] debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> cbpf/src/bin/run.rs:26:77 [INFO] [stdout] | [INFO] [stdout] 25 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 26 | #[structopt(short = "d", long = "debug", help = "Activate debug mode")] debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> c2e/src/bin/c2e.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain!{ [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(::std::io::Error); [INFO] [stdout] 21 | | Pcap(::pcap::Error); [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> c2e/src/bin/c2e.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain!{ [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(::std::io::Error); [INFO] [stdout] 21 | | Pcap(::pcap::Error); [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [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` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> c2e/src/bin/c2e.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain!{ [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(::std::io::Error); [INFO] [stdout] 21 | | Pcap(::pcap::Error); [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> c2e/src/bin/c2e.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / error_chain!{ [INFO] [stdout] 19 | | foreign_links { [INFO] [stdout] 20 | | Io(::std::io::Error); [INFO] [stdout] 21 | | Pcap(::pcap::Error); [INFO] [stdout] 22 | | } [INFO] [stdout] 23 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.50s [INFO] running `Command { std: "docker" "inspect" "cf35f2904cb85971141394fd189a9ab6f539c404ffd320ad9328b268f81a46f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf35f2904cb85971141394fd189a9ab6f539c404ffd320ad9328b268f81a46f5", kill_on_drop: false }` [INFO] [stdout] cf35f2904cb85971141394fd189a9ab6f539c404ffd320ad9328b268f81a46f5