[INFO] cloning repository https://github.com/RavuAlHemio/ripcalc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RavuAlHemio/ripcalc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRavuAlHemio%2Fripcalc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRavuAlHemio%2Fripcalc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6475fbe5b1ecefff1126661b5b52f53a6532164 [INFO] checking RavuAlHemio/ripcalc/f6475fbe5b1ecefff1126661b5b52f53a6532164 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%2FRavuAlHemio%2Fripcalc" "/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/RavuAlHemio/ripcalc 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/RavuAlHemio/ripcalc [INFO] finished tweaking git repo https://github.com/RavuAlHemio/ripcalc [INFO] tweaked toml for git repo https://github.com/RavuAlHemio/ripcalc written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RavuAlHemio/ripcalc 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] 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] df3bebecd2aeaea04be947f7aa7258e9946061875ab25ccabdc460df40bd0dff [INFO] running `Command { std: "docker" "start" "-a" "df3bebecd2aeaea04be947f7aa7258e9946061875ab25ccabdc460df40bd0dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df3bebecd2aeaea04be947f7aa7258e9946061875ab25ccabdc460df40bd0dff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3bebecd2aeaea04be947f7aa7258e9946061875ab25ccabdc460df40bd0dff", kill_on_drop: false }` [INFO] [stdout] df3bebecd2aeaea04be947f7aa7258e9946061875ab25ccabdc460df40bd0dff [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] 2e29d1d46db93c92f3d37d708648229c78a886db3e7d4792c1dd23918ca9bdf4 [INFO] running `Command { std: "docker" "start" "-a" "2e29d1d46db93c92f3d37d708648229c78a886db3e7d4792c1dd23918ca9bdf4", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Checking regex-syntax v0.7.1 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Checking console v0.15.5 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking regex v1.8.1 [INFO] [stderr] Checking ripcalc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `subtract_addr` is never used [INFO] [stdout] --> src/addr.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait IpAddress: BitAnd + BitOr + BitXor + Copy + fmt::Display + Hash + Ord + Sized { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 42 | fn subtract_addr(&self, other: &Self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IPV4_ZERO` is never used [INFO] [stdout] --> src/addr.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const IPV4_ZERO: Ipv4Address = Ipv4Address { addr_value: 0 }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IPV6_ZERO` is never used [INFO] [stdout] --> src/addr.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | pub const IPV6_ZERO: Ipv6Address = Ipv6Address { top_half: 0, bottom_half: 0 }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_full_string` and `from_chunks` are never used [INFO] [stdout] --> src/addr.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl Ipv6Address { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn to_full_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn from_chunks(chunks: &[u16]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_with_mask_strict`, `new_with_prefix_strict`, `is_subset_of`, and `intersects` are never used [INFO] [stdout] --> src/net.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl IpNetwork { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn new_with_mask_strict( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn new_with_prefix_strict( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn is_subset_of(&self, other: &IpNetwork) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn intersects(&self, other: &IpNetwork) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [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/cmds/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Regex::new("^(?P[0-9]+(?:[.][0-9]+){3})/(?P-)?(?P[0-9]+(?:[.][0-9]+){3})$").unwrap() [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/cmds/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Regex::new("^(?P[0-9]+(?:[.][0-9]+){3})/(?P-)?(?P[0-9]+)$").unwrap() [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] [stderr] error: could not compile `ripcalc` (bin "ripcalc") due to 5 previous errors; 5 warnings emitted [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/cmds/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Regex::new("^(?P[0-9a-f:]+)/(?P-)?(?P[0-9a-f:]*:[0-9a-f:]*)$").unwrap() [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] [stderr] warning: build failed, waiting for other jobs to finish... [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/cmds/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Regex::new("^(?P[0-9a-f:]+)/(?P-)?(?P[0-9]+)$").unwrap() [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] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `subtract_addr` is never used [INFO] [stdout] --> src/addr.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait IpAddress: BitAnd + BitOr + BitXor + Copy + fmt::Display + Hash + Ord + Sized { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 42 | fn subtract_addr(&self, other: &Self) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IPV4_ZERO` is never used [INFO] [stdout] --> src/addr.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const IPV4_ZERO: Ipv4Address = Ipv4Address { addr_value: 0 }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IPV6_ZERO` is never used [INFO] [stdout] --> src/addr.rs:201:11 [INFO] [stdout] | [INFO] [stdout] 201 | pub const IPV6_ZERO: Ipv6Address = Ipv6Address { top_half: 0, bottom_half: 0 }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `to_full_string` and `from_chunks` are never used [INFO] [stdout] --> src/addr.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 203 | impl Ipv6Address { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn to_full_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn from_chunks(chunks: &[u16]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_subset_of` and `intersects` are never used [INFO] [stdout] --> src/net.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl IpNetwork { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn is_subset_of(&self, other: &IpNetwork) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn intersects(&self, other: &IpNetwork) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [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/cmds/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | Regex::new("^(?P[0-9]+(?:[.][0-9]+){3})/(?P-)?(?P[0-9]+(?:[.][0-9]+){3})$").unwrap() [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/cmds/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Regex::new("^(?P[0-9]+(?:[.][0-9]+){3})/(?P-)?(?P[0-9]+)$").unwrap() [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] 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/cmds/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Regex::new("^(?P[0-9a-f:]+)/(?P-)?(?P[0-9a-f:]*:[0-9a-f:]*)$").unwrap() [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] 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/cmds/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | Regex::new("^(?P[0-9a-f:]+)/(?P-)?(?P[0-9]+)$").unwrap() [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] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ripcalc` (bin "ripcalc" test) due to 5 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2e29d1d46db93c92f3d37d708648229c78a886db3e7d4792c1dd23918ca9bdf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e29d1d46db93c92f3d37d708648229c78a886db3e7d4792c1dd23918ca9bdf4", kill_on_drop: false }` [INFO] [stdout] 2e29d1d46db93c92f3d37d708648229c78a886db3e7d4792c1dd23918ca9bdf4