[INFO] fetching crate hamlrs 0.4.3... [INFO] checking hamlrs-0.4.3 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate hamlrs 0.4.3 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate hamlrs 0.4.3 [INFO] finished tweaking crates.io crate hamlrs 0.4.3 [INFO] tweaked toml for crates.io crate hamlrs 0.4.3 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hamlrs 0.4.3 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 60 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.2.11 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3efa0435fd7f767c04c3ed063226a0b4a6e90ab25489272f283ebd03bd65d4f6 [INFO] running `Command { std: "docker" "start" "-a" "3efa0435fd7f767c04c3ed063226a0b4a6e90ab25489272f283ebd03bd65d4f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3efa0435fd7f767c04c3ed063226a0b4a6e90ab25489272f283ebd03bd65d4f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3efa0435fd7f767c04c3ed063226a0b4a6e90ab25489272f283ebd03bd65d4f6", kill_on_drop: false }` [INFO] [stdout] 3efa0435fd7f767c04c3ed063226a0b4a6e90ab25489272f283ebd03bd65d4f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3b06a2a3f907a5757668f09ca44eb0c21e81f7621c798f63da14bac09bc501b [INFO] running `Command { std: "docker" "start" "-a" "f3b06a2a3f907a5757668f09ca44eb0c21e81f7621c798f63da14bac09bc501b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking hamlrs v0.4.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/parser.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut token: Option<&Token> = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `class` is never read [INFO] [stdout] --> src/parser.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | let mut class = String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/parser.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | let mut id = String::new(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/scanner.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let mut value: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stdout] warning: field `indentation` is never read [INFO] [stdout] --> src/ast.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 249 | indentation: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:140:49 [INFO] [stdout] | [INFO] [stdout] 140 | ... Some(tok) => panic!(format!("Expecting Text but found {:?}", tok)), [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] 140 - Some(tok) => panic!(format!("Expecting Text but found {:?}", tok)), [INFO] [stdout] 140 + Some(tok) => panic!("Expecting Text but found {:?}", tok), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser.rs:164:50 [INFO] [stdout] | [INFO] [stdout] 164 | ... panic!("Unexpected \"{\" while parsing"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 164 | panic!("{}", "Unexpected \"{\" while parsing"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | t => panic!(format!("Unsupported feature: {:?}", t)), [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] 167 - t => panic!(format!("Unsupported feature: {:?}", t)), [INFO] [stdout] 167 + t => panic!("Unsupported feature: {:?}", t), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:184:49 [INFO] [stdout] | [INFO] [stdout] 184 | ... Some(tok) => panic!(format!("Expected an identifier after a colon when parsing attributes but found {:?}", tok)), [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] 184 - Some(tok) => panic!(format!("Expected an identifier after a colon when parsing attributes but found {:?}", tok)), [INFO] [stdout] 184 + Some(tok) => panic!("Expected an identifier after a colon when parsing attributes but found {:?}", tok), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:206:65 [INFO] [stdout] | [INFO] [stdout] 206 | ... Some(tok) => panic!(format!("Unexpected token {:?} in attribute array.", tok )), [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 - Some(tok) => panic!(format!("Unexpected token {:?} in attribute array.", tok )), [INFO] [stdout] 206 + Some(tok) => panic!("Unexpected token {:?} in attribute array.", tok ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | ... Some(tok) => panic!(format!("Expecting value after attribute id in attributes but found {:?}", tok)), [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] 212 - Some(tok) => panic!(format!("Expecting value after attribute id in attributes but found {:?}", tok)), [INFO] [stdout] 212 + Some(tok) => panic!("Expecting value after attribute id in attributes but found {:?}", tok), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stdout] warning: unexpected `cfg` condition value: `unstable` [INFO] [stdout] --> tests/basic_tests.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(all(feature = "unstable", test))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unstable` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `token` is never read [INFO] [stdout] --> src/parser.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut token: Option<&Token> = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `class` is never read [INFO] [stdout] --> src/parser.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | let mut class = String::new(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/parser.rs:101:33 [INFO] [stdout] | [INFO] [stdout] 101 | let mut id = String::new(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/scanner.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let mut value: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indentation` is never read [INFO] [stdout] --> src/ast.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 249 | indentation: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:140:49 [INFO] [stdout] | [INFO] [stdout] 140 | ... Some(tok) => panic!(format!("Expecting Text but found {:?}", tok)), [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] 140 - Some(tok) => panic!(format!("Expecting Text but found {:?}", tok)), [INFO] [stdout] 140 + Some(tok) => panic!("Expecting Text but found {:?}", tok), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains a brace [INFO] [stdout] --> src/parser.rs:164:50 [INFO] [stdout] | [INFO] [stdout] 164 | ... panic!("Unexpected \"{\" while parsing"); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 164 | panic!("{}", "Unexpected \"{\" while parsing"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:167:33 [INFO] [stdout] | [INFO] [stdout] 167 | t => panic!(format!("Unsupported feature: {:?}", t)), [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] 167 - t => panic!(format!("Unsupported feature: {:?}", t)), [INFO] [stdout] 167 + t => panic!("Unsupported feature: {:?}", t), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:184:49 [INFO] [stdout] | [INFO] [stdout] 184 | ... Some(tok) => panic!(format!("Expected an identifier after a colon when parsing attributes but found {:?}", tok)), [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] 184 - Some(tok) => panic!(format!("Expected an identifier after a colon when parsing attributes but found {:?}", tok)), [INFO] [stdout] 184 + Some(tok) => panic!("Expected an identifier after a colon when parsing attributes but found {:?}", tok), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:206:65 [INFO] [stdout] | [INFO] [stdout] 206 | ... Some(tok) => panic!(format!("Unexpected token {:?} in attribute array.", tok )), [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 - Some(tok) => panic!(format!("Unexpected token {:?} in attribute array.", tok )), [INFO] [stdout] 206 + Some(tok) => panic!("Unexpected token {:?} in attribute array.", tok ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:212:53 [INFO] [stdout] | [INFO] [stdout] 212 | ... Some(tok) => panic!(format!("Expecting value after attribute id in attributes but found {:?}", tok)), [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] 212 - Some(tok) => panic!(format!("Expecting value after attribute id in attributes but found {:?}", tok)), [INFO] [stdout] 212 + Some(tok) => panic!("Expecting value after attribute id in attributes but found {:?}", tok), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.61s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f3b06a2a3f907a5757668f09ca44eb0c21e81f7621c798f63da14bac09bc501b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3b06a2a3f907a5757668f09ca44eb0c21e81f7621c798f63da14bac09bc501b", kill_on_drop: false }` [INFO] [stdout] f3b06a2a3f907a5757668f09ca44eb0c21e81f7621c798f63da14bac09bc501b