[INFO] cloning repository https://github.com/doshiraki/dynamic-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/doshiraki/dynamic-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoshiraki%2Fdynamic-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdoshiraki%2Fdynamic-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85d57f802300f428f82bcdb9910506be929a151f [INFO] checking doshiraki/dynamic-parser/85d57f802300f428f82bcdb9910506be929a151f 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%2Fdoshiraki%2Fdynamic-parser" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/doshiraki/dynamic-parser 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/doshiraki/dynamic-parser [INFO] finished tweaking git repo https://github.com/doshiraki/dynamic-parser [INFO] tweaked toml for git repo https://github.com/doshiraki/dynamic-parser written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/doshiraki/dynamic-parser 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6c36d07c60e78e1b2611bf925d7039c5b59c9e72024911e64163a8634570884b [INFO] running `Command { std: "docker" "start" "-a" "6c36d07c60e78e1b2611bf925d7039c5b59c9e72024911e64163a8634570884b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c36d07c60e78e1b2611bf925d7039c5b59c9e72024911e64163a8634570884b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c36d07c60e78e1b2611bf925d7039c5b59c9e72024911e64163a8634570884b", kill_on_drop: false }` [INFO] [stdout] 6c36d07c60e78e1b2611bf925d7039c5b59c9e72024911e64163a8634570884b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d531ea61173a0cc970ccd69480e49cee9a7201525dd50c81cf33314af02361d0 [INFO] running `Command { std: "docker" "start" "-a" "d531ea61173a0cc970ccd69480e49cee9a7201525dd50c81cf33314af02361d0", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking thread_local v1.1.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking pcc2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> src/main.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Success` is never constructed [INFO] [stdout] --> src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Success { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Failure` is never constructed [INFO] [stdout] --> src/main.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Failure { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Reply` is never used [INFO] [stdout] --> src/main.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | trait Reply { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParserFunc` is never used [INFO] [stdout] --> src/main.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | type ParserFunc = Rc Result>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | struct Parser [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'b> Parser { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 69 | fn new(p2p:Box Parser>)->Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn parse(&self, s:&str)->Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn and(self, p:Self)->Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn list(self)->Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn flat(self)->Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn repeat(self)->Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | fn merge_errs(e1:Failure, e2:Failure)-> Failure { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn or(self, p:Self)->Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn skip(pattern: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | fn regex(pattern: &str, group: isize) -> Self { [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/main.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 69 | fn new(p2p:Box Parser>)->Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Parser{func:Rc::new(move |root:&Parser, source: &str, position: i32|(p2p(root).func)(root, source, position))} [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/main.rs:70:77 [INFO] [stdout] | [INFO] [stdout] 69 | fn new(p2p:Box Parser>)->Self { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Parser{func:Rc::new(move |root:&Parser, source: &str, position: i32|(p2p(root).func)(root, source, position))} [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/main.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 79 | fn and(self, p:Self)->Self { [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] 80 | Parser{func:Rc::new(move |root:&Self, s:&str, i:i32| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 81 | | let result1 = (self.func)(root, s, i)?; [INFO] [stdout] 82 | | let result2 = (p.func)(root, s, result1.position)?; [INFO] [stdout] 83 | | let mut v = Vec::::new(); [INFO] [stdout] ... | [INFO] [stdout] 95 | | }}) [INFO] [stdout] 96 | | })} [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/main.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 99 | fn list(self)->Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | Parser{func:Rc::new(move |root:&Self, s:&str, i:i32| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 101 | | let mut result1 = (self.func)(root, s, i)?; [INFO] [stdout] 102 | | if result1.value != Value::None { [INFO] [stdout] 103 | | result1.value = Value::List(vec![result1.value]); [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | Ok(result1) [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] 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/main.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 109 | fn flat(self)->Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | Parser{func:Rc::new(move |root:&Self, s:&str, i:i32| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 111 | | let mut result1 = (self.func)(root, s, i)?; [INFO] [stdout] 112 | | if let Value::List(results) = result1.value { [INFO] [stdout] 113 | | let mut v = Vec::::new(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | Ok(result1) [INFO] [stdout] 124 | | })} [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/main.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 126 | fn repeat(self)->Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | Parser{func:Rc::new(move |root:&Self, s:&str, pi:i32| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 128 | | let mut v = Vec::::new(); [INFO] [stdout] 129 | | let mut i = pi; [INFO] [stdout] 130 | | let pos = loop { [INFO] [stdout] ... | [INFO] [stdout] 142 | | Ok(Success{position: pos, value: Value::List(v)}) [INFO] [stdout] 143 | | })} [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/main.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 159 | fn or(self, p:Self)->Self { [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] 160 | Parser{func:Rc::new(move |root:&Self, s:&str, i:i32| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 161 | | match (self.func)(root, s, i) { [INFO] [stdout] 162 | | Err(e1) => [INFO] [stdout] 163 | | match (p.func)(root, s, i){ [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | })} [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/main.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 179 | let regex = Regex::new(&ptn).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | Parser{func:Rc::new(move |_root:&Self, source: &str, position: i32| -> Result { [INFO] [stdout] | _____________________^ [INFO] [stdout] 181 | | let src = &source[position as usize..source.len()]; [INFO] [stdout] 182 | | let captures = regex.captures(src); [INFO] [stdout] 183 | | match captures { [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | })} [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 8 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pcc2` (bin "pcc2") due to 9 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `position` and `expected` are never used [INFO] [stdout] --> src/main.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 22 | trait Reply { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 23 | fn position(&self) -> i32; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn expected(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/main.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 69 | fn new(p2p:Box Parser>)->Self { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Parser{func:Rc::new(move |root:&Parser, source: &str, position: i32|(p2p(root).func)(root, source, position))} [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/main.rs:70:77 [INFO] [stdout] | [INFO] [stdout] 69 | fn new(p2p:Box Parser>)->Self { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 70 | Parser{func:Rc::new(move |root:&Parser, source: &str, position: i32|(p2p(root).func)(root, source, position))} [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/main.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 79 | fn and(self, p:Self)->Self { [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] 80 | Parser{func:Rc::new(move |root:&Self, s:&str, i:i32| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 81 | | let result1 = (self.func)(root, s, i)?; [INFO] [stdout] 82 | | let result2 = (p.func)(root, s, result1.position)?; [INFO] [stdout] 83 | | let mut v = Vec::::new(); [INFO] [stdout] ... | [INFO] [stdout] 95 | | }}) [INFO] [stdout] 96 | | })} [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/main.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 99 | fn list(self)->Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | Parser{func:Rc::new(move |root:&Self, s:&str, i:i32| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 101 | | let mut result1 = (self.func)(root, s, i)?; [INFO] [stdout] 102 | | if result1.value != Value::None { [INFO] [stdout] 103 | | result1.value = Value::List(vec![result1.value]); [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | Ok(result1) [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] 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/main.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 109 | fn flat(self)->Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | Parser{func:Rc::new(move |root:&Self, s:&str, i:i32| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 111 | | let mut result1 = (self.func)(root, s, i)?; [INFO] [stdout] 112 | | if let Value::List(results) = result1.value { [INFO] [stdout] 113 | | let mut v = Vec::::new(); [INFO] [stdout] ... | [INFO] [stdout] 123 | | Ok(result1) [INFO] [stdout] 124 | | })} [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/main.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 126 | fn repeat(self)->Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | Parser{func:Rc::new(move |root:&Self, s:&str, pi:i32| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 128 | | let mut v = Vec::::new(); [INFO] [stdout] 129 | | let mut i = pi; [INFO] [stdout] 130 | | let pos = loop { [INFO] [stdout] ... | [INFO] [stdout] 142 | | Ok(Success{position: pos, value: Value::List(v)}) [INFO] [stdout] 143 | | })} [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/main.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 159 | fn or(self, p:Self)->Self { [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] 160 | Parser{func:Rc::new(move |root:&Self, s:&str, i:i32| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 161 | | match (self.func)(root, s, i) { [INFO] [stdout] 162 | | Err(e1) => [INFO] [stdout] 163 | | match (p.func)(root, s, i){ [INFO] [stdout] ... | [INFO] [stdout] 168 | | } [INFO] [stdout] 169 | | })} [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/main.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 179 | let regex = Regex::new(&ptn).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 180 | Parser{func:Rc::new(move |_root:&Self, source: &str, position: i32| -> Result { [INFO] [stdout] | _____________________^ [INFO] [stdout] 181 | | let src = &source[position as usize..source.len()]; [INFO] [stdout] 182 | | let captures = regex.captures(src); [INFO] [stdout] 183 | | match captures { [INFO] [stdout] ... | [INFO] [stdout] 196 | | } [INFO] [stdout] 197 | | })} [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/main.rs:458:17 [INFO] [stdout] | [INFO] [stdout] 458 | / Parser::skip("\\[") [INFO] [stdout] 459 | | .and(root.clone().and(Parser::skip(",")).repeat().and(root.clone().or(Parser::skip(""))).flat()) [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/main.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | .and(Parser::skip("]")) [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/main.rs:467:13 [INFO] [stdout] | [INFO] [stdout] 463 | let json_string_for_object = json_string.clone(); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 464 | let json_object = Parser::new(Box::new(move |root:&Parser|{ [INFO] [stdout] 465 | let json_pair = json_string_for_object.clone().and(Parser::skip(":")).and(root.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | let json_comma = Parser::skip(","); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 467 | / Parser::skip("\\{") [INFO] [stdout] 468 | | .and( [INFO] [stdout] 469 | | json_pair.clone().list() [INFO] [stdout] 470 | | .and(json_comma.clone().and(json_pair.clone()).repeat()).flat() [INFO] [stdout] 471 | | .and(json_comma.clone().or(Parser::skip("")))) [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/main.rs:472:18 [INFO] [stdout] | [INFO] [stdout] 463 | let json_string_for_object = json_string.clone(); [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 464 | let json_object = Parser::new(Box::new(move |root:&Parser|{ [INFO] [stdout] 465 | let json_pair = json_string_for_object.clone().and(Parser::skip(":")).and(root.clone()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 466 | let json_comma = Parser::skip(","); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 472 | .and(Parser::skip("}")) [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 12 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pcc2` (bin "pcc2" test) due to 13 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d531ea61173a0cc970ccd69480e49cee9a7201525dd50c81cf33314af02361d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d531ea61173a0cc970ccd69480e49cee9a7201525dd50c81cf33314af02361d0", kill_on_drop: false }` [INFO] [stdout] d531ea61173a0cc970ccd69480e49cee9a7201525dd50c81cf33314af02361d0