[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] 97e85eacc770845e9d36f36f72e9511b4a287ac5 [INFO] checking Kyefer/rcc against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKyefer%2Frcc" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kyefer/rcc on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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-7-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ucd-util v0.1.2 [INFO] [stderr] Downloaded regex-syntax v0.6.3 [INFO] [stderr] Downloaded regex v1.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e9ee267a20915c98cdb6bfe119ca027655d0bf528330fc10b5154e6e65bda48 [INFO] running `Command { std: "docker" "start" "-a" "0e9ee267a20915c98cdb6bfe119ca027655d0bf528330fc10b5154e6e65bda48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e9ee267a20915c98cdb6bfe119ca027655d0bf528330fc10b5154e6e65bda48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e9ee267a20915c98cdb6bfe119ca027655d0bf528330fc10b5154e6e65bda48", kill_on_drop: false }` [INFO] [stdout] 0e9ee267a20915c98cdb6bfe119ca027655d0bf528330fc10b5154e6e65bda48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e193ee26cbf22e225561a9933dc13e75473bc0401945b0f4685048fc8d78ac94 [INFO] running `Command { std: "docker" "start" "-a" "e193ee26cbf22e225561a9933dc13e75473bc0401945b0f4685048fc8d78ac94", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking ucd-util v0.1.2 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking rcc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/generator.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | _ => 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] 156 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 156 + _ => 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:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | _ => 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] 201 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 201 + _ => 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:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | _ => 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] 247 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 247 + _ => 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:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | 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] 54 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 54 + 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:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | 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] 54 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 54 + 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:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | 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] 54 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 54 + 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:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | 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] 54 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 54 + 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:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | 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] 54 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 54 + 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/generator.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | _ => 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] 156 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 156 + _ => 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:201:29 [INFO] [stdout] | [INFO] [stdout] 201 | _ => 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] 201 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 201 + _ => 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:247:29 [INFO] [stdout] | [INFO] [stdout] 247 | _ => 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] 247 - _ => panic!(format!("Unexpected operater '{:?}'", operator)), [INFO] [stdout] 247 + _ => 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:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | 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] 54 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 54 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | 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] 54 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 54 + 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:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | 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] 54 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 54 + 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:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | 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] 54 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 54 + 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:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | 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] 54 - Some(Token { ttype, .. }) => panic!(format!("Unexpected token '{:?}'.", ttype)), [INFO] [stdout] 54 + Some(Token { ttype, .. }) => panic!("Unexpected token '{:?}'.", ttype), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "e193ee26cbf22e225561a9933dc13e75473bc0401945b0f4685048fc8d78ac94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e193ee26cbf22e225561a9933dc13e75473bc0401945b0f4685048fc8d78ac94", kill_on_drop: false }` [INFO] [stdout] e193ee26cbf22e225561a9933dc13e75473bc0401945b0f4685048fc8d78ac94