[INFO] cloning repository https://github.com/D0liphin/fast_der_regex [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/D0liphin/fast_der_regex" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FD0liphin%2Ffast_der_regex", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FD0liphin%2Ffast_der_regex'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec798deba92fe580119670d4382a02eda4d238fa [INFO] checking D0liphin/fast_der_regex/ec798deba92fe580119670d4382a02eda4d238fa 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%2FD0liphin%2Ffast_der_regex" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/D0liphin/fast_der_regex 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/D0liphin/fast_der_regex [INFO] finished tweaking git repo https://github.com/D0liphin/fast_der_regex [INFO] tweaked toml for git repo https://github.com/D0liphin/fast_der_regex written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/D0liphin/fast_der_regex 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3930b858b85a0e754680ef834d031c6dede21ed88b57ac97e97a86455d603449 [INFO] running `Command { std: "docker" "start" "-a" "3930b858b85a0e754680ef834d031c6dede21ed88b57ac97e97a86455d603449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3930b858b85a0e754680ef834d031c6dede21ed88b57ac97e97a86455d603449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3930b858b85a0e754680ef834d031c6dede21ed88b57ac97e97a86455d603449", kill_on_drop: false }` [INFO] [stdout] 3930b858b85a0e754680ef834d031c6dede21ed88b57ac97e97a86455d603449 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 1087d63e0960d3dbf154f7704b421cbbc85128bbaa00df8e77af9f3d0bbea946 [INFO] running `Command { std: "docker" "start" "-a" "1087d63e0960d3dbf154f7704b421cbbc85128bbaa00df8e77af9f3d0bbea946", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [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 fast_regex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/regex/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `nullable`, `const_eq`, and `eq` are never used [INFO] [stdout] --> src/regex/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Re { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 23 | // TODO: make #[tailcall] [INFO] [stdout] 24 | pub fn nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | unsafe fn const_eq(lhs: Const, rhs: Const) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | unsafe fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alloc` is never read [INFO] [stdout] --> src/regex/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Regex<'parent> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | alloc: VecAlloc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_alloc` is never used [INFO] [stdout] --> src/regex/mod.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn try_alloc(alloc: &mut VecAlloc, value: Re) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/regex/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'a> Regex<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn alloc(&self) -> &VecAlloc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub unsafe fn alloc_mut(&mut self) -> &mut VecAlloc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub unsafe fn tree_mut(&mut self) -> &mut Const { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn child(&'a self) -> Regex<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | unsafe fn rebuild_with(alloc: &mut VecAlloc, r: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn clone(&self) -> Regex<'static> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | unsafe fn der_rec<'b>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn der<'b>(&'b self, c: char) -> Regex<'b> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | unsafe fn simp_rec( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn simp<'b>(&'b self) -> Regex<'b> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | fn ders(r: Regex<'static>, cs: &[char]) -> Regex<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn is_match(&self, s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_static` is never used [INFO] [stdout] --> src/regex/mod.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 440 | impl Regex<'static> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 441 | pub fn clone_static(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `dangling`, `ptr_eq`, and `eq` are never used [INFO] [stdout] --> src/regex/const_ptr.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Const { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn dangling() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn ptr_eq(self, rhs: Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub unsafe fn eq(self, rhs: Self, inner_eq: impl Fn(&T, &T) -> bool) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `re`, `alt`, and `star` are never used [INFO] [stdout] --> src/regex/build_plan.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait ImplicitRe: Into { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn re(self) -> Re { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn alt(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn star(self) -> Re { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ptr` and `capacity` are never read [INFO] [stdout] --> src/vec_alloc.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 26 | struct RawBuf { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 27 | ptr: *const (), [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawBuf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vec_alloc.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl RawBuf { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get(&mut self, index: usize) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/vec_alloc.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl VecAlloc { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn len(&self) -> usize { [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/regex/build_plan.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | fn into_boxed(self) -> Box { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | >::into(self).into() [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/regex/build_plan.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 26 | fn alt(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ---- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Re::Alt(self.into_boxed(), rhs.into_boxed()) [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/regex/build_plan.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 26 | fn alt(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ---- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Re::Alt(self.into_boxed(), rhs.into_boxed()) [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/regex/build_plan.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 30 | fn seq(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ---- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Re::Seq(self.into_boxed(), rhs.into_boxed()) [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/regex/build_plan.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 30 | fn seq(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ---- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Re::Seq(self.into_boxed(), rhs.into_boxed()) [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/regex/build_plan.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 34 | fn star(self) -> Re { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Re::Star(self.into_boxed()) [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 6 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `nullable`, `const_eq`, and `eq` are never used [INFO] [stdout] --> src/regex/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Re { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] 23 | // TODO: make #[tailcall] [INFO] [stdout] 24 | pub fn nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | unsafe fn const_eq(lhs: Const, rhs: Const) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | unsafe fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alloc` is never read [INFO] [stdout] --> src/regex/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Regex<'parent> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | alloc: VecAlloc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_alloc` is never used [INFO] [stdout] --> src/regex/mod.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn try_alloc(alloc: &mut VecAlloc, value: Re) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/regex/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl<'a> Regex<'a> { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn alloc(&self) -> &VecAlloc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub unsafe fn alloc_mut(&mut self) -> &mut VecAlloc { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub unsafe fn tree_mut(&mut self) -> &mut Const { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn child(&'a self) -> Regex<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn nullable(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | unsafe fn rebuild_with(alloc: &mut VecAlloc, r: Const) -> Const { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn clone(&self) -> Regex<'static> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | unsafe fn der_rec<'b>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | pub fn der<'b>(&'b self, c: char) -> Regex<'b> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | unsafe fn simp_rec( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn simp<'b>(&'b self) -> Regex<'b> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | fn ders(r: Regex<'static>, cs: &[char]) -> Regex<'static> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn is_match(&self, s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone_static` is never used [INFO] [stdout] --> src/regex/mod.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 440 | impl Regex<'static> { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 441 | pub fn clone_static(&self) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `dangling`, `ptr_eq`, and `eq` are never used [INFO] [stdout] --> src/regex/const_ptr.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Const { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn dangling() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn ptr_eq(self, rhs: Self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub unsafe fn eq(self, rhs: Self, inner_eq: impl Fn(&T, &T) -> bool) -> bool { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `re`, `alt`, and `star` are never used [INFO] [stdout] --> src/regex/build_plan.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait ImplicitRe: Into { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 22 | fn re(self) -> Re { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn alt(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn star(self) -> Re { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ptr` and `capacity` are never read [INFO] [stdout] --> src/vec_alloc.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 26 | struct RawBuf { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 27 | ptr: *const (), [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawBuf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/vec_alloc.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl RawBuf { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn get(&mut self, index: usize) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/vec_alloc.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 98 | impl VecAlloc { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fast_regex` (bin "fast_regex" test) due to 7 previous errors; 11 warnings emitted [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/regex/build_plan.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | fn into_boxed(self) -> Box { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | >::into(self).into() [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/regex/build_plan.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 26 | fn alt(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ---- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Re::Alt(self.into_boxed(), rhs.into_boxed()) [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/regex/build_plan.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 26 | fn alt(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ---- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | Re::Alt(self.into_boxed(), rhs.into_boxed()) [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/regex/build_plan.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 30 | fn seq(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ---- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Re::Seq(self.into_boxed(), rhs.into_boxed()) [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/regex/build_plan.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 30 | fn seq(self, rhs: impl ImplicitRe) -> Re { [INFO] [stdout] | ---- -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | Re::Seq(self.into_boxed(), rhs.into_boxed()) [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/regex/build_plan.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 34 | fn star(self) -> Re { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Re::Star(self.into_boxed()) [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 6 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fast_regex` (bin "fast_regex") due to 7 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1087d63e0960d3dbf154f7704b421cbbc85128bbaa00df8e77af9f3d0bbea946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1087d63e0960d3dbf154f7704b421cbbc85128bbaa00df8e77af9f3d0bbea946", kill_on_drop: false }` [INFO] [stdout] 1087d63e0960d3dbf154f7704b421cbbc85128bbaa00df8e77af9f3d0bbea946