[INFO] cloning repository https://github.com/varesa/BGtraP
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/varesa/BGtraP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaresa%2FBGtraP", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaresa%2FBGtraP'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d674b6489c71a04c40d9b3d9183c53ffa481299d
[INFO] checking varesa/BGtraP against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaresa%2FBGtraP" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/varesa/BGtraP 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] removed /workspace/builds/worker-4-tc1/source/.cargo/config
[INFO] started tweaking git repo https://github.com/varesa/BGtraP
[INFO] finished tweaking git repo https://github.com/varesa/BGtraP
[INFO] tweaked toml for git repo https://github.com/varesa/BGtraP written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/varesa/BGtraP 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]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror-impl v1.0.24
[INFO] [stderr]   Downloaded thiserror v1.0.24
[INFO] [stderr]   Downloaded mio v0.7.9
[INFO] [stderr]   Downloaded tokio v1.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b0a08b20345e3e8f6db17cd4979bf0480be2c2f6f9356cbca6d4f95e8ea5a3eb
[INFO] running `Command { std: "docker" "start" "-a" "b0a08b20345e3e8f6db17cd4979bf0480be2c2f6f9356cbca6d4f95e8ea5a3eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b0a08b20345e3e8f6db17cd4979bf0480be2c2f6f9356cbca6d4f95e8ea5a3eb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b0a08b20345e3e8f6db17cd4979bf0480be2c2f6f9356cbca6d4f95e8ea5a3eb", kill_on_drop: false }`
[INFO] [stdout] b0a08b20345e3e8f6db17cd4979bf0480be2c2f6f9356cbca6d4f95e8ea5a3eb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b7d78ad6a11dfd2868a5068a8058d144d8df8c75aa9ebf04505a8d319d81ba8e
[INFO] running `Command { std: "docker" "start" "-a" "b7d78ad6a11dfd2868a5068a8058d144d8df8c75aa9ebf04505a8d319d81ba8e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.88
[INFO] [stderr]    Compiling syn v1.0.63
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]     Checking byteorder v1.4.2
[INFO] [stderr]    Compiling tokio v1.3.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking mio v0.7.9
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling tokio-macros v1.1.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking bgtrap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `error_code`, `error_subcode`, and `data` are never read
[INFO] [stdout]  --> src/bgp/notification.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct BGPNotification {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 3 |     error_code: u8,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 4 |     error_subcode: u8,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 5 |     data: Vec<u8>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `BGPNotification` 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: panic message is not a string literal
[INFO] [stdout]   --> src/bgp/utils/path_attribute.rs:80:24
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 panic!(format!("Bad attribute flags: {}", flags_bitfield));
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 80 -                 panic!(format!("Bad attribute flags: {}", flags_bitfield));
[INFO] [stdout] 80 +                 panic!("Bad attribute flags: {}", flags_bitfield);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `error_code`, `error_subcode`, and `data` are never read
[INFO] [stdout]  --> src/bgp/notification.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct BGPNotification {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 3 |     error_code: u8,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 4 |     error_subcode: u8,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 5 |     data: Vec<u8>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `BGPNotification` 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: panic message is not a string literal
[INFO] [stdout]   --> src/bgp/utils/path_attribute.rs:80:24
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 panic!(format!("Bad attribute flags: {}", flags_bitfield));
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 80 -                 panic!(format!("Bad attribute flags: {}", flags_bitfield));
[INFO] [stdout] 80 +                 panic!("Bad attribute flags: {}", flags_bitfield);
[INFO] [stdout]    |
[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 12.78s
[INFO] running `Command { std: "docker" "inspect" "b7d78ad6a11dfd2868a5068a8058d144d8df8c75aa9ebf04505a8d319d81ba8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7d78ad6a11dfd2868a5068a8058d144d8df8c75aa9ebf04505a8d319d81ba8e", kill_on_drop: false }`
[INFO] [stdout] b7d78ad6a11dfd2868a5068a8058d144d8df8c75aa9ebf04505a8d319d81ba8e
[INFO] checking varesa/BGtraP against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvaresa%2FBGtraP" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/varesa/BGtraP 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] removed /workspace/builds/worker-4-tc2/source/.cargo/config
[INFO] started tweaking git repo https://github.com/varesa/BGtraP
[INFO] finished tweaking git repo https://github.com/varesa/BGtraP
[INFO] tweaked toml for git repo https://github.com/varesa/BGtraP written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/varesa/BGtraP 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8b3fe1daf16ff8681e82e4dbc94207adc501dd1ac521f03724c09142cd19f6b1
[INFO] running `Command { std: "docker" "start" "-a" "8b3fe1daf16ff8681e82e4dbc94207adc501dd1ac521f03724c09142cd19f6b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8b3fe1daf16ff8681e82e4dbc94207adc501dd1ac521f03724c09142cd19f6b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b3fe1daf16ff8681e82e4dbc94207adc501dd1ac521f03724c09142cd19f6b1", kill_on_drop: false }`
[INFO] [stdout] 8b3fe1daf16ff8681e82e4dbc94207adc501dd1ac521f03724c09142cd19f6b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 59a29ca2e82c5e851634685b43e3cf740e337011b8b2a6cb3556820043d54bb5
[INFO] running `Command { std: "docker" "start" "-a" "59a29ca2e82c5e851634685b43e3cf740e337011b8b2a6cb3556820043d54bb5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.88
[INFO] [stderr]    Compiling syn v1.0.63
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking once_cell v1.7.2
[INFO] [stderr]     Checking bytes v1.0.1
[INFO] [stderr]     Checking pin-project-lite v0.2.6
[INFO] [stderr]     Checking byteorder v1.4.2
[INFO] [stderr]    Compiling tokio v1.3.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking mio v0.7.9
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling tokio-macros v1.1.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking thiserror v1.0.24
[INFO] [stderr]     Checking bgtrap v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `error_code`, `error_subcode`, and `data` are never read
[INFO] [stdout]  --> src/bgp/notification.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct BGPNotification {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 3 |     error_code: u8,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 4 |     error_subcode: u8,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 5 |     data: Vec<u8>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `BGPNotification` 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] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/bgp/utils/path_attribute.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(FromPrimitive, ToPrimitive, Debug, PartialEq, Clone, Copy)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_AttributeFlag`
[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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (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]   --> src/bgp/utils/path_attribute.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(FromPrimitive, ToPrimitive, Debug, PartialEq, Clone, Copy)]
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_AttributeFlag`
[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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/bgp/utils/path_attribute.rs:80:24
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 panic!(format!("Bad attribute flags: {}", flags_bitfield));
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 80 -                 panic!(format!("Bad attribute flags: {}", flags_bitfield));
[INFO] [stdout] 80 +                 panic!("Bad attribute flags: {}", flags_bitfield);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bgtrap` (bin "bgtrap") due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] warning: fields `error_code`, `error_subcode`, and `data` are never read
[INFO] [stdout]  --> src/bgp/notification.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct BGPNotification {
[INFO] [stdout]   |            --------------- fields in this struct
[INFO] [stdout] 3 |     error_code: u8,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 4 |     error_subcode: u8,
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 5 |     data: Vec<u8>,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `BGPNotification` 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]   --> src/bgp/utils/path_attribute.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(FromPrimitive, ToPrimitive, Debug, PartialEq, Clone, Copy)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_AttributeFlag`
[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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (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]   --> src/bgp/utils/path_attribute.rs:40:25
[INFO] [stdout]    |
[INFO] [stdout] 40 | #[derive(FromPrimitive, ToPrimitive, Debug, PartialEq, Clone, Copy)]
[INFO] [stdout]    |                         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_AttributeFlag`
[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 <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/bgp/utils/path_attribute.rs:80:24
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 panic!(format!("Bad attribute flags: {}", flags_bitfield));
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 80 -                 panic!(format!("Bad attribute flags: {}", flags_bitfield));
[INFO] [stdout] 80 +                 panic!("Bad attribute flags: {}", flags_bitfield);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `bgtrap` (bin "bgtrap" test) due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "59a29ca2e82c5e851634685b43e3cf740e337011b8b2a6cb3556820043d54bb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59a29ca2e82c5e851634685b43e3cf740e337011b8b2a6cb3556820043d54bb5", kill_on_drop: false }`
[INFO] [stdout] 59a29ca2e82c5e851634685b43e3cf740e337011b8b2a6cb3556820043d54bb5
