[INFO] fetching crate polka 0.1.2... [INFO] checking polka-0.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate polka 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate polka 0.1.2 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 crates.io crate polka 0.1.2 [INFO] finished tweaking crates.io crate polka 0.1.2 [INFO] tweaked toml for crates.io crate polka 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding ansi_term v0.11.0 (latest: v0.12.1) [INFO] [stderr] Adding ctor v0.1.26 (latest: v0.2.8) [INFO] [stderr] Adding pretty_assertions v0.6.1 (latest: v1.4.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 289e8e4b3b6d16005618358a0571a6ee37d36ed15c8123c58b87422db9225007 [INFO] running `Command { std: "docker" "start" "-a" "289e8e4b3b6d16005618358a0571a6ee37d36ed15c8123c58b87422db9225007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "289e8e4b3b6d16005618358a0571a6ee37d36ed15c8123c58b87422db9225007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "289e8e4b3b6d16005618358a0571a6ee37d36ed15c8123c58b87422db9225007", kill_on_drop: false }` [INFO] [stdout] 289e8e4b3b6d16005618358a0571a6ee37d36ed15c8123c58b87422db9225007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6f5cddcee96b531a250d37a4851304f137210f68fbf3fa7a46a0727c8fab6092 [INFO] running `Command { std: "docker" "start" "-a" "6f5cddcee96b531a250d37a4851304f137210f68fbf3fa7a46a0727c8fab6092", kill_on_drop: false }` [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking pom v3.4.0 [INFO] [stderr] Checking polka v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `list` [INFO] [stdout] --> src/parser/statement.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use pom::parser::{list, sym, Parser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `list` [INFO] [stdout] --> src/parser/statement.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use pom::parser::{list, sym, Parser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `basic_1` is never used [INFO] [stdout] --> src/test_fixtures.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn basic_1() -> Graph { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `digraph` is never used [INFO] [stdout] --> src/test_fixtures.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn digraph() -> Graph { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/parser/ident.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | alphanum(term) || (term >= 0x80 && term <= 0xFF) || term == 0x5F [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/ident.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 26 | let integer = (one_of("123456789") - one_of("0123456789").repeat(0..)) | sym('0'); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let frac = sym('.') + one_of("0123456789").repeat(1..); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let number = sym('-').opt() + integer + frac.opt(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | number.collect().convert(|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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/statement.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 14 | let es = edge_statement().map(Statement::EdgeStatement); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let ats = attribute_statement().map(Statement::AttributeStatement); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let idp = id_pair().map(Statement::IdPair); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let sg = sub_graph().map(Statement::Subgraph); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let ns = node_statement().map(Statement::NodeStatement); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let stmt = sg | es | ats | idp | ns; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | [INFO] [stdout] 21 | let stmts = (stmt - sym(';').opt() - space()).repeat(0..); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | sym('{') * space().opt() * stmts - space() - sym('}') [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/parser/statement.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 14 | let es = edge_statement().map(Statement::EdgeStatement); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let ats = attribute_statement().map(Statement::AttributeStatement); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let idp = id_pair().map(Statement::IdPair); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let sg = sub_graph().map(Statement::Subgraph); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let ns = node_statement().map(Statement::NodeStatement); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let stmt = sg | es | ats | idp | ns; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | [INFO] [stdout] 21 | let stmts = (stmt - sym(';').opt() - space()).repeat(0..); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | sym('{') * space().opt() * stmts - space() - sym('}') [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/parser/statement.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 34 | let attribute = id_pair().map(|ip| ip as Attribute); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let sep = sym(',') | sym(';') | space().map(|_| ' '); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | [INFO] [stdout] 37 | let attr_list = (attribute - sep - space()).repeat(1..); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | sym('[') * space() * attr_list - space() - sym(']') [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/parser/statement.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 34 | let attribute = id_pair().map(|ip| ip as Attribute); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let sep = sym(',') | sym(';') | space().map(|_| ' '); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | [INFO] [stdout] 37 | let attr_list = (attribute - sep - space()).repeat(1..); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | sym('[') * space() * attr_list - space() - sym(']') [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/parser/symbols.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 44 | let eol = (sym('\n').discard() | end()).name("eol"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let not_eol = !(sym('\n').discard() | end()).name("not_eol"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | (tag("//") - (not_eol).repeat(1..) - eol).discard() [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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polka` (lib) due to 7 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | Ok(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/edge.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 105 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 106 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 107 | | input1, e [INFO] [stdout] 108 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 105 ~ Err(e) => panic!( [INFO] [stdout] 106 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 107 | input1, e [INFO] [stdout] 108 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/edge.rs:116:26 [INFO] [stdout] | [INFO] [stdout] 116 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 117 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 118 | | input1, e [INFO] [stdout] 119 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 116 ~ Err(e) => panic!( [INFO] [stdout] 117 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 118 | input1, e [INFO] [stdout] 119 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/edge.rs:178:26 [INFO] [stdout] | [INFO] [stdout] 178 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 179 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 180 | | input1, e [INFO] [stdout] 181 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 178 ~ Err(e) => panic!( [INFO] [stdout] 179 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 180 | input1, e [INFO] [stdout] 181 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/edge.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 207 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 208 | | input1, e [INFO] [stdout] 209 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 206 ~ Err(e) => panic!( [INFO] [stdout] 207 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 208 | input1, e [INFO] [stdout] 209 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/edge.rs:216:26 [INFO] [stdout] | [INFO] [stdout] 216 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 217 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 218 | | input2, e [INFO] [stdout] 219 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 216 ~ Err(e) => panic!( [INFO] [stdout] 217 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 218 | input2, e [INFO] [stdout] 219 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/graph.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 67 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 68 | | input1, e [INFO] [stdout] 69 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 66 ~ Err(e) => panic!( [INFO] [stdout] 67 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 68 | input1, e [INFO] [stdout] 69 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/graph.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 102 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 103 | | input1, e [INFO] [stdout] 104 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 101 ~ Err(e) => panic!( [INFO] [stdout] 102 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 103 | input1, e [INFO] [stdout] 104 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/graph.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 125 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 126 | | input2, e [INFO] [stdout] 127 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 124 ~ Err(e) => panic!( [INFO] [stdout] 125 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 126 | input2, e [INFO] [stdout] 127 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/graph.rs:147:26 [INFO] [stdout] | [INFO] [stdout] 147 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 148 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 149 | | input2, e [INFO] [stdout] 150 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 147 ~ Err(e) => panic!( [INFO] [stdout] 148 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 149 | input2, e [INFO] [stdout] 150 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/parser/ident.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | alphanum(term) || (term >= 0x80 && term <= 0xFF) || term == 0x5F [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/ident.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 26 | let integer = (one_of("123456789") - one_of("0123456789").repeat(0..)) | sym('0'); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | let frac = sym('.') + one_of("0123456789").repeat(1..); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let number = sym('-').opt() + integer + frac.opt(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | number.collect().convert(|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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/ident.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => panic!(format!("Should have passed. Failed instead with: {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 82 - Err(e) => panic!(format!("Should have passed. Failed instead with: {:?}", e)), [INFO] [stdout] 82 + Err(e) => panic!("Should have passed. Failed instead with: {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/ident.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => panic!(format!("Should have passed. Failed instead with: {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 101 - Err(e) => panic!(format!("Should have passed. Failed instead with: {:?}", e)), [INFO] [stdout] 101 + Err(e) => panic!("Should have passed. Failed instead with: {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/ident.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(r) => panic!(format!("Should have failed. Passed instead with: {:?}", r)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 115 - Ok(r) => panic!(format!("Should have failed. Passed instead with: {:?}", r)), [INFO] [stdout] 115 + Ok(r) => panic!("Should have failed. Passed instead with: {:?}", r), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/ident.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | Ok(r) => panic!(format!("Should have failed. Passed instead with: {:?}", r)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 132 - Ok(r) => panic!(format!("Should have failed. Passed instead with: {:?}", r)), [INFO] [stdout] 132 + Ok(r) => panic!("Should have failed. Passed instead with: {:?}", r), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/ident.rs:157:26 [INFO] [stdout] | [INFO] [stdout] 157 | Err(e) => panic!(format!("Should have passed. Failed instead with: {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 157 - Err(e) => panic!(format!("Should have passed. Failed instead with: {:?}", e)), [INFO] [stdout] 157 + Err(e) => panic!("Should have passed. Failed instead with: {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/ident.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | Ok(r) => panic!(format!("Should have failed. Passed instead with: {:?}", r)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 171 - Ok(r) => panic!(format!("Should have failed. Passed instead with: {:?}", r)), [INFO] [stdout] 171 + Ok(r) => panic!("Should have failed. Passed instead with: {:?}", r), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/node.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 76 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 77 | | input1, e [INFO] [stdout] 78 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 75 ~ Err(e) => panic!( [INFO] [stdout] 76 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 77 | input1, e [INFO] [stdout] 78 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/node.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 107 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 108 | | input1, e [INFO] [stdout] 109 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 106 ~ Err(e) => panic!( [INFO] [stdout] 107 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 108 | input1, e [INFO] [stdout] 109 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/node.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 123 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 124 | | input2, e [INFO] [stdout] 125 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 122 ~ Err(e) => panic!( [INFO] [stdout] 123 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 124 | input2, e [INFO] [stdout] 125 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/node.rs:150:26 [INFO] [stdout] | [INFO] [stdout] 150 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 151 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 152 | | input1, e [INFO] [stdout] 153 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 150 ~ Err(e) => panic!( [INFO] [stdout] 151 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 152 | input1, e [INFO] [stdout] 153 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/node.rs:163:26 [INFO] [stdout] | [INFO] [stdout] 163 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 164 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 165 | | input2, e [INFO] [stdout] 166 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 163 ~ Err(e) => panic!( [INFO] [stdout] 164 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 165 | input2, e [INFO] [stdout] 166 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/node.rs:204:30 [INFO] [stdout] | [INFO] [stdout] 204 | Err(e) => panic!(format!("failed with input: {:?} and error: {:?}", input, e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 204 - Err(e) => panic!(format!("failed with input: {:?} and error: {:?}", input, e)), [INFO] [stdout] 204 + Err(e) => panic!("failed with input: {:?} and error: {:?}", input, e), [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/parser/statement.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 14 | let es = edge_statement().map(Statement::EdgeStatement); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let ats = attribute_statement().map(Statement::AttributeStatement); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let idp = id_pair().map(Statement::IdPair); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let sg = sub_graph().map(Statement::Subgraph); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let ns = node_statement().map(Statement::NodeStatement); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let stmt = sg | es | ats | idp | ns; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | [INFO] [stdout] 21 | let stmts = (stmt - sym(';').opt() - space()).repeat(0..); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | sym('{') * space().opt() * stmts - space() - sym('}') [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/parser/statement.rs:22:48 [INFO] [stdout] | [INFO] [stdout] 14 | let es = edge_statement().map(Statement::EdgeStatement); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | let ats = attribute_statement().map(Statement::AttributeStatement); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | let idp = id_pair().map(Statement::IdPair); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | let sg = sub_graph().map(Statement::Subgraph); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let ns = node_statement().map(Statement::NodeStatement); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let stmt = sg | es | ats | idp | ns; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | [INFO] [stdout] 21 | let stmts = (stmt - sym(';').opt() - space()).repeat(0..); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | sym('{') * space().opt() * stmts - space() - sym('}') [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/parser/statement.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 34 | let attribute = id_pair().map(|ip| ip as Attribute); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let sep = sym(',') | sym(';') | space().map(|_| ' '); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | [INFO] [stdout] 37 | let attr_list = (attribute - sep - space()).repeat(1..); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | sym('[') * space() * attr_list - space() - sym(']') [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/parser/statement.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 34 | let attribute = id_pair().map(|ip| ip as Attribute); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let sep = sym(',') | sym(';') | space().map(|_| ' '); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | [INFO] [stdout] 37 | let attr_list = (attribute - sep - space()).repeat(1..); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | sym('[') * space() * attr_list - space() - sym(']') [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/statement.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 68 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 69 | | input1, e [INFO] [stdout] 70 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 67 ~ Err(e) => panic!( [INFO] [stdout] 68 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 69 | input1, e [INFO] [stdout] 70 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/statement.rs:101:26 [INFO] [stdout] | [INFO] [stdout] 101 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 102 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 103 | | input1, e [INFO] [stdout] 104 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 101 ~ Err(e) => panic!( [INFO] [stdout] 102 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 103 | input1, e [INFO] [stdout] 104 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/statement.rs:127:26 [INFO] [stdout] | [INFO] [stdout] 127 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 128 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 129 | | input1, e [INFO] [stdout] 130 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 127 ~ Err(e) => panic!( [INFO] [stdout] 128 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 129 | input1, e [INFO] [stdout] 130 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/statement.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 149 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 150 | | input1, e [INFO] [stdout] 151 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 148 ~ Err(e) => panic!( [INFO] [stdout] 149 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 150 | input1, e [INFO] [stdout] 151 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/statement.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 199 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 200 | | input1, e [INFO] [stdout] 201 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 198 ~ Err(e) => panic!( [INFO] [stdout] 199 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 200 | input1, e [INFO] [stdout] 201 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/statement.rs:222:26 [INFO] [stdout] | [INFO] [stdout] 222 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 223 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 224 | | input1, e [INFO] [stdout] 225 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 222 ~ Err(e) => panic!( [INFO] [stdout] 223 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 224 | input1, e [INFO] [stdout] 225 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/statement.rs:256:26 [INFO] [stdout] | [INFO] [stdout] 256 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 257 | | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 258 | | input1, e [INFO] [stdout] 259 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 256 ~ Err(e) => panic!( [INFO] [stdout] 257 | "failed with input: {:?} and error: {:?}", [INFO] [stdout] 258 | input1, e [INFO] [stdout] 259 ~ ), [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/parser/symbols.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 44 | let eol = (sym('\n').discard() | end()).name("eol"); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let not_eol = !(sym('\n').discard() | end()).name("not_eol"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | (tag("//") - (not_eol).repeat(1..) - eol).discard() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | Err(e) => panic!(format!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 62 | | "failed with input: {:?} with error: {:?}", [INFO] [stdout] 63 | | input1, e [INFO] [stdout] 64 | | )), [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 61 ~ Err(e) => panic!( [INFO] [stdout] 62 | "failed with input: {:?} with error: {:?}", [INFO] [stdout] 63 | input1, e [INFO] [stdout] 64 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 79 - _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] 79 + _ => panic!("failed with input: {:?}", input1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 85 - _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] 85 + _ => panic!("failed with input: {:?}", input2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 105 - _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] 105 + _ => panic!("failed with input: {:?}", input1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 111 - _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] 111 + _ => panic!("failed with input: {:?}", input2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 131 - _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] 131 + _ => panic!("failed with input: {:?}", input1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 137 - _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] 137 + _ => panic!("failed with input: {:?}", input2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:157:21 [INFO] [stdout] | [INFO] [stdout] 157 | _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 157 - _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] 157 + _ => panic!("failed with input: {:?}", input1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 163 - _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] 163 + _ => panic!("failed with input: {:?}", input2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 182 - _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] 182 + _ => panic!("failed with input: {:?}", input1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:188:21 [INFO] [stdout] | [INFO] [stdout] 188 | _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 188 - _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] 188 + _ => panic!("failed with input: {:?}", input2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 208 - _ => panic!(format!("failed with input: {:?}", input1)), [INFO] [stdout] 208 + _ => panic!("failed with input: {:?}", input1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser/symbols.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 214 - _ => panic!(format!("failed with input: {:?}", input2)), [INFO] [stdout] 214 + _ => panic!("failed with input: {:?}", input2), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 44 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `polka` (lib test) due to 7 previous errors; 44 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6f5cddcee96b531a250d37a4851304f137210f68fbf3fa7a46a0727c8fab6092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5cddcee96b531a250d37a4851304f137210f68fbf3fa7a46a0727c8fab6092", kill_on_drop: false }` [INFO] [stdout] 6f5cddcee96b531a250d37a4851304f137210f68fbf3fa7a46a0727c8fab6092