[INFO] cloning repository https://github.com/Kyefer/rcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kyefer/rcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKyefer%2Frcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKyefer%2Frcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86500c8f0da0ad2b4d52df64787b7ab247a17cf1 [INFO] building Kyefer/rcc against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKyefer%2Frcc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kyefer/rcc on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Kyefer/rcc [INFO] finished tweaking git repo https://github.com/Kyefer/rcc [INFO] tweaked toml for git repo https://github.com/Kyefer/rcc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Kyefer/rcc 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a296fab5985ec1f4f9ce8359ae4c776b2ec96cec266f1678138d69d13ab9b11f [INFO] running `Command { std: "docker" "start" "-a" "a296fab5985ec1f4f9ce8359ae4c776b2ec96cec266f1678138d69d13ab9b11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a296fab5985ec1f4f9ce8359ae4c776b2ec96cec266f1678138d69d13ab9b11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a296fab5985ec1f4f9ce8359ae4c776b2ec96cec266f1678138d69d13ab9b11f", kill_on_drop: false }` [INFO] [stdout] a296fab5985ec1f4f9ce8359ae4c776b2ec96cec266f1678138d69d13ab9b11f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0938e50d11f39029db4fce37675610f4ee8d20dae8f2582966d08519b7dcbd28 [INFO] running `Command { std: "docker" "start" "-a" "0938e50d11f39029db4fce37675610f4ee8d20dae8f2582966d08519b7dcbd28", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling rcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generator.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | _ => panic!(format!("Unexpected operater '{:?}'", operator)), [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] 157 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 157 + _ => panic!("Unexpected operater '{:?}'", operator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generator.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | _ => panic!(format!("Unexpected operater '{:?}'", operator)), [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] 202 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 202 + _ => panic!("Unexpected operater '{:?}'", operator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generator.rs:248:29 [INFO] [stdout] | [INFO] [stdout] 248 | _ => panic!(format!("Unexpected operater '{:?}'", operator)), [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] 248 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 248 + _ => panic!("Unexpected operater '{:?}'", operator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | simple_match!(&mut tokens, TokenType::Symbol { stype: Symbol::LeftParenthesis, .. }); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `simple_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 51 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | simple_match!(&mut tokens, TokenType::Symbol { stype: Symbol::RightParenthesis, .. }); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `simple_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 51 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | simple_match!(&mut tokens, TokenType::Symbol { stype: Symbol::LeftBrace, .. }); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `simple_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 51 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | simple_match!(&mut tokens, TokenType::Symbol { stype: Symbol::RightBrace, .. }); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `simple_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 51 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | simple_match!(&mut tokens, TokenType::Symbol { stype: Symbol::Semicolon, .. }); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `simple_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 51 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.94s [INFO] running `Command { std: "docker" "inspect" "0938e50d11f39029db4fce37675610f4ee8d20dae8f2582966d08519b7dcbd28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0938e50d11f39029db4fce37675610f4ee8d20dae8f2582966d08519b7dcbd28", kill_on_drop: false }` [INFO] [stdout] 0938e50d11f39029db4fce37675610f4ee8d20dae8f2582966d08519b7dcbd28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7978ecaf811dea4d25de7a4b3f38f8ddc569158787d3bcf5fda2cb211c38e29a [INFO] running `Command { std: "docker" "start" "-a" "7978ecaf811dea4d25de7a4b3f38f8ddc569158787d3bcf5fda2cb211c38e29a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generator.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | _ => panic!(format!("Unexpected operater '{:?}'", operator)), [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] 157 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 157 + _ => panic!("Unexpected operater '{:?}'", operator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generator.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | _ => panic!(format!("Unexpected operater '{:?}'", operator)), [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] 202 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 202 + _ => panic!("Unexpected operater '{:?}'", operator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generator.rs:248:29 [INFO] [stdout] | [INFO] [stdout] 248 | _ => panic!(format!("Unexpected operater '{:?}'", operator)), [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] 248 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 248 + _ => panic!("Unexpected operater '{:?}'", operator), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | simple_match!(&mut tokens, TokenType::Symbol { stype: Symbol::LeftParenthesis, .. }); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `simple_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 51 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | simple_match!(&mut tokens, TokenType::Symbol { stype: Symbol::RightParenthesis, .. }); [INFO] [stdout] | ------------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `simple_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 51 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | simple_match!(&mut tokens, TokenType::Symbol { stype: Symbol::LeftBrace, .. }); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `simple_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 51 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | simple_match!(&mut tokens, TokenType::Symbol { stype: Symbol::RightBrace, .. }); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `simple_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 51 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | simple_match!(&mut tokens, TokenType::Symbol { stype: Symbol::Semicolon, .. }); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `simple_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 51 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 51 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] running `Command { std: "docker" "inspect" "7978ecaf811dea4d25de7a4b3f38f8ddc569158787d3bcf5fda2cb211c38e29a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7978ecaf811dea4d25de7a4b3f38f8ddc569158787d3bcf5fda2cb211c38e29a", kill_on_drop: false }` [INFO] [stdout] 7978ecaf811dea4d25de7a4b3f38f8ddc569158787d3bcf5fda2cb211c38e29a