[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#b389b0ab72cb0aa9acf4df0ae0c0e12090782da9 for pr-128351-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKyefer%2Frcc" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kyefer/rcc on toolchain b389b0ab72cb0aa9acf4df0ae0c0e12090782da9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b389b0ab72cb0aa9acf4df0ae0c0e12090782da9" "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-6-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" "+b389b0ab72cb0aa9acf4df0ae0c0e12090782da9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded memchr v2.1.1 [INFO] [stderr] Downloaded ucd-util v0.1.2 [INFO] [stderr] Downloaded utf8-ranges v1.0.2 [INFO] [stderr] Downloaded aho-corasick v0.6.9 [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+b389b0ab72cb0aa9acf4df0ae0c0e12090782da9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7ebc4b3edfabf6e8e70e4cc70030fde707ccf6783580d0fb5f238d31d094f37 [INFO] running `Command { std: "docker" "start" "-a" "a7ebc4b3edfabf6e8e70e4cc70030fde707ccf6783580d0fb5f238d31d094f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7ebc4b3edfabf6e8e70e4cc70030fde707ccf6783580d0fb5f238d31d094f37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ebc4b3edfabf6e8e70e4cc70030fde707ccf6783580d0fb5f238d31d094f37", kill_on_drop: false }` [INFO] [stdout] a7ebc4b3edfabf6e8e70e4cc70030fde707ccf6783580d0fb5f238d31d094f37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+b389b0ab72cb0aa9acf4df0ae0c0e12090782da9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc555efbe4477497184677eac235d3a499852300cc1bc756873f78b38d7aafa7 [INFO] running `Command { std: "docker" "start" "-a" "cc555efbe4477497184677eac235d3a499852300cc1bc756873f78b38d7aafa7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] Compiling regex v1.0.6 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.2 [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: 8 warnings emitted [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: 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 3.78s [INFO] running `Command { std: "docker" "inspect" "cc555efbe4477497184677eac235d3a499852300cc1bc756873f78b38d7aafa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc555efbe4477497184677eac235d3a499852300cc1bc756873f78b38d7aafa7", kill_on_drop: false }` [INFO] [stdout] cc555efbe4477497184677eac235d3a499852300cc1bc756873f78b38d7aafa7 [INFO] checking Kyefer/rcc against try#16d823b1c168ce52c66ccc00dfd686f775a45c65 for pr-128351-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKyefer%2Frcc" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kyefer/rcc on toolchain 16d823b1c168ce52c66ccc00dfd686f775a45c65 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16d823b1c168ce52c66ccc00dfd686f775a45c65" "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-6-tc2/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" "+16d823b1c168ce52c66ccc00dfd686f775a45c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+16d823b1c168ce52c66ccc00dfd686f775a45c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e7a6543db3eef99e38fa553700ff8be3517ea0c740cf1e22e26c06f7ec391dd [INFO] running `Command { std: "docker" "start" "-a" "0e7a6543db3eef99e38fa553700ff8be3517ea0c740cf1e22e26c06f7ec391dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e7a6543db3eef99e38fa553700ff8be3517ea0c740cf1e22e26c06f7ec391dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7a6543db3eef99e38fa553700ff8be3517ea0c740cf1e22e26c06f7ec391dd", kill_on_drop: false }` [INFO] [stdout] 0e7a6543db3eef99e38fa553700ff8be3517ea0c740cf1e22e26c06f7ec391dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+16d823b1c168ce52c66ccc00dfd686f775a45c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d33a8c41887b3ffd4e5d2cf1a0082ca9ceed05fb951fd1a4356ec6c2b770aec5 [INFO] running `Command { std: "docker" "start" "-a" "d33a8c41887b3ffd4e5d2cf1a0082ca9ceed05fb951fd1a4356ec6c2b770aec5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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 lazy_static v1.2.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking ucd-util v0.1.2 [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: 8 warnings emitted [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: 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 4.00s [INFO] running `Command { std: "docker" "inspect" "d33a8c41887b3ffd4e5d2cf1a0082ca9ceed05fb951fd1a4356ec6c2b770aec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d33a8c41887b3ffd4e5d2cf1a0082ca9ceed05fb951fd1a4356ec6c2b770aec5", kill_on_drop: false }` [INFO] [stdout] d33a8c41887b3ffd4e5d2cf1a0082ca9ceed05fb951fd1a4356ec6c2b770aec5