[INFO] cloning repository https://github.com/amdfxlucas/rust-scion-std-net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amdfxlucas/rust-scion-std-net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famdfxlucas%2Frust-scion-std-net", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famdfxlucas%2Frust-scion-std-net'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a24d605f00aa6c351e596e34a4793fbac9ce82c7 [INFO] checking amdfxlucas/rust-scion-std-net/a24d605f00aa6c351e596e34a4793fbac9ce82c7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famdfxlucas%2Frust-scion-std-net" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amdfxlucas/rust-scion-std-net on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/amdfxlucas/rust-scion-std-net [INFO] finished tweaking git repo https://github.com/amdfxlucas/rust-scion-std-net [INFO] tweaked toml for git repo https://github.com/amdfxlucas/rust-scion-std-net written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/amdfxlucas/rust-scion-std-net 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6916a6a22a4a376d88fae0dae8b3b1ef9529575492c4d4147d1d998d8a429ad8 [INFO] running `Command { std: "docker" "start" "-a" "6916a6a22a4a376d88fae0dae8b3b1ef9529575492c4d4147d1d998d8a429ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6916a6a22a4a376d88fae0dae8b3b1ef9529575492c4d4147d1d998d8a429ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6916a6a22a4a376d88fae0dae8b3b1ef9529575492c4d4147d1d998d8a429ad8", kill_on_drop: false }` [INFO] [stdout] 6916a6a22a4a376d88fae0dae8b3b1ef9529575492c4d4147d1d998d8a429ad8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e2e0dee7fa5631a5228a85dac679e8220b0e3984f445b978c2b8b6be25c9e08 [INFO] running `Command { std: "docker" "start" "-a" "2e2e0dee7fa5631a5228a85dac679e8220b0e3984f445b978c2b8b6be25c9e08", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking scionnet v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::bitop_impl::*` [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::bitop_impl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/display_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> src/display_buffer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Result,Error}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/ip_addr.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/ip_addr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/ip_addr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::display_buffer::DisplayBuffer` [INFO] [stdout] --> src/ip_addr.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::display_buffer::DisplayBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr` [INFO] [stdout] --> src/scion_parse_utils.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Ipv4Addr, Ipv6Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::bitop_impl::*` [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub use self::bitop_impl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Write` [INFO] [stdout] --> src/display_buffer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> src/display_buffer.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Result,Error}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/ip_addr.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/ip_addr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/ip_addr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::display_buffer::DisplayBuffer` [INFO] [stdout] --> src/ip_addr.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::display_buffer::DisplayBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SocketAddr` [INFO] [stdout] --> src/scion_parse_utils.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Ipv4Addr, Ipv6Addr, SocketAddr}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/scion_parse_utils.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{convert::TryInto, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IA_t` should have an upper camel case name [INFO] [stdout] --> src/scion_parse_utils.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type IA_t = u64; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `IaT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AS_t` should have an upper camel case name [INFO] [stdout] --> src/scion_parse_utils.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | type AS_t = u64; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AsT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ISD_t` should have an upper camel case name [INFO] [stdout] --> src/scion_parse_utils.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | type ISD_t = u16; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IsdT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Ipv6Addr`, `Parser`, `SocketAddrScion`, `SocketAddrV4`, and `SocketAddrV6` [INFO] [stdout] --> src/scion_addr.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{IpAddr, Ipv4Addr, Ipv6Addr, Parser, SocketAddrScion, SocketAddrV4, SocketAddrV6}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/scion_addr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/scion_addr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug`, `Display`, and `Result` [INFO] [stdout] --> src/sock_addr_v4.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::{Debug,Result,Display,Write}, str::FromStr}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv6Addr`, `Parser`, `ScionAddr`, `SocketAddrScion`, and `SocketAddrV6` [INFO] [stdout] --> src/sock_addr_v4.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{IpAddr, Ipv4Addr, Ipv6Addr,SocketAddrScion, SocketAddrV6, ScionAddr,Parser,DisplayBuffer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Parser`, `ScionAddr`, `SocketAddrScion`, and `SocketAddrV4` [INFO] [stdout] --> src/sock_addr_v6.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{IpAddr, Ipv4Addr, Ipv6Addr,SocketAddrScion, SocketAddrV4, ScionAddr,Parser,DisplayBuffer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DisplayBuffer`, `Ipv4Addr`, and `Ipv6Addr` [INFO] [stdout] --> src/socket_addr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | DisplayBuffer, IpAddr, Ipv4Addr, Ipv6Addr, Parser, ScionAddr, SocketAddrScion, SocketAddrV4, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/socket_addr.rs:158:60 [INFO] [stdout] | [INFO] [stdout] 158 | L3Addr::SCION(ScionAddr { ia, host }) => match (self) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 - L3Addr::SCION(ScionAddr { ia, host }) => match (self) { [INFO] [stdout] 158 + L3Addr::SCION(ScionAddr { ia, host }) => match self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/socket_addr.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | (&mut SocketAddr::V4(ref mut a)) => match host { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - (&mut SocketAddr::V4(ref mut a)) => match host { [INFO] [stdout] 162 + &mut SocketAddr::V4(ref mut a) => match host { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/socket_addr.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | (&mut SocketAddr::V6(ref mut a)) => match host { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 166 - (&mut SocketAddr::V6(ref mut a)) => match host { [INFO] [stdout] 166 + &mut SocketAddr::V6(ref mut a) => match host { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitAndAssign`, `BitAnd`, `BitOrAssign`, `BitOr`, and `Not` [INFO] [stdout] --> src/bitop_impl.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{BitAnd, BitAndAssign, BitOr, BitOrAssign, Not}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::*` [INFO] [stdout] --> src/bitop_impl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/bitop_impl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::*` [INFO] [stdout] --> src/sock_addr_scion.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/scion_parse_utils.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{convert::TryInto, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `IA_t` should have an upper camel case name [INFO] [stdout] --> src/scion_parse_utils.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type IA_t = u64; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `IaT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `AS_t` should have an upper camel case name [INFO] [stdout] --> src/scion_parse_utils.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | type AS_t = u64; [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `AsT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ISD_t` should have an upper camel case name [INFO] [stdout] --> src/scion_parse_utils.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | type ISD_t = u16; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IsdT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Ipv6Addr`, `Parser`, `SocketAddrScion`, `SocketAddrV4`, and `SocketAddrV6` [INFO] [stdout] --> src/scion_addr.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{IpAddr, Ipv4Addr, Ipv6Addr, Parser, SocketAddrScion, SocketAddrV4, SocketAddrV6}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/scion_addr.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/scion_addr.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug`, `Display`, and `Result` [INFO] [stdout] --> src/sock_addr_v4.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::{Debug,Result,Display,Write}, str::FromStr}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv6Addr`, `Parser`, `ScionAddr`, `SocketAddrScion`, and `SocketAddrV6` [INFO] [stdout] --> src/sock_addr_v4.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{IpAddr, Ipv4Addr, Ipv6Addr,SocketAddrScion, SocketAddrV6, ScionAddr,Parser,DisplayBuffer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr`, `Parser`, `ScionAddr`, `SocketAddrScion`, and `SocketAddrV4` [INFO] [stdout] --> src/sock_addr_v6.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{IpAddr, Ipv4Addr, Ipv6Addr,SocketAddrScion, SocketAddrV4, ScionAddr,Parser,DisplayBuffer}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DisplayBuffer`, `Ipv4Addr`, and `Ipv6Addr` [INFO] [stdout] --> src/socket_addr.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | DisplayBuffer, IpAddr, Ipv4Addr, Ipv6Addr, Parser, ScionAddr, SocketAddrScion, SocketAddrV4, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/socket_addr.rs:158:60 [INFO] [stdout] | [INFO] [stdout] 158 | L3Addr::SCION(ScionAddr { ia, host }) => match (self) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 158 - L3Addr::SCION(ScionAddr { ia, host }) => match (self) { [INFO] [stdout] 158 + L3Addr::SCION(ScionAddr { ia, host }) => match self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/socket_addr.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | (&mut SocketAddr::V4(ref mut a)) => match host { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - (&mut SocketAddr::V4(ref mut a)) => match host { [INFO] [stdout] 162 + &mut SocketAddr::V4(ref mut a) => match host { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/socket_addr.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | (&mut SocketAddr::V6(ref mut a)) => match host { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 166 - (&mut SocketAddr::V6(ref mut a)) => match host { [INFO] [stdout] 166 + &mut SocketAddr::V6(ref mut a) => match host { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BitAndAssign`, `BitAnd`, `BitOrAssign`, `BitOr`, and `Not` [INFO] [stdout] --> src/bitop_impl.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{BitAnd, BitAndAssign, BitOr, BitOrAssign, Not}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::*` [INFO] [stdout] --> src/bitop_impl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> src/bitop_impl.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/parser.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::*` [INFO] [stdout] --> src/sock_addr_scion.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/sock_addr_traits.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc as c` [INFO] [stdout] --> src/sock_addr_traits.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use libc as c; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/sock_addr_traits.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc as c` [INFO] [stdout] --> src/sock_addr_traits.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use libc as c; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/socket_addr.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/display_buffer.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_str` [INFO] [stdout] --> src/scion_parse_utils.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let as_str = &captures[2]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/socket_addr.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/display_buffer.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `as_str` [INFO] [stdout] --> src/scion_parse_utils.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | let as_str = &captures[2]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_as_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ia` [INFO] [stdout] --> src/socket_addr.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | L3Addr::SCION(ScionAddr { ia, host }) => match (self) { [INFO] [stdout] | ^^ help: try ignoring the field: `ia: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ia` [INFO] [stdout] --> src/socket_addr.rs:158:39 [INFO] [stdout] | [INFO] [stdout] 158 | L3Addr::SCION(ScionAddr { ia, host }) => match (self) { [INFO] [stdout] | ^^ help: try ignoring the field: `ia: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IPV6_ADDR_REGEX` is never used [INFO] [stdout] --> src/scion_parse_utils.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | const IPV6_ADDR_REGEX: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_ipv4` is never used [INFO] [stdout] --> src/scion_parse_utils.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn is_valid_ipv4(ip_address: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ipv6_address` is never used [INFO] [stdout] --> src/scion_parse_utils.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn is_ipv6_address(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_AS` should have a snake case name [INFO] [stdout] --> src/scion_addr.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn format_AS(asn: u64) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `format_as` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn parse_with(&mut self, inner: F, kind: AddrKind) -> Result [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let result = inner(self); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | if self.state.is_empty() { result } else { None }.ok_or(AddrParseError(kind)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn read_separator(&mut self, sep: char, index: usize, inner: F) -> Option [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | self.read_atomically(move |p| { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 102 | | if index > 0 { [INFO] [stdout] 103 | | p.read_given_char(sep)?; [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | inner(p) [INFO] [stdout] 106 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_AS` should have a snake case name [INFO] [stdout] --> src/parser.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | fn read_AS(p: &mut Parser<'_>) -> Option { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_as` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `parser::Parser::<'a>::read_given_char` that must be used [INFO] [stdout] --> src/parser.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | p.read_given_char('['); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 295 | let _ = p.read_given_char('['); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `parser::Parser::<'a>::read_given_char` that must be used [INFO] [stdout] --> src/parser.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | p.read_given_char(']'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 304 | let _ = p.read_given_char(']'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scionnet` (lib) due to 3 previous errors; 41 warnings emitted [INFO] [stdout] warning: constant `IPV6_ADDR_REGEX` is never used [INFO] [stdout] --> src/scion_parse_utils.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | const IPV6_ADDR_REGEX: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] warning: function `is_valid_ipv4` is never used [INFO] [stdout] --> src/scion_parse_utils.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn is_valid_ipv4(ip_address: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_ipv6_address` is never used [INFO] [stdout] --> src/scion_parse_utils.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn is_ipv6_address(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_AS` should have a snake case name [INFO] [stdout] --> src/scion_addr.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn format_AS(asn: u64) -> String { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `format_as` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn parse_with(&mut self, inner: F, kind: AddrKind) -> Result [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | let result = inner(self); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | if self.state.is_empty() { result } else { None }.ok_or(AddrParseError(kind)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 97 | fn read_separator(&mut self, sep: char, index: usize, inner: F) -> Option [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | self.read_atomically(move |p| { [INFO] [stdout] | ______________________________^ [INFO] [stdout] 102 | | if index > 0 { [INFO] [stdout] 103 | | p.read_given_char(sep)?; [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | inner(p) [INFO] [stdout] 106 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_AS` should have a snake case name [INFO] [stdout] --> src/parser.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | fn read_AS(p: &mut Parser<'_>) -> Option { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_as` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `parser::Parser::<'a>::read_given_char` that must be used [INFO] [stdout] --> src/parser.rs:295:13 [INFO] [stdout] | [INFO] [stdout] 295 | p.read_given_char('['); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 295 | let _ = p.read_given_char('['); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `parser::Parser::<'a>::read_given_char` that must be used [INFO] [stdout] --> src/parser.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | p.read_given_char(']'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 304 | let _ = p.read_given_char(']'); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scionnet` (lib test) due to 3 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e2e0dee7fa5631a5228a85dac679e8220b0e3984f445b978c2b8b6be25c9e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e2e0dee7fa5631a5228a85dac679e8220b0e3984f445b978c2b8b6be25c9e08", kill_on_drop: false }` [INFO] [stdout] 2e2e0dee7fa5631a5228a85dac679e8220b0e3984f445b978c2b8b6be25c9e08