[INFO] cloning repository https://github.com/kj455/my-parser-combinator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kj455/my-parser-combinator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkj455%2Fmy-parser-combinator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkj455%2Fmy-parser-combinator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 258c98f7886b13235f7a051cfbc4977845f973b1 [INFO] checking kj455/my-parser-combinator against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkj455%2Fmy-parser-combinator" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kj455/my-parser-combinator on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kj455/my-parser-combinator [INFO] finished tweaking git repo https://github.com/kj455/my-parser-combinator [INFO] tweaked toml for git repo https://github.com/kj455/my-parser-combinator written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kj455/my-parser-combinator 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.7.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 534d7e5e3ecc82c163ade7776a12e3b551aa719ce828d66e11ee4e5510d3f7e7 [INFO] running `Command { std: "docker" "start" "-a" "534d7e5e3ecc82c163ade7776a12e3b551aa719ce828d66e11ee4e5510d3f7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "534d7e5e3ecc82c163ade7776a12e3b551aa719ce828d66e11ee4e5510d3f7e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "534d7e5e3ecc82c163ade7776a12e3b551aa719ce828d66e11ee4e5510d3f7e7", kill_on_drop: false }` [INFO] [stdout] 534d7e5e3ecc82c163ade7776a12e3b551aa719ce828d66e11ee4e5510d3f7e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edcc0215f5d085562bf36483eb4f1d475da5bbb1a69e178bb75157c2436311a3 [INFO] running `Command { std: "docker" "start" "-a" "edcc0215f5d085562bf36483eb4f1d475da5bbb1a69e178bb75157c2436311a3", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking parser-combinator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `char::char`, `digits::digits`, `lexeme::lexeme`, `or::or`, and `string::string` [INFO] [stdout] --> src/cat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | helper::{parser_closure, Parser}, [INFO] [stdout] 5 | string::string, or::or, lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `char::char` and `digits::digits` [INFO] [stdout] --> src/lexeme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digits::digits` [INFO] [stdout] --> src/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `digits::digits`, `map::map`, and `string::string` [INFO] [stdout] --> src/or.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | helper::{parser_closure, Parser}, [INFO] [stdout] 4 | map::map, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | string::string, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `char::char`, `digits::digits`, `lexeme::lexeme`, and `or::or` [INFO] [stdout] --> src/rep.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | helper::{parser_closure, Parser}, [INFO] [stdout] 5 | lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | or::or, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `char::char`, `digits::digits`, and `lexeme::lexeme` [INFO] [stdout] --> src/split.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | helper::{parser_closure, Parser}, [INFO] [stdout] 7 | lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lexeme::lexeme` [INFO] [stdout] --> src/string.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | helper::{parser_closure, Parser}, lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cat_multiple` is never used [INFO] [stdout] --> src/cat.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn cat_multiple(list: Vec>) -> impl Parser> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `digits` is never used [INFO] [stdout] --> src/digits.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn digits(s: &str) -> Option<(u64, &str)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `json_str` should have an upper case name [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const json_str: &str = r#"{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `JSON_STR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/cat.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let parser = cat_multiple(list); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `json_str` should have an upper case name [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const json_str: &str = r#"{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `JSON_STR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "edcc0215f5d085562bf36483eb4f1d475da5bbb1a69e178bb75157c2436311a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edcc0215f5d085562bf36483eb4f1d475da5bbb1a69e178bb75157c2436311a3", kill_on_drop: false }` [INFO] [stdout] edcc0215f5d085562bf36483eb4f1d475da5bbb1a69e178bb75157c2436311a3 [INFO] checking kj455/my-parser-combinator against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkj455%2Fmy-parser-combinator" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kj455/my-parser-combinator on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kj455/my-parser-combinator [INFO] finished tweaking git repo https://github.com/kj455/my-parser-combinator [INFO] tweaked toml for git repo https://github.com/kj455/my-parser-combinator written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kj455/my-parser-combinator 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6c7ae2b04a2785ee8091b789ca202f0ab16987b3a66f172270a8c714d37131a [INFO] running `Command { std: "docker" "start" "-a" "d6c7ae2b04a2785ee8091b789ca202f0ab16987b3a66f172270a8c714d37131a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6c7ae2b04a2785ee8091b789ca202f0ab16987b3a66f172270a8c714d37131a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c7ae2b04a2785ee8091b789ca202f0ab16987b3a66f172270a8c714d37131a", kill_on_drop: false }` [INFO] [stdout] d6c7ae2b04a2785ee8091b789ca202f0ab16987b3a66f172270a8c714d37131a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ec0dfcdc005d9d5744c98c57fc0c372adc07918d838d822936e4d4a8238c830 [INFO] running `Command { std: "docker" "start" "-a" "3ec0dfcdc005d9d5744c98c57fc0c372adc07918d838d822936e4d4a8238c830", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking parser-combinator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `char::char`, `digits::digits`, `lexeme::lexeme`, `or::or`, and `string::string` [INFO] [stdout] --> src/cat.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | helper::{parser_closure, Parser}, [INFO] [stdout] 5 | string::string, or::or, lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `char::char` and `digits::digits` [INFO] [stdout] --> src/lexeme.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digits::digits` [INFO] [stdout] --> src/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `digits::digits`, `map::map`, and `string::string` [INFO] [stdout] --> src/or.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | helper::{parser_closure, Parser}, [INFO] [stdout] 4 | map::map, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | string::string, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `char::char`, `digits::digits`, `lexeme::lexeme`, and `or::or` [INFO] [stdout] --> src/rep.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 3 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | helper::{parser_closure, Parser}, [INFO] [stdout] 5 | lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | or::or, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `char::char`, `digits::digits`, and `lexeme::lexeme` [INFO] [stdout] --> src/split.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | char::char, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | digits::digits, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | helper::{parser_closure, Parser}, [INFO] [stdout] 7 | lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lexeme::lexeme` [INFO] [stdout] --> src/string.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | helper::{parser_closure, Parser}, lexeme::lexeme, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cat_multiple` is never used [INFO] [stdout] --> src/cat.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn cat_multiple(list: Vec>) -> impl Parser> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `digits` is never used [INFO] [stdout] --> src/digits.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn digits(s: &str) -> Option<(u64, &str)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `json_str` should have an upper case name [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const json_str: &str = r#"{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `JSON_STR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` 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/cat.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn cat(p1: impl Parser, p2: impl Parser) -> impl Parser<(T, U)> { [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] 9 | parser_closure(move |s| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | p1(s).and_then(|(val1, rest1)| p2(rest1).and_then(|(val2, rest2)| Some(((val1, val2), rest2)))) [INFO] [stdout] 11 | | }) [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/cat.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn cat(p1: impl Parser, p2: impl Parser) -> impl Parser<(T, U)> { [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] 9 | parser_closure(move |s| { [INFO] [stdout] 10 | p1(s).and_then(|(val1, rest1)| p2(rest1).and_then(|(val2, rest2)| Some(((val1, val2), rest2)))) [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/cat.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | p1(s).and_then(|(val1, rest1)| p2(rest1).and_then(|(val2, rest2)| Some(((val1, val2), rest2)))) [INFO] [stdout] | ------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/cat.rs:10:59 [INFO] [stdout] | [INFO] [stdout] 10 | p1(s).and_then(|(val1, rest1)| p2(rest1).and_then(|(val2, rest2)| Some(((val1, val2), rest2)))) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/cat.rs:10:80 [INFO] [stdout] | [INFO] [stdout] 10 | p1(s).and_then(|(val1, rest1)| p2(rest1).and_then(|(val2, rest2)| Some(((val1, val2), rest2)))) [INFO] [stdout] | ---- ------------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/cat.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn cat_multiple(list: Vec>) -> impl Parser> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | parser_closure(move |s| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 30 | | let mut result = vec![]; [INFO] [stdout] 31 | | let mut input = s; [INFO] [stdout] ... | [INFO] [stdout] 41 | | Some((result, input)) [INFO] [stdout] 42 | | }) [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/cat.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn cat_multiple(list: Vec>) -> impl Parser> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | parser_closure(move |s| { [INFO] [stdout] 30 | let mut result = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Some((result, input)) [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/regexp.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | static RE: Lazy = Lazy::new(|| Regex::new($pattern).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | map(lexeme(regex!(PATTERN, |s| s.parse::().ok())), |x| { [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/regexp.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | static RE: Lazy = Lazy::new(|| Regex::new($pattern).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | crate::regex!(r#"^[^"\\[:cntrl:]]"#, |s| s.chars().next()), [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `crate::regex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/regexp.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | static RE: Lazy = Lazy::new(|| Regex::new($pattern).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | crate::regex!(r#"^\\u[0-9a-fA-F]{4}"#, hex_code), [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `crate::regex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/regexp.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | static RE: Lazy = Lazy::new(|| Regex::new($pattern).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | crate::regex!(r#"^\\."#, escape) [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `crate::regex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lexeme.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn lexeme(parser: impl Parser) -> impl Parser { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | parser_closure(move |s| parser(s.trim_start())) [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/map.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn map(parser: impl Parser, f: impl Fn(A) -> B) -> impl Parser { [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] 7 | parser_closure(move |str| parser(str).map(|(output, rest)| (f(output), rest))) [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/map.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn map(parser: impl Parser, f: impl Fn(A) -> B) -> impl Parser { [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] 7 | parser_closure(move |str| parser(str).map(|(output, rest)| (f(output), rest))) [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/map.rs:7:65 [INFO] [stdout] | [INFO] [stdout] 7 | parser_closure(move |str| parser(str).map(|(output, rest)| (f(output), rest))) [INFO] [stdout] | -------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/or.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn or(p1: impl Parser, p2: impl Parser) -> impl Parser { [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] 9 | parser_closure(move |s| p1(s).or_else(|| p2(s))) [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/or.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn or(p1: impl Parser, p2: impl Parser) -> impl Parser { [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] 9 | parser_closure(move |s| p1(s).or_else(|| p2(s))) [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/regexp.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn regex<'a, T: 'a>(re: &'a Regex, f: impl Fn(&str) -> Option + 'a) -> impl Parser + 'a { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | parser_closure(move |s| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 6 | | re.find(s).and_then(|matched| { [INFO] [stdout] 7 | | f(matched.as_str()).map(|value| { [INFO] [stdout] 8 | | let rest = &s[matched.end()..]; [INFO] [stdout] ... | [INFO] [stdout] 11 | | }) [INFO] [stdout] 12 | | }) [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/rep.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rep(parser: impl Parser) -> impl Parser> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | parser_closure(move |s| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 11 | | let mut result: Vec = vec![]; [INFO] [stdout] 12 | | let mut input = s; [INFO] [stdout] ... | [INFO] [stdout] 19 | | Some((result, input)) [INFO] [stdout] 20 | | }) [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/rep.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rep(parser: impl Parser) -> impl Parser> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | parser_closure(move |s| { [INFO] [stdout] 11 | let mut result: Vec = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Some((result, input)) [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/split.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn split(parser: impl Parser, separator: impl Parser) -> impl Parser> { [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] 11 | parser_closure(move |s| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 12 | | let mut result: Vec = vec![]; [INFO] [stdout] 13 | | let mut input = s; [INFO] [stdout] ... | [INFO] [stdout] 26 | | Some((result, input)) [INFO] [stdout] 27 | | }) [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/split.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn split(parser: impl Parser, separator: impl Parser) -> impl Parser> { [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] 11 | parser_closure(move |s| { [INFO] [stdout] 12 | let mut result: Vec = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Some((result, input)) [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 22 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parser-combinator` (bin "parser-combinator") due to 23 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `parser` [INFO] [stdout] --> src/cat.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let parser = cat_multiple(list); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parser` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `json_str` should have an upper case name [INFO] [stdout] --> src/main.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | const json_str: &str = r#"{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `JSON_STR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` 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/cat.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn cat(p1: impl Parser, p2: impl Parser) -> impl Parser<(T, U)> { [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] 9 | parser_closure(move |s| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 10 | | p1(s).and_then(|(val1, rest1)| p2(rest1).and_then(|(val2, rest2)| Some(((val1, val2), rest2)))) [INFO] [stdout] 11 | | }) [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/cat.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn cat(p1: impl Parser, p2: impl Parser) -> impl Parser<(T, U)> { [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] 9 | parser_closure(move |s| { [INFO] [stdout] 10 | p1(s).and_then(|(val1, rest1)| p2(rest1).and_then(|(val2, rest2)| Some(((val1, val2), rest2)))) [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/cat.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | p1(s).and_then(|(val1, rest1)| p2(rest1).and_then(|(val2, rest2)| Some(((val1, val2), rest2)))) [INFO] [stdout] | ------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/cat.rs:10:59 [INFO] [stdout] | [INFO] [stdout] 10 | p1(s).and_then(|(val1, rest1)| p2(rest1).and_then(|(val2, rest2)| Some(((val1, val2), rest2)))) [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/cat.rs:10:80 [INFO] [stdout] | [INFO] [stdout] 10 | p1(s).and_then(|(val1, rest1)| p2(rest1).and_then(|(val2, rest2)| Some(((val1, val2), rest2)))) [INFO] [stdout] | ---- ------------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/cat.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn cat_multiple(list: Vec>) -> impl Parser> { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | parser_closure(move |s| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 30 | | let mut result = vec![]; [INFO] [stdout] 31 | | let mut input = s; [INFO] [stdout] ... | [INFO] [stdout] 41 | | Some((result, input)) [INFO] [stdout] 42 | | }) [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/cat.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn cat_multiple(list: Vec>) -> impl Parser> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | parser_closure(move |s| { [INFO] [stdout] 30 | let mut result = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Some((result, input)) [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/regexp.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | static RE: Lazy = Lazy::new(|| Regex::new($pattern).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | map(lexeme(regex!(PATTERN, |s| s.parse::().ok())), |x| { [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `regex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/regexp.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | static RE: Lazy = Lazy::new(|| Regex::new($pattern).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | crate::regex!(r#"^[^"\\[:cntrl:]]"#, |s| s.chars().next()), [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `crate::regex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/regexp.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | static RE: Lazy = Lazy::new(|| Regex::new($pattern).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | crate::regex!(r#"^\\u[0-9a-fA-F]{4}"#, hex_code), [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `crate::regex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/regexp.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | static RE: Lazy = Lazy::new(|| Regex::new($pattern).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | crate::regex!(r#"^\\."#, escape) [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `crate::regex` (in Nightly builds, run with -Z macro-backtrace for more info) [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/lexeme.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn lexeme(parser: impl Parser) -> impl Parser { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8 | parser_closure(move |s| parser(s.trim_start())) [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/map.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn map(parser: impl Parser, f: impl Fn(A) -> B) -> impl Parser { [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] 7 | parser_closure(move |str| parser(str).map(|(output, rest)| (f(output), rest))) [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/map.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn map(parser: impl Parser, f: impl Fn(A) -> B) -> impl Parser { [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] 7 | parser_closure(move |str| parser(str).map(|(output, rest)| (f(output), rest))) [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/map.rs:7:65 [INFO] [stdout] | [INFO] [stdout] 7 | parser_closure(move |str| parser(str).map(|(output, rest)| (f(output), rest))) [INFO] [stdout] | -------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/or.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn or(p1: impl Parser, p2: impl Parser) -> impl Parser { [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] 9 | parser_closure(move |s| p1(s).or_else(|| p2(s))) [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/or.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn or(p1: impl Parser, p2: impl Parser) -> impl Parser { [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] 9 | parser_closure(move |s| p1(s).or_else(|| p2(s))) [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/regexp.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn regex<'a, T: 'a>(re: &'a Regex, f: impl Fn(&str) -> Option + 'a) -> impl Parser + 'a { [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | parser_closure(move |s| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 6 | | re.find(s).and_then(|matched| { [INFO] [stdout] 7 | | f(matched.as_str()).map(|value| { [INFO] [stdout] 8 | | let rest = &s[matched.end()..]; [INFO] [stdout] ... | [INFO] [stdout] 11 | | }) [INFO] [stdout] 12 | | }) [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/rep.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rep(parser: impl Parser) -> impl Parser> { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | parser_closure(move |s| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 11 | | let mut result: Vec = vec![]; [INFO] [stdout] 12 | | let mut input = s; [INFO] [stdout] ... | [INFO] [stdout] 19 | | Some((result, input)) [INFO] [stdout] 20 | | }) [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/rep.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn rep(parser: impl Parser) -> impl Parser> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | parser_closure(move |s| { [INFO] [stdout] 11 | let mut result: Vec = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Some((result, input)) [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/split.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn split(parser: impl Parser, separator: impl Parser) -> impl Parser> { [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] 11 | parser_closure(move |s| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 12 | | let mut result: Vec = vec![]; [INFO] [stdout] 13 | | let mut input = s; [INFO] [stdout] ... | [INFO] [stdout] 26 | | Some((result, input)) [INFO] [stdout] 27 | | }) [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/split.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn split(parser: impl Parser, separator: impl Parser) -> impl Parser> { [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] 11 | parser_closure(move |s| { [INFO] [stdout] 12 | let mut result: Vec = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | Some((result, input)) [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 22 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parser-combinator` (bin "parser-combinator" test) due to 23 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ec0dfcdc005d9d5744c98c57fc0c372adc07918d838d822936e4d4a8238c830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ec0dfcdc005d9d5744c98c57fc0c372adc07918d838d822936e4d4a8238c830", kill_on_drop: false }` [INFO] [stdout] 3ec0dfcdc005d9d5744c98c57fc0c372adc07918d838d822936e4d4a8238c830