[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#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmisono%2Frust-cbpf" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmisono/rust-cbpf on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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-6-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" "+5518eaa946291f00471af8b254b2a1715f234882" "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 structopt-derive v0.1.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.5 [INFO] [stderr] Downloaded textwrap v0.8.0 [INFO] [stderr] Downloaded structopt v0.1.1 [INFO] [stderr] Downloaded redox_syscall v0.1.31 [INFO] [stderr] Downloaded ascii v0.7.1 [INFO] [stderr] Downloaded time v0.1.38 [INFO] [stderr] Downloaded backtrace v0.3.3 [INFO] [stderr] Downloaded clap v2.26.2 [INFO] [stderr] Downloaded backtrace-sys v0.1.14 [INFO] [stderr] Downloaded combine v2.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e75a92e37ab575464bff384034473fec5d9d98fe531dd17bf8d6f0bc3071c3b6 [INFO] running `Command { std: "docker" "start" "-a" "e75a92e37ab575464bff384034473fec5d9d98fe531dd17bf8d6f0bc3071c3b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e75a92e37ab575464bff384034473fec5d9d98fe531dd17bf8d6f0bc3071c3b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e75a92e37ab575464bff384034473fec5d9d98fe531dd17bf8d6f0bc3071c3b6", kill_on_drop: false }` [INFO] [stdout] e75a92e37ab575464bff384034473fec5d9d98fe531dd17bf8d6f0bc3071c3b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f42d89741dedfe18442563fa2bfb062b269fc8822f252e907fff24933c3e7bc0 [INFO] running `Command { std: "docker" "start" "-a" "f42d89741dedfe18442563fa2bfb062b269fc8822f252e907fff24933c3e7bc0", 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 vec_map v0.8.0 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking ascii v0.7.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 combine v2.5.1 [INFO] [stderr] Checking textwrap v0.8.0 [INFO] [stderr] Checking clap v2.26.2 [INFO] [stderr] Compiling backtrace-sys v0.1.14 [INFO] [stderr] Compiling structopt-derive v0.1.1 [INFO] [stderr] Checking rbpf v0.0.3 (https://github.com/qmonnet/rbpf#fe5ddd5e) [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: 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: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking c2e v0.1.0 (/opt/rustwide/workdir/c2e) [INFO] [stdout] warning: 1 warning 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] --> 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/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/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: 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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 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 [unoptimized + debuginfo] target(s) in 5.72s [INFO] running `Command { std: "docker" "inspect" "f42d89741dedfe18442563fa2bfb062b269fc8822f252e907fff24933c3e7bc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f42d89741dedfe18442563fa2bfb062b269fc8822f252e907fff24933c3e7bc0", kill_on_drop: false }` [INFO] [stdout] f42d89741dedfe18442563fa2bfb062b269fc8822f252e907fff24933c3e7bc0 [INFO] checking mmisono/rust-cbpf against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmisono%2Frust-cbpf" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmisono/rust-cbpf on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-6-tc2/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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d095e3dde5f5f290124a19cc8387f81852333f5b3b22d3b65ac1e937f3197d23 [INFO] running `Command { std: "docker" "start" "-a" "d095e3dde5f5f290124a19cc8387f81852333f5b3b22d3b65ac1e937f3197d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d095e3dde5f5f290124a19cc8387f81852333f5b3b22d3b65ac1e937f3197d23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d095e3dde5f5f290124a19cc8387f81852333f5b3b22d3b65ac1e937f3197d23", kill_on_drop: false }` [INFO] [stdout] d095e3dde5f5f290124a19cc8387f81852333f5b3b22d3b65ac1e937f3197d23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37da6f41fbef5765e4e78cd57d1e926656862894d2add257b8d00df5772bfb52 [INFO] running `Command { std: "docker" "start" "-a" "37da6f41fbef5765e4e78cd57d1e926656862894d2add257b8d00df5772bfb52", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.31 [INFO] [stderr] Compiling cc v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking ascii v0.7.1 [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] Checking clap v2.26.2 [INFO] [stderr] Compiling backtrace-sys v0.1.14 [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: 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: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking c2e v0.1.0 (/opt/rustwide/workdir/c2e) [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/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/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/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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> cbpf/src/bin/compile.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 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] [stderr] error: could not compile `cbpf` (bin "cbpf_compile") due to 2 previous errors; 2 warnings emitted [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> cbpf/src/bin/run.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> cbpf/src/bin/run.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> cbpf/src/bin/compile.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cbpf` (bin "cbpf_run" test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] error: could not compile `cbpf` (bin "cbpf_run") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] error: could not compile `cbpf` (bin "cbpf_compile" test) due to 2 previous errors; 2 warnings emitted [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> c2e/src/bin/c2e.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> c2e/src/bin/c2e.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_STRUCTOPT_FOR_Opt` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `StructOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `c2e` (bin "c2e") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `c2e` (bin "c2e" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "37da6f41fbef5765e4e78cd57d1e926656862894d2add257b8d00df5772bfb52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37da6f41fbef5765e4e78cd57d1e926656862894d2add257b8d00df5772bfb52", kill_on_drop: false }` [INFO] [stdout] 37da6f41fbef5765e4e78cd57d1e926656862894d2add257b8d00df5772bfb52