[INFO] fetching crate garando_syntax2 0.1.0... [INFO] testing garando_syntax2-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate garando_syntax2 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate garando_syntax2 0.1.0 [INFO] finished tweaking crates.io crate garando_syntax2 0.1.0 [INFO] tweaked toml for crates.io crate garando_syntax2 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate garando_syntax2 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 32 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded garando_errors v0.1.0 [INFO] [stderr] Downloaded garando_pos v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84b78a9b1e2668ce0125d27f4597103a5b1eccf16e91bd51cbe2896135fa5fc0 [INFO] running `Command { std: "docker" "start" "-a" "84b78a9b1e2668ce0125d27f4597103a5b1eccf16e91bd51cbe2896135fa5fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84b78a9b1e2668ce0125d27f4597103a5b1eccf16e91bd51cbe2896135fa5fc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84b78a9b1e2668ce0125d27f4597103a5b1eccf16e91bd51cbe2896135fa5fc0", kill_on_drop: false }` [INFO] [stdout] 84b78a9b1e2668ce0125d27f4597103a5b1eccf16e91bd51cbe2896135fa5fc0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 977f1cdef3c9146292c25581e0da36c77642a679c96bb434c6470718c17cb3a4 [INFO] running `Command { std: "docker" "start" "-a" "977f1cdef3c9146292c25581e0da36c77642a679c96bb434c6470718c17cb3a4", kill_on_drop: false }` [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling garando_pos v0.1.0 [INFO] [stderr] Compiling garando_errors v0.1.0 [INFO] [stderr] Compiling garando_syntax2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ext` [INFO] [stdout] --> src/ext/build.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::ext; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parse` [INFO] [stdout] --> src/ext/build.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::parse; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unsigned_leb128_to_buf` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn write_unsigned_leb128_to_buf(buf: &mut [u8; 16], value: u64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_signed_leb128_to_buf` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn write_signed_leb128_to_buf(buf: &mut [u8; 16], value: i64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableHasher` is never constructed [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct StableHasher { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StableHasherResult` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait StableHasherResult: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_uleb128` and `write_ileb128` are never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl StableHasher { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 64 | #[inline] [INFO] [stdout] 65 | fn write_uleb128(&mut self, value: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn write_ileb128(&mut self, value: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashStable` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait HashStable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake2bCtx` is never constructed [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Blake2bCtx { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b2b_g` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn b2b_g(v: &mut [u64; 16], a: usize, b: usize, c: usize, d: usize, x: u64, y: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLAKE2B_IV` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const BLAKE2B_IV: [u64; 8] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_compress` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn blake2b_compress(ctx: &mut Blake2bCtx, last: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_update` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn blake2b_update(ctx: &mut Blake2bCtx, mut data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_final` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn blake2b_final(ctx: &mut Blake2bCtx) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checked_mem_copy` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn checked_mem_copy(from: &[T1], to: &mut [T2], byte_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake2bHasher` is never constructed [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Blake2bHasher(Blake2bCtx); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `finalize` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl Blake2bHasher { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 235 | pub fn finalize(&mut self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unsigned_leb128_to` is never used [INFO] [stdout] --> src/rustc_data_structures/leb128.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn write_unsigned_leb128_to(mut value: u128, mut write: W) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_signed_leb128_to` is never used [INFO] [stdout] --> src/rustc_data_structures/leb128.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write_signed_leb128_to(mut value: i128, mut write: W) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustc_data_structures/indexed_vec.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustc_data_structures/indexed_vec.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:188:33 [INFO] [stdout] | [INFO] [stdout] 188 | let val: u32 = unsafe { ::std::mem::transmute(*self) }; [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | let val: u64 = unsafe { ::std::mem::transmute(*self) }; [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util/small_vector.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | panic!(err) [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: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 131 | panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util/small_vector.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | _ => panic!(err), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | _ => panic!("{}", err), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codemap.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn files(&self) -> Ref>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn files(&self) -> Ref<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/feature_gate.rs:1374:20 [INFO] [stdout] | [INFO] [stdout] 1374 | let meta = panictry!(attr.parse_meta(self.context.parse_sess)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/feature_gate.rs:1882:20 [INFO] [stdout] | [INFO] [stdout] 1882 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1882 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1882 - panic!(FatalError); [INFO] [stdout] 1882 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 105 | ) -> PResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | ) -> PResult<'_, ast::Crate> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 113 | ) -> PResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | ) -> PResult<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 121 | ) -> PResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | ) -> PResult<'_, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 132 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 133 | ) -> PResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | ) -> PResult<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 141 | ) -> PResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | ) -> PResult<'_, ast::MetaItem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 149 | ) -> PResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | ) -> PResult<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn new_parser_from_source_str(sess: &ParseSess, name: String, source: String) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 158 | pub fn new_parser_from_source_str(sess: &ParseSess, name: String, source: String) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn filemap_to_parser(sess: &ParseSess, filemap: Rc) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub fn filemap_to_parser(sess: &ParseSess, filemap: Rc) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn new_parser_from_tts(sess: &ParseSess, tts: Vec) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | pub fn new_parser_from_tts(sess: &ParseSess, tts: Vec) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:218:36 [INFO] [stdout] | [INFO] [stdout] 218 | Some(sp) => panic!(sess.span_diagnostic.span_fatal(sp, &msg)), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 218 | Some(sp) => panic!("{}", sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 218 - Some(sp) => panic!(sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stdout] 218 + Some(sp) => std::panic::panic_any(sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | None => panic!(sess.span_diagnostic.fatal(&msg)), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 219 | None => panic!("{}", sess.span_diagnostic.fatal(&msg)), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 219 - None => panic!(sess.span_diagnostic.fatal(&msg)), [INFO] [stdout] 219 + None => std::panic::panic_any(sess.span_diagnostic.fatal(&msg)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parse/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | panictry!(srdr.parse_all_token_trees()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn stream_to_parser(sess: &ParseSess, stream: TokenStream) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | pub fn stream_to_parser(sess: &ParseSess, stream: TokenStream) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:486:32 [INFO] [stdout] | [INFO] [stdout] 486 | panic!(err(2)) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 486 | panic!("{}", err(2)) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:491:32 [INFO] [stdout] | [INFO] [stdout] 491 | None => panic!(err(3)), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 491 | None => panic!("{}", err(3)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parser.rs:392:46 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn span_err(self, sp: Span, handler: &errors::Handler) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 392 | pub fn span_err(self, sp: Span, handler: &errors::Handler) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 84 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 84 - panic!(FatalError); [INFO] [stdout] 84 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 186 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 186 - panic!(FatalError); [INFO] [stdout] 186 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 211 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 211 - panic!(FatalError); [INFO] [stdout] 211 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:642:24 [INFO] [stdout] | [INFO] [stdout] 642 | panic!(self.fatal_span_(start_bpos, last_bpos, msg)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 642 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 642 - panic!(self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stdout] 642 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:804:24 [INFO] [stdout] | [INFO] [stdout] 804 | panic!(self.fatal_span_( [INFO] [stdout] | ________________________^ [INFO] [stdout] 805 | | start_bpos, [INFO] [stdout] 806 | | last_bpos, [INFO] [stdout] 807 | | "unterminated numeric character escape" [INFO] [stdout] 808 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 804 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 804 - panic!(self.fatal_span_( [INFO] [stdout] 804 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1007:28 [INFO] [stdout] | [INFO] [stdout] 1007 | panic!(self.fatal_span_( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1008 | | start_bpos, [INFO] [stdout] 1009 | | self.pos, [INFO] [stdout] 1010 | | "unterminated unicode escape (found EOF)" [INFO] [stdout] 1011 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1007 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1007 - panic!(self.fatal_span_( [INFO] [stdout] 1007 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1017:28 [INFO] [stdout] | [INFO] [stdout] 1017 | panic!(self.fatal_span_( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1018 | | self.pos, [INFO] [stdout] 1019 | | self.next_pos, [INFO] [stdout] 1020 | | "unterminated unicode escape (needed a `}`)" [INFO] [stdout] 1021 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1017 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1017 - panic!(self.fatal_span_( [INFO] [stdout] 1017 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1293:32 [INFO] [stdout] | [INFO] [stdout] 1293 | panic!(self.fatal_span_verbose( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1294 | | start_with_quote, [INFO] [stdout] 1295 | | self.next_pos, [INFO] [stdout] 1296 | | String::from("character literal may only contain one codepoint") [INFO] [stdout] 1297 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1293 | panic!("{}", self.fatal_span_verbose( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1293 - panic!(self.fatal_span_verbose( [INFO] [stdout] 1293 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1328:28 [INFO] [stdout] | [INFO] [stdout] 1328 | panic!(self.fatal_span_verbose( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1329 | | start_with_quote, [INFO] [stdout] 1330 | | self.pos, [INFO] [stdout] 1331 | | String::from("character literal may only contain one codepoint") [INFO] [stdout] 1332 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1328 | panic!("{}", self.fatal_span_verbose( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1328 - panic!(self.fatal_span_verbose( [INFO] [stdout] 1328 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1362:32 [INFO] [stdout] | [INFO] [stdout] 1362 | panic!(self.fatal_span_( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1363 | | start_bpos, [INFO] [stdout] 1364 | | last_bpos, [INFO] [stdout] 1365 | | "unterminated double quote string" [INFO] [stdout] 1366 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1362 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1362 - panic!(self.fatal_span_( [INFO] [stdout] 1362 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1398:28 [INFO] [stdout] | [INFO] [stdout] 1398 | panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1398 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1398 - panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] 1398 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1402:28 [INFO] [stdout] | [INFO] [stdout] 1402 | panic!(self.fatal_span_char( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1403 | | start_bpos, [INFO] [stdout] 1404 | | last_bpos, [INFO] [stdout] 1405 | | "found invalid character; only `#` is allowed \ [INFO] [stdout] 1406 | | in raw string delimitation", [INFO] [stdout] 1407 | | curr_char [INFO] [stdout] 1408 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1402 | panic!("{}", self.fatal_span_char( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1402 - panic!(self.fatal_span_char( [INFO] [stdout] 1402 + std::panic::panic_any(self.fatal_span_char( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1417:32 [INFO] [stdout] | [INFO] [stdout] 1417 | panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1417 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1417 - panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] 1417 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1561:20 [INFO] [stdout] | [INFO] [stdout] 1561 | panic!(self.fatal_span_verbose( [INFO] [stdout] | ____________________^ [INFO] [stdout] 1562 | | start - BytePos(2), [INFO] [stdout] 1563 | | pos, [INFO] [stdout] 1564 | | "unterminated byte constant".to_string() [INFO] [stdout] 1565 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1561 | panic!("{}", self.fatal_span_verbose( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1561 - panic!(self.fatal_span_verbose( [INFO] [stdout] 1561 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1589:24 [INFO] [stdout] | [INFO] [stdout] 1589 | panic!(self.fatal_span_(start, pos, "unterminated double quote byte string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1589 | panic!("{}", self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1589 - panic!(self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stdout] 1589 + std::panic::panic_any(self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1620:20 [INFO] [stdout] | [INFO] [stdout] 1620 | panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1620 | panic!("{}", self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1620 - panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stdout] 1620 + std::panic::panic_any(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1624:20 [INFO] [stdout] | [INFO] [stdout] 1624 | panic!(self.fatal_span_char( [INFO] [stdout] | ____________________^ [INFO] [stdout] 1625 | | start_bpos, [INFO] [stdout] 1626 | | pos, [INFO] [stdout] 1627 | | "found invalid character; only `#` is allowed in raw \ [INFO] [stdout] 1628 | | string delimitation", [INFO] [stdout] 1629 | | ch [INFO] [stdout] 1630 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1624 | panic!("{}", self.fatal_span_char( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1624 - panic!(self.fatal_span_char( [INFO] [stdout] 1624 + std::panic::panic_any(self.fatal_span_char( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1639:28 [INFO] [stdout] | [INFO] [stdout] 1639 | panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1639 | panic!("{}", self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1639 - panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stdout] 1639 + std::panic::panic_any(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/comments.rs:257:24 [INFO] [stdout] | [INFO] [stdout] 257 | panic!(rdr.fatal("unterminated block comment")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 257 | panic!("{}", rdr.fatal("unterminated block comment")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 257 - panic!(rdr.fatal("unterminated block comment")); [INFO] [stdout] 257 + std::panic::panic_any(rdr.fatal("unterminated block comment")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/ptr.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | self.ptr.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 210 - self.ptr.into_iter() [INFO] [stdout] 210 + self.ptr.iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 210 - self.ptr.into_iter() [INFO] [stdout] 210 + IntoIterator::into_iter(self.ptr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | panic!(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 126 | panic!("{}", diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 126 - panic!(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stdout] 126 + std::panic::panic_any(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:234:35 [INFO] [stdout] | [INFO] [stdout] 234 | walk_list!(visitor, visit_ty, &local.ty); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:235:37 [INFO] [stdout] | [INFO] [stdout] 235 | walk_list!(visitor, visit_expr, &local.init); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:320:50 [INFO] [stdout] | [INFO] [stdout] 320 | walk_list!(visitor, visit_trait_ref, opt_trait_reference); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:371:37 [INFO] [stdout] | [INFO] [stdout] 371 | walk_list!(visitor, visit_expr, &variant.node.disr_expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:380:49 [INFO] [stdout] | [INFO] [stdout] 380 | walk_list!(visitor, visit_lifetime, opt_lifetime); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:451:43 [INFO] [stdout] | [INFO] [stdout] 451 | walk_list!(visitor, visit_ty, &data.output); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:489:44 [INFO] [stdout] | [INFO] [stdout] 489 | walk_list!(visitor, visit_pat, optional_subpattern); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:499:44 [INFO] [stdout] | [INFO] [stdout] 499 | walk_list!(visitor, visit_pat, slice_pattern); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:540:39 [INFO] [stdout] | [INFO] [stdout] 540 | walk_list!(visitor, visit_ty, ¶m.default); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:624:45 [INFO] [stdout] | [INFO] [stdout] 624 | walk_list!(visitor, visit_expr, default); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:640:43 [INFO] [stdout] | [INFO] [stdout] 640 | walk_list!(visitor, visit_ty, default); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:734:45 [INFO] [stdout] | [INFO] [stdout] 734 | walk_list!(visitor, visit_expr, optional_base); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:763:45 [INFO] [stdout] | [INFO] [stdout] 763 | walk_list!(visitor, visit_expr, optional_else); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:774:45 [INFO] [stdout] | [INFO] [stdout] 774 | walk_list!(visitor, visit_expr, optional_else); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:823:45 [INFO] [stdout] | [INFO] [stdout] 823 | walk_list!(visitor, visit_expr, start); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:824:45 [INFO] [stdout] | [INFO] [stdout] 824 | walk_list!(visitor, visit_expr, end); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:834:45 [INFO] [stdout] | [INFO] [stdout] 834 | walk_list!(visitor, visit_expr, opt_expr); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:840:45 [INFO] [stdout] | [INFO] [stdout] 840 | walk_list!(visitor, visit_expr, optional_expression); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:861:37 [INFO] [stdout] | [INFO] [stdout] 861 | walk_list!(visitor, visit_expr, &arm.guard); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/base.rs:825:16 [INFO] [stdout] | [INFO] [stdout] 825 | panic!(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 825 | panic!("{}", self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 825 - panic!(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stdout] 825 + std::panic::panic_any(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/base.rs:944:15 [INFO] [stdout] | [INFO] [stdout] 944 | let ret = panictry!(p.parse_expr()); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/base.rs:961:41 [INFO] [stdout] | [INFO] [stdout] 961 | es.push(cx.expander().fold_expr(panictry!(p.parse_expr()))); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/expand.rs:424:20 [INFO] [stdout] | [INFO] [stdout] 424 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 424 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 424 - panic!(FatalError); [INFO] [stdout] 424 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/expand.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | let meta = panictry!(attr.parse_meta(self.cx.parse_sess)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/expand.rs:458:28 [INFO] [stdout] | [INFO] [stdout] 458 | let meta = panictry!(attr.parse_meta(self.cx.parse_sess)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | panictry!(parser.parse_expr()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | panictry!(parser.parse_item()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | panictry!(parser.parse_pat()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | panictry!(parser.parse_arm()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | panictry!(parser.parse_ty()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | panictry!(parser.parse_stmt()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | panictry!(parser.parse_attribute(permit_inner)) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | panictry!(parser.parse_arg()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | panictry!(parser.parse_block()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | panictry!(parser.parse_meta_item()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | panictry!(parser.parse_path(mode)) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:849:19 [INFO] [stdout] | [INFO] [stdout] 849 | let cx_expr = panictry!(p.parse_expr()); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:854:15 [INFO] [stdout] | [INFO] [stdout] 854 | let tts = panictry!(p.parse_all_token_trees()); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | / panictry!(parse::parse_item_from_source_str( [INFO] [stdout] 373 | | "".to_string(), [INFO] [stdout] 374 | | s, [INFO] [stdout] 375 | | self.parse_sess() [INFO] [stdout] 376 | | )) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | / panictry!(parse::parse_stmt_from_source_str( [INFO] [stdout] 382 | | "".to_string(), [INFO] [stdout] 383 | | s, [INFO] [stdout] 384 | | self.parse_sess() [INFO] [stdout] 385 | | )) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | / panictry!(parse::parse_expr_from_source_str( [INFO] [stdout] 391 | | "".to_string(), [INFO] [stdout] 392 | | s, [INFO] [stdout] 393 | | self.parse_sess() [INFO] [stdout] 394 | | )) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/source_util.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | Some(panictry!(self.p.parse_expr())) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/source_util.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | match panictry!(self.p.parse_item()) { [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/source_util.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | None => panic!(self.p.diagnostic().span_fatal( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 121 | | self.p.span, [INFO] [stdout] 122 | | &format!("expected item, found `{}`", self.p.this_token_to_string()) [INFO] [stdout] 123 | | )), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 120 | None => panic!("{}", self.p.diagnostic().span_fatal( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 120 - None => panic!(self.p.diagnostic().span_fatal( [INFO] [stdout] 120 + None => std::panic::panic_any(self.p.diagnostic().span_fatal( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:526:25 [INFO] [stdout] | [INFO] [stdout] 526 | "item" => match panictry!(p.parse_item()) { [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_parser.rs:530:24 [INFO] [stdout] | [INFO] [stdout] 530 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 530 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 530 - panic!(FatalError); [INFO] [stdout] 530 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:533:35 [INFO] [stdout] | [INFO] [stdout] 533 | "block" => token::NtBlock(panictry!(p.parse_block())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | "stmt" => match panictry!(p.parse_stmt()) { [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_parser.rs:538:24 [INFO] [stdout] | [INFO] [stdout] 538 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 538 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 538 - panic!(FatalError); [INFO] [stdout] 538 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:541:31 [INFO] [stdout] | [INFO] [stdout] 541 | "pat" => token::NtPat(panictry!(p.parse_pat())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:542:33 [INFO] [stdout] | [INFO] [stdout] 542 | "expr" => token::NtExpr(panictry!(p.parse_expr())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:543:29 [INFO] [stdout] | [INFO] [stdout] 543 | "ty" => token::NtTy(panictry!(p.parse_ty())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_parser.rs:557:24 [INFO] [stdout] | [INFO] [stdout] 557 | panic!(FatalError) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 557 | panic!("{}", FatalError) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 557 - panic!(FatalError) [INFO] [stdout] 557 + std::panic::panic_any(FatalError) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | "path" => token::NtPath(panictry!(p.parse_path(PathStyle::Type))), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:561:33 [INFO] [stdout] | [INFO] [stdout] 561 | "meta" => token::NtMeta(panictry!(p.parse_meta_item())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:562:31 [INFO] [stdout] | [INFO] [stdout] 562 | "vis" => token::NtVis(panictry!(p.parse_visibility(true))), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_rules.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let expansion = panictry!(parser.parse_expansion(kind, true)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_rules.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | panic!(sess [INFO] [stdout] | ____________________^ [INFO] [stdout] 222 | | .span_diagnostic [INFO] [stdout] 223 | | .span_fatal(sp.substitute_dummy(def.span), &s)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 221 | panic!("{}", sess [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 221 - panic!(sess [INFO] [stdout] 221 + std::panic::panic_any(sess [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_rules.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | panic!(sess [INFO] [stdout] | ____________________^ [INFO] [stdout] 227 | | .span_diagnostic [INFO] [stdout] 228 | | .span_fatal(sp.substitute_dummy(def.span), &s)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 226 | panic!("{}", sess [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 226 - panic!(sess [INFO] [stdout] 226 + std::panic::panic_any(sess [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/ext/tt/macro_rules.rs:951:44 [INFO] [stdout] | [INFO] [stdout] 951 | "unexpected quoted::TokenTree::{{Sequence or Delimited}} \ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 951 | "{}", "unexpected quoted::TokenTree::{{Sequence or Delimited}} \ [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | panic!(sp_diag.span_fatal( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 140 | | sp, /* blame macro writer */ [INFO] [stdout] 141 | | "attempted to repeat an expression \ [INFO] [stdout] 142 | | containing no syntax \ [INFO] [stdout] 143 | | variables matched as repeating at this depth" [INFO] [stdout] 144 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 139 | panic!("{}", sp_diag.span_fatal( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 139 - panic!(sp_diag.span_fatal( [INFO] [stdout] 139 + std::panic::panic_any(sp_diag.span_fatal( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | panic!(sp_diag.span_fatal(sp, &msg[..])); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 148 | panic!("{}", sp_diag.span_fatal(sp, &msg[..])); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 148 - panic!(sp_diag.span_fatal(sp, &msg[..])); [INFO] [stdout] 148 + std::panic::panic_any(sp_diag.span_fatal(sp, &msg[..])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | ... panic!(sp_diag.span_fatal(sp, "this must repeat at least once")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 154 | panic!("{}", sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 154 - panic!(sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stdout] 154 + std::panic::panic_any(sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | ... panic!(sp_diag.span_fatal( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 183 | | ... sp, /* blame the macro writer */ [INFO] [stdout] 184 | | ... &format!("variable '{}' is still repeating at this depth", ident) [INFO] [stdout] 185 | | ... )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 182 | panic!("{}", sp_diag.span_fatal( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 182 - panic!(sp_diag.span_fatal( [INFO] [stdout] 182 + std::panic::panic_any(sp_diag.span_fatal( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.87s [INFO] running `Command { std: "docker" "inspect" "977f1cdef3c9146292c25581e0da36c77642a679c96bb434c6470718c17cb3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "977f1cdef3c9146292c25581e0da36c77642a679c96bb434c6470718c17cb3a4", kill_on_drop: false }` [INFO] [stdout] 977f1cdef3c9146292c25581e0da36c77642a679c96bb434c6470718c17cb3a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1174505f5773f66e4fea273a5d27c35ca6c073cd098516f0936be2b9c35ab5ac [INFO] running `Command { std: "docker" "start" "-a" "1174505f5773f66e4fea273a5d27c35ca6c073cd098516f0936be2b9c35ab5ac", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::ext` [INFO] [stdout] --> src/ext/build.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::ext; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parse` [INFO] [stdout] --> src/ext/build.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::parse; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unsigned_leb128_to_buf` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn write_unsigned_leb128_to_buf(buf: &mut [u8; 16], value: u64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_signed_leb128_to_buf` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn write_signed_leb128_to_buf(buf: &mut [u8; 16], value: i64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableHasher` is never constructed [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct StableHasher { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StableHasherResult` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait StableHasherResult: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_uleb128` and `write_ileb128` are never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl StableHasher { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 64 | #[inline] [INFO] [stdout] 65 | fn write_uleb128(&mut self, value: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn write_ileb128(&mut self, value: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashStable` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait HashStable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake2bCtx` is never constructed [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Blake2bCtx { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b2b_g` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn b2b_g(v: &mut [u64; 16], a: usize, b: usize, c: usize, d: usize, x: u64, y: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLAKE2B_IV` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const BLAKE2B_IV: [u64; 8] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_compress` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn blake2b_compress(ctx: &mut Blake2bCtx, last: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_update` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn blake2b_update(ctx: &mut Blake2bCtx, mut data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_final` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn blake2b_final(ctx: &mut Blake2bCtx) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checked_mem_copy` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn checked_mem_copy(from: &[T1], to: &mut [T2], byte_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake2bHasher` is never constructed [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Blake2bHasher(Blake2bCtx); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `finalize` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl Blake2bHasher { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 235 | pub fn finalize(&mut self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unsigned_leb128_to` is never used [INFO] [stdout] --> src/rustc_data_structures/leb128.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn write_unsigned_leb128_to(mut value: u128, mut write: W) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_signed_leb128_to` is never used [INFO] [stdout] --> src/rustc_data_structures/leb128.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write_signed_leb128_to(mut value: i128, mut write: W) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustc_data_structures/indexed_vec.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustc_data_structures/indexed_vec.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:188:33 [INFO] [stdout] | [INFO] [stdout] 188 | let val: u32 = unsafe { ::std::mem::transmute(*self) }; [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | let val: u64 = unsafe { ::std::mem::transmute(*self) }; [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util/small_vector.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | panic!(err) [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: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 131 | panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util/small_vector.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | _ => panic!(err), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | _ => panic!("{}", err), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codemap.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn files(&self) -> Ref>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn files(&self) -> Ref<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/feature_gate.rs:1374:20 [INFO] [stdout] | [INFO] [stdout] 1374 | let meta = panictry!(attr.parse_meta(self.context.parse_sess)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/feature_gate.rs:1882:20 [INFO] [stdout] | [INFO] [stdout] 1882 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1882 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1882 - panic!(FatalError); [INFO] [stdout] 1882 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 105 | ) -> PResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | ) -> PResult<'_, ast::Crate> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 113 | ) -> PResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | ) -> PResult<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 121 | ) -> PResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | ) -> PResult<'_, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 132 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 133 | ) -> PResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | ) -> PResult<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 141 | ) -> PResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | ) -> PResult<'_, ast::MetaItem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 149 | ) -> PResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | ) -> PResult<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn new_parser_from_source_str(sess: &ParseSess, name: String, source: String) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 158 | pub fn new_parser_from_source_str(sess: &ParseSess, name: String, source: String) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn filemap_to_parser(sess: &ParseSess, filemap: Rc) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub fn filemap_to_parser(sess: &ParseSess, filemap: Rc) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn new_parser_from_tts(sess: &ParseSess, tts: Vec) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | pub fn new_parser_from_tts(sess: &ParseSess, tts: Vec) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:218:36 [INFO] [stdout] | [INFO] [stdout] 218 | Some(sp) => panic!(sess.span_diagnostic.span_fatal(sp, &msg)), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 218 | Some(sp) => panic!("{}", sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 218 - Some(sp) => panic!(sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stdout] 218 + Some(sp) => std::panic::panic_any(sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | None => panic!(sess.span_diagnostic.fatal(&msg)), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 219 | None => panic!("{}", sess.span_diagnostic.fatal(&msg)), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 219 - None => panic!(sess.span_diagnostic.fatal(&msg)), [INFO] [stdout] 219 + None => std::panic::panic_any(sess.span_diagnostic.fatal(&msg)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parse/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | panictry!(srdr.parse_all_token_trees()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn stream_to_parser(sess: &ParseSess, stream: TokenStream) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | pub fn stream_to_parser(sess: &ParseSess, stream: TokenStream) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:486:32 [INFO] [stdout] | [INFO] [stdout] 486 | panic!(err(2)) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 486 | panic!("{}", err(2)) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:491:32 [INFO] [stdout] | [INFO] [stdout] 491 | None => panic!(err(3)), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 491 | None => panic!("{}", err(3)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parser.rs:392:46 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn span_err(self, sp: Span, handler: &errors::Handler) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 392 | pub fn span_err(self, sp: Span, handler: &errors::Handler) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 84 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 84 - panic!(FatalError); [INFO] [stdout] 84 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 186 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 186 - panic!(FatalError); [INFO] [stdout] 186 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 211 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 211 - panic!(FatalError); [INFO] [stdout] 211 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:642:24 [INFO] [stdout] | [INFO] [stdout] 642 | panic!(self.fatal_span_(start_bpos, last_bpos, msg)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 642 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 642 - panic!(self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stdout] 642 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:804:24 [INFO] [stdout] | [INFO] [stdout] 804 | panic!(self.fatal_span_( [INFO] [stdout] | ________________________^ [INFO] [stdout] 805 | | start_bpos, [INFO] [stdout] 806 | | last_bpos, [INFO] [stdout] 807 | | "unterminated numeric character escape" [INFO] [stdout] 808 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 804 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 804 - panic!(self.fatal_span_( [INFO] [stdout] 804 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1007:28 [INFO] [stdout] | [INFO] [stdout] 1007 | panic!(self.fatal_span_( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1008 | | start_bpos, [INFO] [stdout] 1009 | | self.pos, [INFO] [stdout] 1010 | | "unterminated unicode escape (found EOF)" [INFO] [stdout] 1011 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1007 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1007 - panic!(self.fatal_span_( [INFO] [stdout] 1007 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1017:28 [INFO] [stdout] | [INFO] [stdout] 1017 | panic!(self.fatal_span_( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1018 | | self.pos, [INFO] [stdout] 1019 | | self.next_pos, [INFO] [stdout] 1020 | | "unterminated unicode escape (needed a `}`)" [INFO] [stdout] 1021 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1017 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1017 - panic!(self.fatal_span_( [INFO] [stdout] 1017 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1293:32 [INFO] [stdout] | [INFO] [stdout] 1293 | panic!(self.fatal_span_verbose( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1294 | | start_with_quote, [INFO] [stdout] 1295 | | self.next_pos, [INFO] [stdout] 1296 | | String::from("character literal may only contain one codepoint") [INFO] [stdout] 1297 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1293 | panic!("{}", self.fatal_span_verbose( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1293 - panic!(self.fatal_span_verbose( [INFO] [stdout] 1293 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1328:28 [INFO] [stdout] | [INFO] [stdout] 1328 | panic!(self.fatal_span_verbose( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1329 | | start_with_quote, [INFO] [stdout] 1330 | | self.pos, [INFO] [stdout] 1331 | | String::from("character literal may only contain one codepoint") [INFO] [stdout] 1332 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1328 | panic!("{}", self.fatal_span_verbose( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1328 - panic!(self.fatal_span_verbose( [INFO] [stdout] 1328 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1362:32 [INFO] [stdout] | [INFO] [stdout] 1362 | panic!(self.fatal_span_( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1363 | | start_bpos, [INFO] [stdout] 1364 | | last_bpos, [INFO] [stdout] 1365 | | "unterminated double quote string" [INFO] [stdout] 1366 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1362 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1362 - panic!(self.fatal_span_( [INFO] [stdout] 1362 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1398:28 [INFO] [stdout] | [INFO] [stdout] 1398 | panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1398 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1398 - panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] 1398 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1402:28 [INFO] [stdout] | [INFO] [stdout] 1402 | panic!(self.fatal_span_char( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1403 | | start_bpos, [INFO] [stdout] 1404 | | last_bpos, [INFO] [stdout] 1405 | | "found invalid character; only `#` is allowed \ [INFO] [stdout] 1406 | | in raw string delimitation", [INFO] [stdout] 1407 | | curr_char [INFO] [stdout] 1408 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1402 | panic!("{}", self.fatal_span_char( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1402 - panic!(self.fatal_span_char( [INFO] [stdout] 1402 + std::panic::panic_any(self.fatal_span_char( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1417:32 [INFO] [stdout] | [INFO] [stdout] 1417 | panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1417 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1417 - panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] 1417 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1561:20 [INFO] [stdout] | [INFO] [stdout] 1561 | panic!(self.fatal_span_verbose( [INFO] [stdout] | ____________________^ [INFO] [stdout] 1562 | | start - BytePos(2), [INFO] [stdout] 1563 | | pos, [INFO] [stdout] 1564 | | "unterminated byte constant".to_string() [INFO] [stdout] 1565 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1561 | panic!("{}", self.fatal_span_verbose( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1561 - panic!(self.fatal_span_verbose( [INFO] [stdout] 1561 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1589:24 [INFO] [stdout] | [INFO] [stdout] 1589 | panic!(self.fatal_span_(start, pos, "unterminated double quote byte string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1589 | panic!("{}", self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1589 - panic!(self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stdout] 1589 + std::panic::panic_any(self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1620:20 [INFO] [stdout] | [INFO] [stdout] 1620 | panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1620 | panic!("{}", self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1620 - panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stdout] 1620 + std::panic::panic_any(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1624:20 [INFO] [stdout] | [INFO] [stdout] 1624 | panic!(self.fatal_span_char( [INFO] [stdout] | ____________________^ [INFO] [stdout] 1625 | | start_bpos, [INFO] [stdout] 1626 | | pos, [INFO] [stdout] 1627 | | "found invalid character; only `#` is allowed in raw \ [INFO] [stdout] 1628 | | string delimitation", [INFO] [stdout] 1629 | | ch [INFO] [stdout] 1630 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1624 | panic!("{}", self.fatal_span_char( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1624 - panic!(self.fatal_span_char( [INFO] [stdout] 1624 + std::panic::panic_any(self.fatal_span_char( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1639:28 [INFO] [stdout] | [INFO] [stdout] 1639 | panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1639 | panic!("{}", self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1639 - panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stdout] 1639 + std::panic::panic_any(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/comments.rs:257:24 [INFO] [stdout] | [INFO] [stdout] 257 | panic!(rdr.fatal("unterminated block comment")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 257 | panic!("{}", rdr.fatal("unterminated block comment")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 257 - panic!(rdr.fatal("unterminated block comment")); [INFO] [stdout] 257 + std::panic::panic_any(rdr.fatal("unterminated block comment")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/ptr.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | self.ptr.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 210 - self.ptr.into_iter() [INFO] [stdout] 210 + self.ptr.iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 210 - self.ptr.into_iter() [INFO] [stdout] 210 + IntoIterator::into_iter(self.ptr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | panic!(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 126 | panic!("{}", diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 126 - panic!(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stdout] 126 + std::panic::panic_any(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:234:35 [INFO] [stdout] | [INFO] [stdout] 234 | walk_list!(visitor, visit_ty, &local.ty); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:235:37 [INFO] [stdout] | [INFO] [stdout] 235 | walk_list!(visitor, visit_expr, &local.init); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:320:50 [INFO] [stdout] | [INFO] [stdout] 320 | walk_list!(visitor, visit_trait_ref, opt_trait_reference); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:371:37 [INFO] [stdout] | [INFO] [stdout] 371 | walk_list!(visitor, visit_expr, &variant.node.disr_expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:380:49 [INFO] [stdout] | [INFO] [stdout] 380 | walk_list!(visitor, visit_lifetime, opt_lifetime); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:451:43 [INFO] [stdout] | [INFO] [stdout] 451 | walk_list!(visitor, visit_ty, &data.output); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:489:44 [INFO] [stdout] | [INFO] [stdout] 489 | walk_list!(visitor, visit_pat, optional_subpattern); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:499:44 [INFO] [stdout] | [INFO] [stdout] 499 | walk_list!(visitor, visit_pat, slice_pattern); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:540:39 [INFO] [stdout] | [INFO] [stdout] 540 | walk_list!(visitor, visit_ty, ¶m.default); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:624:45 [INFO] [stdout] | [INFO] [stdout] 624 | walk_list!(visitor, visit_expr, default); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:640:43 [INFO] [stdout] | [INFO] [stdout] 640 | walk_list!(visitor, visit_ty, default); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:734:45 [INFO] [stdout] | [INFO] [stdout] 734 | walk_list!(visitor, visit_expr, optional_base); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:763:45 [INFO] [stdout] | [INFO] [stdout] 763 | walk_list!(visitor, visit_expr, optional_else); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:774:45 [INFO] [stdout] | [INFO] [stdout] 774 | walk_list!(visitor, visit_expr, optional_else); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:823:45 [INFO] [stdout] | [INFO] [stdout] 823 | walk_list!(visitor, visit_expr, start); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:824:45 [INFO] [stdout] | [INFO] [stdout] 824 | walk_list!(visitor, visit_expr, end); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:834:45 [INFO] [stdout] | [INFO] [stdout] 834 | walk_list!(visitor, visit_expr, opt_expr); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:840:45 [INFO] [stdout] | [INFO] [stdout] 840 | walk_list!(visitor, visit_expr, optional_expression); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:861:37 [INFO] [stdout] | [INFO] [stdout] 861 | walk_list!(visitor, visit_expr, &arm.guard); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/base.rs:825:16 [INFO] [stdout] | [INFO] [stdout] 825 | panic!(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 825 | panic!("{}", self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 825 - panic!(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stdout] 825 + std::panic::panic_any(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/base.rs:944:15 [INFO] [stdout] | [INFO] [stdout] 944 | let ret = panictry!(p.parse_expr()); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/base.rs:961:41 [INFO] [stdout] | [INFO] [stdout] 961 | es.push(cx.expander().fold_expr(panictry!(p.parse_expr()))); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/expand.rs:424:20 [INFO] [stdout] | [INFO] [stdout] 424 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 424 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 424 - panic!(FatalError); [INFO] [stdout] 424 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/expand.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | let meta = panictry!(attr.parse_meta(self.cx.parse_sess)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/expand.rs:458:28 [INFO] [stdout] | [INFO] [stdout] 458 | let meta = panictry!(attr.parse_meta(self.cx.parse_sess)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | panictry!(parser.parse_expr()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | panictry!(parser.parse_item()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | panictry!(parser.parse_pat()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | panictry!(parser.parse_arm()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | panictry!(parser.parse_ty()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | panictry!(parser.parse_stmt()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | panictry!(parser.parse_attribute(permit_inner)) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | panictry!(parser.parse_arg()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | panictry!(parser.parse_block()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | panictry!(parser.parse_meta_item()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | panictry!(parser.parse_path(mode)) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:849:19 [INFO] [stdout] | [INFO] [stdout] 849 | let cx_expr = panictry!(p.parse_expr()); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:854:15 [INFO] [stdout] | [INFO] [stdout] 854 | let tts = panictry!(p.parse_all_token_trees()); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | / panictry!(parse::parse_item_from_source_str( [INFO] [stdout] 373 | | "".to_string(), [INFO] [stdout] 374 | | s, [INFO] [stdout] 375 | | self.parse_sess() [INFO] [stdout] 376 | | )) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | / panictry!(parse::parse_stmt_from_source_str( [INFO] [stdout] 382 | | "".to_string(), [INFO] [stdout] 383 | | s, [INFO] [stdout] 384 | | self.parse_sess() [INFO] [stdout] 385 | | )) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | / panictry!(parse::parse_expr_from_source_str( [INFO] [stdout] 391 | | "".to_string(), [INFO] [stdout] 392 | | s, [INFO] [stdout] 393 | | self.parse_sess() [INFO] [stdout] 394 | | )) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/source_util.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | Some(panictry!(self.p.parse_expr())) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/source_util.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | match panictry!(self.p.parse_item()) { [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/source_util.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | None => panic!(self.p.diagnostic().span_fatal( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 121 | | self.p.span, [INFO] [stdout] 122 | | &format!("expected item, found `{}`", self.p.this_token_to_string()) [INFO] [stdout] 123 | | )), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 120 | None => panic!("{}", self.p.diagnostic().span_fatal( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 120 - None => panic!(self.p.diagnostic().span_fatal( [INFO] [stdout] 120 + None => std::panic::panic_any(self.p.diagnostic().span_fatal( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:526:25 [INFO] [stdout] | [INFO] [stdout] 526 | "item" => match panictry!(p.parse_item()) { [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_parser.rs:530:24 [INFO] [stdout] | [INFO] [stdout] 530 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 530 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 530 - panic!(FatalError); [INFO] [stdout] 530 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:533:35 [INFO] [stdout] | [INFO] [stdout] 533 | "block" => token::NtBlock(panictry!(p.parse_block())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | "stmt" => match panictry!(p.parse_stmt()) { [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_parser.rs:538:24 [INFO] [stdout] | [INFO] [stdout] 538 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 538 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 538 - panic!(FatalError); [INFO] [stdout] 538 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:541:31 [INFO] [stdout] | [INFO] [stdout] 541 | "pat" => token::NtPat(panictry!(p.parse_pat())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:542:33 [INFO] [stdout] | [INFO] [stdout] 542 | "expr" => token::NtExpr(panictry!(p.parse_expr())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:543:29 [INFO] [stdout] | [INFO] [stdout] 543 | "ty" => token::NtTy(panictry!(p.parse_ty())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_parser.rs:557:24 [INFO] [stdout] | [INFO] [stdout] 557 | panic!(FatalError) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 557 | panic!("{}", FatalError) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 557 - panic!(FatalError) [INFO] [stdout] 557 + std::panic::panic_any(FatalError) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | "path" => token::NtPath(panictry!(p.parse_path(PathStyle::Type))), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:561:33 [INFO] [stdout] | [INFO] [stdout] 561 | "meta" => token::NtMeta(panictry!(p.parse_meta_item())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:562:31 [INFO] [stdout] | [INFO] [stdout] 562 | "vis" => token::NtVis(panictry!(p.parse_visibility(true))), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_rules.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let expansion = panictry!(parser.parse_expansion(kind, true)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_rules.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | panic!(sess [INFO] [stdout] | ____________________^ [INFO] [stdout] 222 | | .span_diagnostic [INFO] [stdout] 223 | | .span_fatal(sp.substitute_dummy(def.span), &s)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 221 | panic!("{}", sess [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 221 - panic!(sess [INFO] [stdout] 221 + std::panic::panic_any(sess [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_rules.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | panic!(sess [INFO] [stdout] | ____________________^ [INFO] [stdout] 227 | | .span_diagnostic [INFO] [stdout] 228 | | .span_fatal(sp.substitute_dummy(def.span), &s)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 226 | panic!("{}", sess [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 226 - panic!(sess [INFO] [stdout] 226 + std::panic::panic_any(sess [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/ext/tt/macro_rules.rs:951:44 [INFO] [stdout] | [INFO] [stdout] 951 | "unexpected quoted::TokenTree::{{Sequence or Delimited}} \ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 951 | "{}", "unexpected quoted::TokenTree::{{Sequence or Delimited}} \ [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling garando_syntax2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | panic!(sp_diag.span_fatal( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 140 | | sp, /* blame macro writer */ [INFO] [stdout] 141 | | "attempted to repeat an expression \ [INFO] [stdout] 142 | | containing no syntax \ [INFO] [stdout] 143 | | variables matched as repeating at this depth" [INFO] [stdout] 144 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 139 | panic!("{}", sp_diag.span_fatal( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 139 - panic!(sp_diag.span_fatal( [INFO] [stdout] 139 + std::panic::panic_any(sp_diag.span_fatal( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | panic!(sp_diag.span_fatal(sp, &msg[..])); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 148 | panic!("{}", sp_diag.span_fatal(sp, &msg[..])); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 148 - panic!(sp_diag.span_fatal(sp, &msg[..])); [INFO] [stdout] 148 + std::panic::panic_any(sp_diag.span_fatal(sp, &msg[..])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | ... panic!(sp_diag.span_fatal(sp, "this must repeat at least once")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 154 | panic!("{}", sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 154 - panic!(sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stdout] 154 + std::panic::panic_any(sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | ... panic!(sp_diag.span_fatal( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 183 | | ... sp, /* blame the macro writer */ [INFO] [stdout] 184 | | ... &format!("variable '{}' is still repeating at this depth", ident) [INFO] [stdout] 185 | | ... )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 182 | panic!("{}", sp_diag.span_fatal( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 182 - panic!(sp_diag.span_fatal( [INFO] [stdout] 182 + std::panic::panic_any(sp_diag.span_fatal( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ext` [INFO] [stdout] --> src/ext/build.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | pub use crate::ext; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parse` [INFO] [stdout] --> src/ext/build.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | pub use crate::parse; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unsigned_leb128_to_buf` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn write_unsigned_leb128_to_buf(buf: &mut [u8; 16], value: u64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_signed_leb128_to_buf` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn write_signed_leb128_to_buf(buf: &mut [u8; 16], value: i64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StableHasher` is never constructed [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct StableHasher { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StableHasherResult` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait StableHasherResult: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_uleb128` and `write_ileb128` are never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl StableHasher { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 64 | #[inline] [INFO] [stdout] 65 | fn write_uleb128(&mut self, value: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn write_ileb128(&mut self, value: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HashStable` is never used [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub trait HashStable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake2bCtx` is never constructed [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Blake2bCtx { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `b2b_g` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn b2b_g(v: &mut [u64; 16], a: usize, b: usize, c: usize, d: usize, x: u64, y: u64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLAKE2B_IV` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | const BLAKE2B_IV: [u64; 8] = [ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_compress` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn blake2b_compress(ctx: &mut Blake2bCtx, last: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_update` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn blake2b_update(ctx: &mut Blake2bCtx, mut data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `blake2b_final` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn blake2b_final(ctx: &mut Blake2bCtx) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checked_mem_copy` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn checked_mem_copy(from: &[T1], to: &mut [T2], byte_count: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Blake2bHasher` is never constructed [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub struct Blake2bHasher(Blake2bCtx); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `finalize` is never used [INFO] [stdout] --> src/rustc_data_structures/blake2b.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 234 | impl Blake2bHasher { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 235 | pub fn finalize(&mut self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_unsigned_leb128_to` is never used [INFO] [stdout] --> src/rustc_data_structures/leb128.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn write_unsigned_leb128_to(mut value: u128, mut write: W) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_signed_leb128_to` is never used [INFO] [stdout] --> src/rustc_data_structures/leb128.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn write_signed_leb128_to(mut value: i128, mut write: W) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CodeMapExtension` is never used [INFO] [stdout] --> src/codemap.rs:881:11 [INFO] [stdout] | [INFO] [stdout] 881 | trait CodeMapExtension { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustc_data_structures/indexed_vec.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rustc_data_structures/indexed_vec.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:188:33 [INFO] [stdout] | [INFO] [stdout] 188 | let val: u32 = unsafe { ::std::mem::transmute(*self) }; [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/rustc_data_structures/stable_hasher.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | let val: u64 = unsafe { ::std::mem::transmute(*self) }; [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/util/parser_testing.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let x = panictry!(f(&mut p)); [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: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util/small_vector.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | panic!(err) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 131 | panic!("{}", err) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/util/small_vector.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | _ => panic!(err), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 134 | _ => panic!("{}", err), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codemap.rs:137:18 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn files(&self) -> Ref>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 137 | pub fn files(&self) -> Ref<'_, Vec>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/feature_gate.rs:1374:20 [INFO] [stdout] | [INFO] [stdout] 1374 | let meta = panictry!(attr.parse_meta(self.context.parse_sess)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/feature_gate.rs:1882:20 [INFO] [stdout] | [INFO] [stdout] 1882 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1882 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1882 - panic!(FatalError); [INFO] [stdout] 1882 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 105 | ) -> PResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 105 | ) -> PResult<'_, ast::Crate> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 113 | ) -> PResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 113 | ) -> PResult<'_, Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 121 | ) -> PResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | ) -> PResult<'_, P> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 132 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 133 | ) -> PResult>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | ) -> PResult<'_, Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 141 | ) -> PResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 141 | ) -> PResult<'_, ast::MetaItem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | sess: &ParseSess, [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 149 | ) -> PResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | ) -> PResult<'_, Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn new_parser_from_source_str(sess: &ParseSess, name: String, source: String) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 158 | pub fn new_parser_from_source_str(sess: &ParseSess, name: String, source: String) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn filemap_to_parser(sess: &ParseSess, filemap: Rc) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub fn filemap_to_parser(sess: &ParseSess, filemap: Rc) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn new_parser_from_tts(sess: &ParseSess, tts: Vec) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 204 | pub fn new_parser_from_tts(sess: &ParseSess, tts: Vec) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:218:36 [INFO] [stdout] | [INFO] [stdout] 218 | Some(sp) => panic!(sess.span_diagnostic.span_fatal(sp, &msg)), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 218 | Some(sp) => panic!("{}", sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 218 - Some(sp) => panic!(sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stdout] 218 + Some(sp) => std::panic::panic_any(sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | None => panic!(sess.span_diagnostic.fatal(&msg)), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 219 | None => panic!("{}", sess.span_diagnostic.fatal(&msg)), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 219 - None => panic!(sess.span_diagnostic.fatal(&msg)), [INFO] [stdout] 219 + None => std::panic::panic_any(sess.span_diagnostic.fatal(&msg)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parse/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | panictry!(srdr.parse_all_token_trees()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/mod.rs:233:31 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn stream_to_parser(sess: &ParseSess, stream: TokenStream) -> Parser { [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 233 | pub fn stream_to_parser(sess: &ParseSess, stream: TokenStream) -> Parser<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:486:32 [INFO] [stdout] | [INFO] [stdout] 486 | panic!(err(2)) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 486 | panic!("{}", err(2)) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/mod.rs:491:32 [INFO] [stdout] | [INFO] [stdout] 491 | None => panic!(err(3)), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 491 | None => panic!("{}", err(3)), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parse/parser.rs:392:46 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn span_err(self, sp: Span, handler: &errors::Handler) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 392 | pub fn span_err(self, sp: Span, handler: &errors::Handler) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 84 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 84 - panic!(FatalError); [INFO] [stdout] 84 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:186:20 [INFO] [stdout] | [INFO] [stdout] 186 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 186 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 186 - panic!(FatalError); [INFO] [stdout] 186 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 211 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 211 - panic!(FatalError); [INFO] [stdout] 211 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:642:24 [INFO] [stdout] | [INFO] [stdout] 642 | panic!(self.fatal_span_(start_bpos, last_bpos, msg)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 642 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 642 - panic!(self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stdout] 642 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:804:24 [INFO] [stdout] | [INFO] [stdout] 804 | panic!(self.fatal_span_( [INFO] [stdout] | ________________________^ [INFO] [stdout] 805 | | start_bpos, [INFO] [stdout] 806 | | last_bpos, [INFO] [stdout] 807 | | "unterminated numeric character escape" [INFO] [stdout] 808 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 804 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 804 - panic!(self.fatal_span_( [INFO] [stdout] 804 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1007:28 [INFO] [stdout] | [INFO] [stdout] 1007 | panic!(self.fatal_span_( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1008 | | start_bpos, [INFO] [stdout] 1009 | | self.pos, [INFO] [stdout] 1010 | | "unterminated unicode escape (found EOF)" [INFO] [stdout] 1011 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1007 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1007 - panic!(self.fatal_span_( [INFO] [stdout] 1007 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1017:28 [INFO] [stdout] | [INFO] [stdout] 1017 | panic!(self.fatal_span_( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1018 | | self.pos, [INFO] [stdout] 1019 | | self.next_pos, [INFO] [stdout] 1020 | | "unterminated unicode escape (needed a `}`)" [INFO] [stdout] 1021 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1017 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1017 - panic!(self.fatal_span_( [INFO] [stdout] 1017 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1293:32 [INFO] [stdout] | [INFO] [stdout] 1293 | panic!(self.fatal_span_verbose( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1294 | | start_with_quote, [INFO] [stdout] 1295 | | self.next_pos, [INFO] [stdout] 1296 | | String::from("character literal may only contain one codepoint") [INFO] [stdout] 1297 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1293 | panic!("{}", self.fatal_span_verbose( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1293 - panic!(self.fatal_span_verbose( [INFO] [stdout] 1293 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1328:28 [INFO] [stdout] | [INFO] [stdout] 1328 | panic!(self.fatal_span_verbose( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1329 | | start_with_quote, [INFO] [stdout] 1330 | | self.pos, [INFO] [stdout] 1331 | | String::from("character literal may only contain one codepoint") [INFO] [stdout] 1332 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1328 | panic!("{}", self.fatal_span_verbose( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1328 - panic!(self.fatal_span_verbose( [INFO] [stdout] 1328 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1362:32 [INFO] [stdout] | [INFO] [stdout] 1362 | panic!(self.fatal_span_( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 1363 | | start_bpos, [INFO] [stdout] 1364 | | last_bpos, [INFO] [stdout] 1365 | | "unterminated double quote string" [INFO] [stdout] 1366 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1362 | panic!("{}", self.fatal_span_( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1362 - panic!(self.fatal_span_( [INFO] [stdout] 1362 + std::panic::panic_any(self.fatal_span_( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1398:28 [INFO] [stdout] | [INFO] [stdout] 1398 | panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1398 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1398 - panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] 1398 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1402:28 [INFO] [stdout] | [INFO] [stdout] 1402 | panic!(self.fatal_span_char( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1403 | | start_bpos, [INFO] [stdout] 1404 | | last_bpos, [INFO] [stdout] 1405 | | "found invalid character; only `#` is allowed \ [INFO] [stdout] 1406 | | in raw string delimitation", [INFO] [stdout] 1407 | | curr_char [INFO] [stdout] 1408 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1402 | panic!("{}", self.fatal_span_char( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1402 - panic!(self.fatal_span_char( [INFO] [stdout] 1402 + std::panic::panic_any(self.fatal_span_char( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1417:32 [INFO] [stdout] | [INFO] [stdout] 1417 | panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1417 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1417 - panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] 1417 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1561:20 [INFO] [stdout] | [INFO] [stdout] 1561 | panic!(self.fatal_span_verbose( [INFO] [stdout] | ____________________^ [INFO] [stdout] 1562 | | start - BytePos(2), [INFO] [stdout] 1563 | | pos, [INFO] [stdout] 1564 | | "unterminated byte constant".to_string() [INFO] [stdout] 1565 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1561 | panic!("{}", self.fatal_span_verbose( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1561 - panic!(self.fatal_span_verbose( [INFO] [stdout] 1561 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1589:24 [INFO] [stdout] | [INFO] [stdout] 1589 | panic!(self.fatal_span_(start, pos, "unterminated double quote byte string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1589 | panic!("{}", self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1589 - panic!(self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stdout] 1589 + std::panic::panic_any(self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1620:20 [INFO] [stdout] | [INFO] [stdout] 1620 | panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1620 | panic!("{}", self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1620 - panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stdout] 1620 + std::panic::panic_any(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1624:20 [INFO] [stdout] | [INFO] [stdout] 1624 | panic!(self.fatal_span_char( [INFO] [stdout] | ____________________^ [INFO] [stdout] 1625 | | start_bpos, [INFO] [stdout] 1626 | | pos, [INFO] [stdout] 1627 | | "found invalid character; only `#` is allowed in raw \ [INFO] [stdout] 1628 | | string delimitation", [INFO] [stdout] 1629 | | ch [INFO] [stdout] 1630 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1624 | panic!("{}", self.fatal_span_char( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1624 - panic!(self.fatal_span_char( [INFO] [stdout] 1624 + std::panic::panic_any(self.fatal_span_char( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/mod.rs:1639:28 [INFO] [stdout] | [INFO] [stdout] 1639 | panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 1639 | panic!("{}", self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 1639 - panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stdout] 1639 + std::panic::panic_any(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parse/lexer/comments.rs:257:24 [INFO] [stdout] | [INFO] [stdout] 257 | panic!(rdr.fatal("unterminated block comment")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 257 | panic!("{}", rdr.fatal("unterminated block comment")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 257 - panic!(rdr.fatal("unterminated block comment")); [INFO] [stdout] 257 + std::panic::panic_any(rdr.fatal("unterminated block comment")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parse/mod.rs:896:13 [INFO] [stdout] | [INFO] [stdout] 896 | panictry!(parser.parse_pat()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/ptr.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | self.ptr.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 210 - self.ptr.into_iter() [INFO] [stdout] 210 + self.ptr.iter() [INFO] [stdout] | [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 210 - self.ptr.into_iter() [INFO] [stdout] 210 + IntoIterator::into_iter(self.ptr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | panic!(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 126 | panic!("{}", diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 126 - panic!(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stdout] 126 + std::panic::panic_any(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:234:35 [INFO] [stdout] | [INFO] [stdout] 234 | walk_list!(visitor, visit_ty, &local.ty); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:235:37 [INFO] [stdout] | [INFO] [stdout] 235 | walk_list!(visitor, visit_expr, &local.init); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:320:50 [INFO] [stdout] | [INFO] [stdout] 320 | walk_list!(visitor, visit_trait_ref, opt_trait_reference); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:371:37 [INFO] [stdout] | [INFO] [stdout] 371 | walk_list!(visitor, visit_expr, &variant.node.disr_expr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:380:49 [INFO] [stdout] | [INFO] [stdout] 380 | walk_list!(visitor, visit_lifetime, opt_lifetime); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:451:43 [INFO] [stdout] | [INFO] [stdout] 451 | walk_list!(visitor, visit_ty, &data.output); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:489:44 [INFO] [stdout] | [INFO] [stdout] 489 | walk_list!(visitor, visit_pat, optional_subpattern); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:499:44 [INFO] [stdout] | [INFO] [stdout] 499 | walk_list!(visitor, visit_pat, slice_pattern); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:540:39 [INFO] [stdout] | [INFO] [stdout] 540 | walk_list!(visitor, visit_ty, ¶m.default); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:624:45 [INFO] [stdout] | [INFO] [stdout] 624 | walk_list!(visitor, visit_expr, default); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:640:43 [INFO] [stdout] | [INFO] [stdout] 640 | walk_list!(visitor, visit_ty, default); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:734:45 [INFO] [stdout] | [INFO] [stdout] 734 | walk_list!(visitor, visit_expr, optional_base); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:763:45 [INFO] [stdout] | [INFO] [stdout] 763 | walk_list!(visitor, visit_expr, optional_else); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:774:45 [INFO] [stdout] | [INFO] [stdout] 774 | walk_list!(visitor, visit_expr, optional_else); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:823:45 [INFO] [stdout] | [INFO] [stdout] 823 | walk_list!(visitor, visit_expr, start); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:824:45 [INFO] [stdout] | [INFO] [stdout] 824 | walk_list!(visitor, visit_expr, end); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:834:45 [INFO] [stdout] | [INFO] [stdout] 834 | walk_list!(visitor, visit_expr, opt_expr); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:840:45 [INFO] [stdout] | [INFO] [stdout] 840 | walk_list!(visitor, visit_expr, optional_expression); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/visit.rs:861:37 [INFO] [stdout] | [INFO] [stdout] 861 | walk_list!(visitor, visit_expr, &arm.guard); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + while let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 184 - for elem in $list { [INFO] [stdout] 184 + if let Some(elem) = $list { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/base.rs:825:16 [INFO] [stdout] | [INFO] [stdout] 825 | panic!(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 825 | panic!("{}", self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 825 - panic!(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stdout] 825 + std::panic::panic_any(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/base.rs:944:15 [INFO] [stdout] | [INFO] [stdout] 944 | let ret = panictry!(p.parse_expr()); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/base.rs:961:41 [INFO] [stdout] | [INFO] [stdout] 961 | es.push(cx.expander().fold_expr(panictry!(p.parse_expr()))); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/expand.rs:424:20 [INFO] [stdout] | [INFO] [stdout] 424 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 424 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 424 - panic!(FatalError); [INFO] [stdout] 424 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/expand.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | let meta = panictry!(attr.parse_meta(self.cx.parse_sess)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/expand.rs:458:28 [INFO] [stdout] | [INFO] [stdout] 458 | let meta = panictry!(attr.parse_meta(self.cx.parse_sess)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | panictry!(parser.parse_expr()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:445:5 [INFO] [stdout] | [INFO] [stdout] 445 | panictry!(parser.parse_item()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:449:5 [INFO] [stdout] | [INFO] [stdout] 449 | panictry!(parser.parse_pat()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | panictry!(parser.parse_arm()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | panictry!(parser.parse_ty()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | panictry!(parser.parse_stmt()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:465:5 [INFO] [stdout] | [INFO] [stdout] 465 | panictry!(parser.parse_attribute(permit_inner)) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | panictry!(parser.parse_arg()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:473:5 [INFO] [stdout] | [INFO] [stdout] 473 | panictry!(parser.parse_block()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | panictry!(parser.parse_meta_item()) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:481:5 [INFO] [stdout] | [INFO] [stdout] 481 | panictry!(parser.parse_path(mode)) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:849:19 [INFO] [stdout] | [INFO] [stdout] 849 | let cx_expr = panictry!(p.parse_expr()); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:854:15 [INFO] [stdout] | [INFO] [stdout] 854 | let tts = panictry!(p.parse_all_token_trees()); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | / panictry!(parse::parse_item_from_source_str( [INFO] [stdout] 373 | | "".to_string(), [INFO] [stdout] 374 | | s, [INFO] [stdout] 375 | | self.parse_sess() [INFO] [stdout] 376 | | )) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | / panictry!(parse::parse_stmt_from_source_str( [INFO] [stdout] 382 | | "".to_string(), [INFO] [stdout] 383 | | s, [INFO] [stdout] 384 | | self.parse_sess() [INFO] [stdout] 385 | | )) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/quote.rs:390:13 [INFO] [stdout] | [INFO] [stdout] 390 | / panictry!(parse::parse_expr_from_source_str( [INFO] [stdout] 391 | | "".to_string(), [INFO] [stdout] 392 | | s, [INFO] [stdout] 393 | | self.parse_sess() [INFO] [stdout] 394 | | )) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/source_util.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | Some(panictry!(self.p.parse_expr())) [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/source_util.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | match panictry!(self.p.parse_item()) { [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/source_util.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | None => panic!(self.p.diagnostic().span_fatal( [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 121 | | self.p.span, [INFO] [stdout] 122 | | &format!("expected item, found `{}`", self.p.this_token_to_string()) [INFO] [stdout] 123 | | )), [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 120 | None => panic!("{}", self.p.diagnostic().span_fatal( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 120 - None => panic!(self.p.diagnostic().span_fatal( [INFO] [stdout] 120 + None => std::panic::panic_any(self.p.diagnostic().span_fatal( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:526:25 [INFO] [stdout] | [INFO] [stdout] 526 | "item" => match panictry!(p.parse_item()) { [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_parser.rs:530:24 [INFO] [stdout] | [INFO] [stdout] 530 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 530 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 530 - panic!(FatalError); [INFO] [stdout] 530 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:533:35 [INFO] [stdout] | [INFO] [stdout] 533 | "block" => token::NtBlock(panictry!(p.parse_block())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 534 | "stmt" => match panictry!(p.parse_stmt()) { [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_parser.rs:538:24 [INFO] [stdout] | [INFO] [stdout] 538 | panic!(FatalError); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 538 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 538 - panic!(FatalError); [INFO] [stdout] 538 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:541:31 [INFO] [stdout] | [INFO] [stdout] 541 | "pat" => token::NtPat(panictry!(p.parse_pat())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:542:33 [INFO] [stdout] | [INFO] [stdout] 542 | "expr" => token::NtExpr(panictry!(p.parse_expr())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:543:29 [INFO] [stdout] | [INFO] [stdout] 543 | "ty" => token::NtTy(panictry!(p.parse_ty())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_parser.rs:557:24 [INFO] [stdout] | [INFO] [stdout] 557 | panic!(FatalError) [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 557 | panic!("{}", FatalError) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 557 - panic!(FatalError) [INFO] [stdout] 557 + std::panic::panic_any(FatalError) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | "path" => token::NtPath(panictry!(p.parse_path(PathStyle::Type))), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:561:33 [INFO] [stdout] | [INFO] [stdout] 561 | "meta" => token::NtMeta(panictry!(p.parse_meta_item())), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_parser.rs:562:31 [INFO] [stdout] | [INFO] [stdout] 562 | "vis" => token::NtVis(panictry!(p.parse_visibility(true))), [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | panic!(FatalError); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/ext/tt/macro_rules.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | let expansion = panictry!(parser.parse_expansion(kind, true)); [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: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 25 | panic!("{}", FatalError); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 25 - panic!(FatalError); [INFO] [stdout] 25 + std::panic::panic_any(FatalError); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_rules.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | panic!(sess [INFO] [stdout] | ____________________^ [INFO] [stdout] 222 | | .span_diagnostic [INFO] [stdout] 223 | | .span_fatal(sp.substitute_dummy(def.span), &s)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 221 | panic!("{}", sess [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 221 - panic!(sess [INFO] [stdout] 221 + std::panic::panic_any(sess [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/macro_rules.rs:226:20 [INFO] [stdout] | [INFO] [stdout] 226 | panic!(sess [INFO] [stdout] | ____________________^ [INFO] [stdout] 227 | | .span_diagnostic [INFO] [stdout] 228 | | .span_fatal(sp.substitute_dummy(def.span), &s)); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 226 | panic!("{}", sess [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 226 - panic!(sess [INFO] [stdout] 226 + std::panic::panic_any(sess [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains braces [INFO] [stdout] --> src/ext/tt/macro_rules.rs:951:44 [INFO] [stdout] | [INFO] [stdout] 951 | "unexpected quoted::TokenTree::{{Sequence or Delimited}} \ [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 951 | "{}", "unexpected quoted::TokenTree::{{Sequence or Delimited}} \ [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | panic!(sp_diag.span_fatal( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 140 | | sp, /* blame macro writer */ [INFO] [stdout] 141 | | "attempted to repeat an expression \ [INFO] [stdout] 142 | | containing no syntax \ [INFO] [stdout] 143 | | variables matched as repeating at this depth" [INFO] [stdout] 144 | | )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 139 | panic!("{}", sp_diag.span_fatal( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 139 - panic!(sp_diag.span_fatal( [INFO] [stdout] 139 + std::panic::panic_any(sp_diag.span_fatal( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:148:32 [INFO] [stdout] | [INFO] [stdout] 148 | panic!(sp_diag.span_fatal(sp, &msg[..])); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 148 | panic!("{}", sp_diag.span_fatal(sp, &msg[..])); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 148 - panic!(sp_diag.span_fatal(sp, &msg[..])); [INFO] [stdout] 148 + std::panic::panic_any(sp_diag.span_fatal(sp, &msg[..])); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:154:40 [INFO] [stdout] | [INFO] [stdout] 154 | ... panic!(sp_diag.span_fatal(sp, "this must repeat at least once")); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 154 | panic!("{}", sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 154 - panic!(sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stdout] 154 + std::panic::panic_any(sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ext/tt/transcribe.rs:182:36 [INFO] [stdout] | [INFO] [stdout] 182 | ... panic!(sp_diag.span_fatal( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 183 | | ... sp, /* blame the macro writer */ [INFO] [stdout] 184 | | ... &format!("variable '{}' is still repeating at this depth", ident) [INFO] [stdout] 185 | | ... )); [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] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 182 | panic!("{}", sp_diag.span_fatal( [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 182 - panic!(sp_diag.span_fatal( [INFO] [stdout] 182 + std::panic::panic_any(sp_diag.span_fatal( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.15s [INFO] running `Command { std: "docker" "inspect" "1174505f5773f66e4fea273a5d27c35ca6c073cd098516f0936be2b9c35ab5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1174505f5773f66e4fea273a5d27c35ca6c073cd098516f0936be2b9c35ab5ac", kill_on_drop: false }` [INFO] [stdout] 1174505f5773f66e4fea273a5d27c35ca6c073cd098516f0936be2b9c35ab5ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 32519ca32310d74fd46a3c167f3150d951b8a950537f0a98f4033a21169694d9 [INFO] running `Command { std: "docker" "start" "-a" "32519ca32310d74fd46a3c167f3150d951b8a950537f0a98f4033a21169694d9", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `crate::ext` [INFO] [stderr] --> src/ext/build.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | pub use crate::ext; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::parse` [INFO] [stderr] --> src/ext/build.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | pub use crate::parse; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_unsigned_leb128_to_buf` is never used [INFO] [stderr] --> src/rustc_data_structures/stable_hasher.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | fn write_unsigned_leb128_to_buf(buf: &mut [u8; 16], value: u64) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `write_signed_leb128_to_buf` is never used [INFO] [stderr] --> src/rustc_data_structures/stable_hasher.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | fn write_signed_leb128_to_buf(buf: &mut [u8; 16], value: i64) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `StableHasher` is never constructed [INFO] [stderr] --> src/rustc_data_structures/stable_hasher.rs:32:12 [INFO] [stderr] | [INFO] [stderr] 32 | pub struct StableHasher { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `StableHasherResult` is never used [INFO] [stderr] --> src/rustc_data_structures/stable_hasher.rs:44:11 [INFO] [stderr] | [INFO] [stderr] 44 | pub trait StableHasherResult: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `write_uleb128` and `write_ileb128` are never used [INFO] [stderr] --> src/rustc_data_structures/stable_hasher.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 63 | impl StableHasher { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] 64 | #[inline] [INFO] [stderr] 65 | fn write_uleb128(&mut self, value: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | fn write_ileb128(&mut self, value: i64) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `HashStable` is never used [INFO] [stderr] --> src/rustc_data_structures/stable_hasher.rs:150:11 [INFO] [stderr] | [INFO] [stderr] 150 | pub trait HashStable { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Blake2bCtx` is never constructed [INFO] [stderr] --> src/rustc_data_structures/blake2b.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Blake2bCtx { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `b2b_g` is never used [INFO] [stderr] --> src/rustc_data_structures/blake2b.rs:42:4 [INFO] [stderr] | [INFO] [stderr] 42 | fn b2b_g(v: &mut [u64; 16], a: usize, b: usize, c: usize, d: usize, x: u64, y: u64) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BLAKE2B_IV` is never used [INFO] [stderr] --> src/rustc_data_structures/blake2b.rs:54:7 [INFO] [stderr] | [INFO] [stderr] 54 | const BLAKE2B_IV: [u64; 8] = [ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `blake2b_compress` is never used [INFO] [stderr] --> src/rustc_data_structures/blake2b.rs:65:4 [INFO] [stderr] | [INFO] [stderr] 65 | fn blake2b_compress(ctx: &mut Blake2bCtx, last: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `blake2b_update` is never used [INFO] [stderr] --> src/rustc_data_structures/blake2b.rs:141:4 [INFO] [stderr] | [INFO] [stderr] 141 | fn blake2b_update(ctx: &mut Blake2bCtx, mut data: &[u8]) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `blake2b_final` is never used [INFO] [stderr] --> src/rustc_data_structures/blake2b.rs:178:4 [INFO] [stderr] | [INFO] [stderr] 178 | fn blake2b_final(ctx: &mut Blake2bCtx) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `checked_mem_copy` is never used [INFO] [stderr] --> src/rustc_data_structures/blake2b.rs:206:4 [INFO] [stderr] | [INFO] [stderr] 206 | fn checked_mem_copy(from: &[T1], to: &mut [T2], byte_count: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Blake2bHasher` is never constructed [INFO] [stderr] --> src/rustc_data_structures/blake2b.rs:218:12 [INFO] [stderr] | [INFO] [stderr] 218 | pub struct Blake2bHasher(Blake2bCtx); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `finalize` is never used [INFO] [stderr] --> src/rustc_data_structures/blake2b.rs:235:12 [INFO] [stderr] | [INFO] [stderr] 234 | impl Blake2bHasher { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 235 | pub fn finalize(&mut self) -> &[u8] { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_unsigned_leb128_to` is never used [INFO] [stderr] --> src/rustc_data_structures/leb128.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn write_unsigned_leb128_to(mut value: u128, mut write: W) -> usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `write_signed_leb128_to` is never used [INFO] [stderr] --> src/rustc_data_structures/leb128.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn write_signed_leb128_to(mut value: i128, mut write: W) -> usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rustc_data_structures/indexed_vec.rs:142:17 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn iter(&self) -> slice::Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 142 | pub fn iter(&self) -> slice::Iter<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rustc_data_structures/indexed_vec.rs:147:21 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn iter_mut(&mut self) -> slice::IterMut { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 147 | pub fn iter_mut(&mut self) -> slice::IterMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/rustc_data_structures/stable_hasher.rs:188:33 [INFO] [stderr] | [INFO] [stderr] 188 | let val: u32 = unsafe { ::std::mem::transmute(*self) }; [INFO] [stderr] | ---------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/rustc_data_structures/stable_hasher.rs:195:33 [INFO] [stderr] | [INFO] [stderr] 195 | let val: u64 = unsafe { ::std::mem::transmute(*self) }; [INFO] [stderr] | ---------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::to_bits` [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/util/small_vector.rs:131:28 [INFO] [stderr] | [INFO] [stderr] 131 | panic!(err) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 131 | panic!("{}", err) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/util/small_vector.rs:134:25 [INFO] [stderr] | [INFO] [stderr] 134 | _ => panic!(err), [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 134 | _ => panic!("{}", err), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/codemap.rs:137:18 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn files(&self) -> Ref>> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 137 | pub fn files(&self) -> Ref<'_, Vec>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/feature_gate.rs:1374:20 [INFO] [stderr] | [INFO] [stderr] 1374 | let meta = panictry!(attr.parse_meta(self.context.parse_sess)); [INFO] [stderr] | --------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/feature_gate.rs:1882:20 [INFO] [stderr] | [INFO] [stderr] 1882 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1882 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1882 - panic!(FatalError); [INFO] [stderr] 1882 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:104:11 [INFO] [stderr] | [INFO] [stderr] 104 | sess: &ParseSess, [INFO] [stderr] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 105 | ) -> PResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 105 | ) -> PResult<'_, ast::Crate> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:112:11 [INFO] [stderr] | [INFO] [stderr] 112 | sess: &ParseSess, [INFO] [stderr] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 113 | ) -> PResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 113 | ) -> PResult<'_, Vec> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:120:11 [INFO] [stderr] | [INFO] [stderr] 120 | sess: &ParseSess, [INFO] [stderr] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 121 | ) -> PResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 121 | ) -> PResult<'_, P> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:132:11 [INFO] [stderr] | [INFO] [stderr] 132 | sess: &ParseSess, [INFO] [stderr] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 133 | ) -> PResult>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 133 | ) -> PResult<'_, Option>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:140:11 [INFO] [stderr] | [INFO] [stderr] 140 | sess: &ParseSess, [INFO] [stderr] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 141 | ) -> PResult { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 141 | ) -> PResult<'_, ast::MetaItem> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:148:11 [INFO] [stderr] | [INFO] [stderr] 148 | sess: &ParseSess, [INFO] [stderr] | ^^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 149 | ) -> PResult> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 149 | ) -> PResult<'_, Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:158:41 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn new_parser_from_source_str(sess: &ParseSess, name: String, source: String) -> Parser { [INFO] [stderr] | ^^^^^^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 158 | pub fn new_parser_from_source_str(sess: &ParseSess, name: String, source: String) -> Parser<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:187:32 [INFO] [stderr] | [INFO] [stderr] 187 | pub fn filemap_to_parser(sess: &ParseSess, filemap: Rc) -> Parser { [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 187 | pub fn filemap_to_parser(sess: &ParseSess, filemap: Rc) -> Parser<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:204:34 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn new_parser_from_tts(sess: &ParseSess, tts: Vec) -> Parser { [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 204 | pub fn new_parser_from_tts(sess: &ParseSess, tts: Vec) -> Parser<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/mod.rs:218:36 [INFO] [stderr] | [INFO] [stderr] 218 | Some(sp) => panic!(sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 218 | Some(sp) => panic!("{}", sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 218 - Some(sp) => panic!(sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stderr] 218 + Some(sp) => std::panic::panic_any(sess.span_diagnostic.span_fatal(sp, &msg)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/mod.rs:219:32 [INFO] [stderr] | [INFO] [stderr] 219 | None => panic!(sess.span_diagnostic.fatal(&msg)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 219 | None => panic!("{}", sess.span_diagnostic.fatal(&msg)), [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 219 - None => panic!(sess.span_diagnostic.fatal(&msg)), [INFO] [stderr] 219 + None => std::panic::panic_any(sess.span_diagnostic.fatal(&msg)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parse/mod.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | panictry!(srdr.parse_all_token_trees()) [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/mod.rs:233:31 [INFO] [stderr] | [INFO] [stderr] 233 | pub fn stream_to_parser(sess: &ParseSess, stream: TokenStream) -> Parser { [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 233 | pub fn stream_to_parser(sess: &ParseSess, stream: TokenStream) -> Parser<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/mod.rs:486:32 [INFO] [stderr] | [INFO] [stderr] 486 | panic!(err(2)) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 486 | panic!("{}", err(2)) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/mod.rs:491:32 [INFO] [stderr] | [INFO] [stderr] 491 | None => panic!(err(3)), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 491 | None => panic!("{}", err(3)), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parse/parser.rs:392:46 [INFO] [stderr] | [INFO] [stderr] 392 | pub fn span_err(self, sp: Span, handler: &errors::Handler) -> DiagnosticBuilder { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 392 | pub fn span_err(self, sp: Span, handler: &errors::Handler) -> DiagnosticBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:84:24 [INFO] [stderr] | [INFO] [stderr] 84 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 84 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 84 - panic!(FatalError); [INFO] [stderr] 84 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:186:20 [INFO] [stderr] | [INFO] [stderr] 186 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 186 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 186 - panic!(FatalError); [INFO] [stderr] 186 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:211:20 [INFO] [stderr] | [INFO] [stderr] 211 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 211 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 211 - panic!(FatalError); [INFO] [stderr] 211 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:642:24 [INFO] [stderr] | [INFO] [stderr] 642 | panic!(self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 642 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 642 - panic!(self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stderr] 642 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, msg)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:804:24 [INFO] [stderr] | [INFO] [stderr] 804 | panic!(self.fatal_span_( [INFO] [stderr] | ________________________^ [INFO] [stderr] 805 | | start_bpos, [INFO] [stderr] 806 | | last_bpos, [INFO] [stderr] 807 | | "unterminated numeric character escape" [INFO] [stderr] 808 | | )); [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 804 | panic!("{}", self.fatal_span_( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 804 - panic!(self.fatal_span_( [INFO] [stderr] 804 + std::panic::panic_any(self.fatal_span_( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1007:28 [INFO] [stderr] | [INFO] [stderr] 1007 | panic!(self.fatal_span_( [INFO] [stderr] | ____________________________^ [INFO] [stderr] 1008 | | start_bpos, [INFO] [stderr] 1009 | | self.pos, [INFO] [stderr] 1010 | | "unterminated unicode escape (found EOF)" [INFO] [stderr] 1011 | | )); [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1007 | panic!("{}", self.fatal_span_( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1007 - panic!(self.fatal_span_( [INFO] [stderr] 1007 + std::panic::panic_any(self.fatal_span_( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1017:28 [INFO] [stderr] | [INFO] [stderr] 1017 | panic!(self.fatal_span_( [INFO] [stderr] | ____________________________^ [INFO] [stderr] 1018 | | self.pos, [INFO] [stderr] 1019 | | self.next_pos, [INFO] [stderr] 1020 | | "unterminated unicode escape (needed a `}`)" [INFO] [stderr] 1021 | | )); [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1017 | panic!("{}", self.fatal_span_( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1017 - panic!(self.fatal_span_( [INFO] [stderr] 1017 + std::panic::panic_any(self.fatal_span_( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1293:32 [INFO] [stderr] | [INFO] [stderr] 1293 | panic!(self.fatal_span_verbose( [INFO] [stderr] | ________________________________^ [INFO] [stderr] 1294 | | start_with_quote, [INFO] [stderr] 1295 | | self.next_pos, [INFO] [stderr] 1296 | | String::from("character literal may only contain one codepoint") [INFO] [stderr] 1297 | | )); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1293 | panic!("{}", self.fatal_span_verbose( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1293 - panic!(self.fatal_span_verbose( [INFO] [stderr] 1293 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1328:28 [INFO] [stderr] | [INFO] [stderr] 1328 | panic!(self.fatal_span_verbose( [INFO] [stderr] | ____________________________^ [INFO] [stderr] 1329 | | start_with_quote, [INFO] [stderr] 1330 | | self.pos, [INFO] [stderr] 1331 | | String::from("character literal may only contain one codepoint") [INFO] [stderr] 1332 | | )); [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1328 | panic!("{}", self.fatal_span_verbose( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1328 - panic!(self.fatal_span_verbose( [INFO] [stderr] 1328 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1362:32 [INFO] [stderr] | [INFO] [stderr] 1362 | panic!(self.fatal_span_( [INFO] [stderr] | ________________________________^ [INFO] [stderr] 1363 | | start_bpos, [INFO] [stderr] 1364 | | last_bpos, [INFO] [stderr] 1365 | | "unterminated double quote string" [INFO] [stderr] 1366 | | )); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1362 | panic!("{}", self.fatal_span_( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1362 - panic!(self.fatal_span_( [INFO] [stderr] 1362 + std::panic::panic_any(self.fatal_span_( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1398:28 [INFO] [stderr] | [INFO] [stderr] 1398 | panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1398 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1398 - panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stderr] 1398 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1402:28 [INFO] [stderr] | [INFO] [stderr] 1402 | panic!(self.fatal_span_char( [INFO] [stderr] | ____________________________^ [INFO] [stderr] 1403 | | start_bpos, [INFO] [stderr] 1404 | | last_bpos, [INFO] [stderr] 1405 | | "found invalid character; only `#` is allowed \ [INFO] [stderr] 1406 | | in raw string delimitation", [INFO] [stderr] 1407 | | curr_char [INFO] [stderr] 1408 | | )); [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1402 | panic!("{}", self.fatal_span_char( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1402 - panic!(self.fatal_span_char( [INFO] [stderr] 1402 + std::panic::panic_any(self.fatal_span_char( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1417:32 [INFO] [stderr] | [INFO] [stderr] 1417 | panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1417 | panic!("{}", self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1417 - panic!(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stderr] 1417 + std::panic::panic_any(self.fatal_span_(start_bpos, last_bpos, "unterminated raw string")); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1561:20 [INFO] [stderr] | [INFO] [stderr] 1561 | panic!(self.fatal_span_verbose( [INFO] [stderr] | ____________________^ [INFO] [stderr] 1562 | | start - BytePos(2), [INFO] [stderr] 1563 | | pos, [INFO] [stderr] 1564 | | "unterminated byte constant".to_string() [INFO] [stderr] 1565 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1561 | panic!("{}", self.fatal_span_verbose( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1561 - panic!(self.fatal_span_verbose( [INFO] [stderr] 1561 + std::panic::panic_any(self.fatal_span_verbose( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1589:24 [INFO] [stderr] | [INFO] [stderr] 1589 | panic!(self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1589 | panic!("{}", self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1589 - panic!(self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stderr] 1589 + std::panic::panic_any(self.fatal_span_(start, pos, "unterminated double quote byte string")); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1620:20 [INFO] [stderr] | [INFO] [stderr] 1620 | panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1620 | panic!("{}", self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1620 - panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stderr] 1620 + std::panic::panic_any(self.fatal_span_(start_bpos, pos, "unterminated raw string")); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1624:20 [INFO] [stderr] | [INFO] [stderr] 1624 | panic!(self.fatal_span_char( [INFO] [stderr] | ____________________^ [INFO] [stderr] 1625 | | start_bpos, [INFO] [stderr] 1626 | | pos, [INFO] [stderr] 1627 | | "found invalid character; only `#` is allowed in raw \ [INFO] [stderr] 1628 | | string delimitation", [INFO] [stderr] 1629 | | ch [INFO] [stderr] 1630 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1624 | panic!("{}", self.fatal_span_char( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1624 - panic!(self.fatal_span_char( [INFO] [stderr] 1624 + std::panic::panic_any(self.fatal_span_char( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/mod.rs:1639:28 [INFO] [stderr] | [INFO] [stderr] 1639 | panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 1639 | panic!("{}", self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 1639 - panic!(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stderr] 1639 + std::panic::panic_any(self.fatal_span_(start_bpos, pos, "unterminated raw string")) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parse/lexer/comments.rs:257:24 [INFO] [stderr] | [INFO] [stderr] 257 | panic!(rdr.fatal("unterminated block comment")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 257 | panic!("{}", rdr.fatal("unterminated block comment")); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 257 - panic!(rdr.fatal("unterminated block comment")); [INFO] [stderr] 257 + std::panic::panic_any(rdr.fatal("unterminated block comment")); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stderr] --> src/ptr.rs:210:18 [INFO] [stderr] | [INFO] [stderr] 210 | self.ptr.into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(boxed_slice_into_iter)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 210 - self.ptr.into_iter() [INFO] [stderr] 210 + self.ptr.iter() [INFO] [stderr] | [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 210 - self.ptr.into_iter() [INFO] [stderr] 210 + IntoIterator::into_iter(self.ptr) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/test.rs:126:28 [INFO] [stderr] | [INFO] [stderr] 126 | panic!(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 126 | panic!("{}", diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 126 - panic!(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stderr] 126 + std::panic::panic_any(diag.span_fatal(i.span, "unsafe functions cannot be used for tests")); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:234:35 [INFO] [stderr] | [INFO] [stderr] 234 | walk_list!(visitor, visit_ty, &local.ty); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:235:37 [INFO] [stderr] | [INFO] [stderr] 235 | walk_list!(visitor, visit_expr, &local.init); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:320:50 [INFO] [stderr] | [INFO] [stderr] 320 | walk_list!(visitor, visit_trait_ref, opt_trait_reference); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:371:37 [INFO] [stderr] | [INFO] [stderr] 371 | walk_list!(visitor, visit_expr, &variant.node.disr_expr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:380:49 [INFO] [stderr] | [INFO] [stderr] 380 | walk_list!(visitor, visit_lifetime, opt_lifetime); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:451:43 [INFO] [stderr] | [INFO] [stderr] 451 | walk_list!(visitor, visit_ty, &data.output); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:489:44 [INFO] [stderr] | [INFO] [stderr] 489 | walk_list!(visitor, visit_pat, optional_subpattern); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:499:44 [INFO] [stderr] | [INFO] [stderr] 499 | walk_list!(visitor, visit_pat, slice_pattern); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:540:39 [INFO] [stderr] | [INFO] [stderr] 540 | walk_list!(visitor, visit_ty, ¶m.default); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:624:45 [INFO] [stderr] | [INFO] [stderr] 624 | walk_list!(visitor, visit_expr, default); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:640:43 [INFO] [stderr] | [INFO] [stderr] 640 | walk_list!(visitor, visit_ty, default); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:734:45 [INFO] [stderr] | [INFO] [stderr] 734 | walk_list!(visitor, visit_expr, optional_base); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:763:45 [INFO] [stderr] | [INFO] [stderr] 763 | walk_list!(visitor, visit_expr, optional_else); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:774:45 [INFO] [stderr] | [INFO] [stderr] 774 | walk_list!(visitor, visit_expr, optional_else); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:823:45 [INFO] [stderr] | [INFO] [stderr] 823 | walk_list!(visitor, visit_expr, start); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:824:45 [INFO] [stderr] | [INFO] [stderr] 824 | walk_list!(visitor, visit_expr, end); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:834:45 [INFO] [stderr] | [INFO] [stderr] 834 | walk_list!(visitor, visit_expr, opt_expr); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:840:45 [INFO] [stderr] | [INFO] [stderr] 840 | walk_list!(visitor, visit_expr, optional_expression); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/visit.rs:861:37 [INFO] [stderr] | [INFO] [stderr] 861 | walk_list!(visitor, visit_expr, &arm.guard); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + while let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 184 - for elem in $list { [INFO] [stderr] 184 + if let Some(elem) = $list { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/base.rs:825:16 [INFO] [stderr] | [INFO] [stderr] 825 | panic!(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 825 | panic!("{}", self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 825 - panic!(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stderr] 825 + std::panic::panic_any(self.parse_sess.span_diagnostic.span_fatal(sp, msg)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/base.rs:944:15 [INFO] [stderr] | [INFO] [stderr] 944 | let ret = panictry!(p.parse_expr()); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/base.rs:961:41 [INFO] [stderr] | [INFO] [stderr] 961 | es.push(cx.expander().fold_expr(panictry!(p.parse_expr()))); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/expand.rs:424:20 [INFO] [stderr] | [INFO] [stderr] 424 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 424 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 424 - panic!(FatalError); [INFO] [stderr] 424 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/expand.rs:452:28 [INFO] [stderr] | [INFO] [stderr] 452 | let meta = panictry!(attr.parse_meta(self.cx.parse_sess)); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/expand.rs:458:28 [INFO] [stderr] | [INFO] [stderr] 458 | let meta = panictry!(attr.parse_meta(self.cx.parse_sess)); [INFO] [stderr] | ---------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:441:5 [INFO] [stderr] | [INFO] [stderr] 441 | panictry!(parser.parse_expr()) [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:445:5 [INFO] [stderr] | [INFO] [stderr] 445 | panictry!(parser.parse_item()) [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:449:5 [INFO] [stderr] | [INFO] [stderr] 449 | panictry!(parser.parse_pat()) [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:453:5 [INFO] [stderr] | [INFO] [stderr] 453 | panictry!(parser.parse_arm()) [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:457:5 [INFO] [stderr] | [INFO] [stderr] 457 | panictry!(parser.parse_ty()) [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:461:5 [INFO] [stderr] | [INFO] [stderr] 461 | panictry!(parser.parse_stmt()) [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:465:5 [INFO] [stderr] | [INFO] [stderr] 465 | panictry!(parser.parse_attribute(permit_inner)) [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:469:5 [INFO] [stderr] | [INFO] [stderr] 469 | panictry!(parser.parse_arg()) [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:473:5 [INFO] [stderr] | [INFO] [stderr] 473 | panictry!(parser.parse_block()) [INFO] [stderr] | ------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:477:5 [INFO] [stderr] | [INFO] [stderr] 477 | panictry!(parser.parse_meta_item()) [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:481:5 [INFO] [stderr] | [INFO] [stderr] 481 | panictry!(parser.parse_path(mode)) [INFO] [stderr] | ---------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:849:19 [INFO] [stderr] | [INFO] [stderr] 849 | let cx_expr = panictry!(p.parse_expr()); [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] [INFO] [stderr] = note: for more information, see [INFO] [stdout] running 94 tests [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stdout] test abi::indices_are_correct ... ok [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stdout] test abi::lookup_cdecl ... ok [INFO] [stderr] | [INFO] [stdout] test codemap::tests::t1 ... ok [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:854:15 [INFO] [stderr] | [INFO] [stderr] 854 | let tts = panictry!(p.parse_all_token_trees()); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:372:13 [INFO] [stderr] | [INFO] [stderr] 372 | / panictry!(parse::parse_item_from_source_str( [INFO] [stderr] 373 | | "".to_string(), [INFO] [stderr] 374 | | s, [INFO] [stderr] 375 | | self.parse_sess() [INFO] [stderr] 376 | | )) [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:381:13 [INFO] [stderr] | [INFO] [stderr] 381 | / panictry!(parse::parse_stmt_from_source_str( [INFO] [stderr] 382 | | "".to_string(), [INFO] [stderr] 383 | | s, [INFO] [stderr] 384 | | self.parse_sess() [INFO] [stderr] 385 | | )) [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/quote.rs:390:13 [INFO] [stderr] | [INFO] [stderr] 390 | / panictry!(parse::parse_expr_from_source_str( [INFO] [stderr] 391 | | "".to_string(), [INFO] [stderr] 392 | | s, [INFO] [stderr] 393 | | self.parse_sess() [INFO] [stderr] 394 | | )) [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/source_util.rs:113:18 [INFO] [stderr] | [INFO] [stderr] 113 | Some(panictry!(self.p.parse_expr())) [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/source_util.rs:118:23 [INFO] [stderr] | [INFO] [stderr] 118 | match panictry!(self.p.parse_item()) { [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/source_util.rs:120:36 [INFO] [stderr] | [INFO] [stderr] 120 | None => panic!(self.p.diagnostic().span_fatal( [INFO] [stderr] | ____________________________________^ [INFO] [stderr] 121 | | self.p.span, [INFO] [stderr] 122 | | &format!("expected item, found `{}`", self.p.this_token_to_string()) [INFO] [stderr] 123 | | )), [INFO] [stderr] | |_____________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 120 | None => panic!("{}", self.p.diagnostic().span_fatal( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 120 - None => panic!(self.p.diagnostic().span_fatal( [INFO] [stderr] 120 + None => std::panic::panic_any(self.p.diagnostic().span_fatal( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/tt/macro_parser.rs:526:25 [INFO] [stderr] | [INFO] [stderr] 526 | "item" => match panictry!(p.parse_item()) { [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/tt/macro_parser.rs:530:24 [INFO] [stderr] | [INFO] [stderr] 530 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 530 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 530 - panic!(FatalError); [INFO] [stderr] 530 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/tt/macro_parser.rs:533:35 [INFO] [stderr] | [INFO] [stderr] 533 | "block" => token::NtBlock(panictry!(p.parse_block())), [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/tt/macro_parser.rs:534:25 [INFO] [stderr] | [INFO] [stderr] 534 | "stmt" => match panictry!(p.parse_stmt()) { [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/tt/macro_parser.rs:538:24 [INFO] [stderr] | [INFO] [stderr] 538 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 538 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 538 - panic!(FatalError); [INFO] [stderr] 538 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/tt/macro_parser.rs:541:31 [INFO] [stderr] | [INFO] [stderr] 541 | "pat" => token::NtPat(panictry!(p.parse_pat())), [INFO] [stderr] | ------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/tt/macro_parser.rs:542:33 [INFO] [stderr] | [INFO] [stderr] 542 | "expr" => token::NtExpr(panictry!(p.parse_expr())), [INFO] [stderr] | ------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/tt/macro_parser.rs:543:29 [INFO] [stderr] | [INFO] [stderr] 543 | "ty" => token::NtTy(panictry!(p.parse_ty())), [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/tt/macro_parser.rs:557:24 [INFO] [stderr] | [INFO] [stderr] 557 | panic!(FatalError) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 557 | panic!("{}", FatalError) [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 557 - panic!(FatalError) [INFO] [stderr] 557 + std::panic::panic_any(FatalError) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/tt/macro_parser.rs:560:33 [INFO] [stderr] | [INFO] [stderr] 560 | "path" => token::NtPath(panictry!(p.parse_path(PathStyle::Type))), [INFO] [stderr] | ---------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/tt/macro_parser.rs:561:33 [INFO] [stderr] | [INFO] [stderr] 561 | "meta" => token::NtMeta(panictry!(p.parse_meta_item())), [INFO] [stderr] | ------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/tt/macro_parser.rs:562:31 [INFO] [stderr] | [INFO] [stderr] 562 | "vis" => token::NtVis(panictry!(p.parse_visibility(true))), [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/ext/tt/macro_rules.rs:42:25 [INFO] [stderr] | [INFO] [stderr] 42 | let expansion = panictry!(parser.parse_expansion(kind, true)); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/tt/macro_rules.rs:221:20 [INFO] [stderr] | [INFO] [stderr] 221 | panic!(sess [INFO] [stderr] | ____________________^ [INFO] [stderr] 222 | | .span_diagnostic [INFO] [stderr] 223 | | .span_fatal(sp.substitute_dummy(def.span), &s)); [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 221 | panic!("{}", sess [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 221 - panic!(sess [INFO] [stderr] 221 + std::panic::panic_any(sess [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/tt/macro_rules.rs:226:20 [INFO] [stderr] | [INFO] [stderr] 226 | panic!(sess [INFO] [stderr] | ____________________^ [INFO] [stderr] 227 | | .span_diagnostic [INFO] [stderr] 228 | | .span_fatal(sp.substitute_dummy(def.span), &s)); [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 226 | panic!("{}", sess [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 226 - panic!(sess [INFO] [stderr] 226 + std::panic::panic_any(sess [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message contains braces [INFO] [stderr] --> src/ext/tt/macro_rules.rs:951:44 [INFO] [stderr] | [INFO] [stderr] 951 | "unexpected quoted::TokenTree::{{Sequence or Delimited}} \ [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stderr] help: add a "{}" format string to use the message literally [INFO] [stderr] | [INFO] [stderr] 951 | "{}", "unexpected quoted::TokenTree::{{Sequence or Delimited}} \ [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/tt/transcribe.rs:139:32 [INFO] [stderr] | [INFO] [stderr] 139 | panic!(sp_diag.span_fatal( [INFO] [stderr] | ________________________________^ [INFO] [stderr] 140 | | sp, /* blame macro writer */ [INFO] [stderr] 141 | | "attempted to repeat an expression \ [INFO] [stderr] 142 | | containing no syntax \ [INFO] [stderr] 143 | | variables matched as repeating at this depth" [INFO] [stderr] 144 | | )); [INFO] [stderr] | |_________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 139 | panic!("{}", sp_diag.span_fatal( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 139 - panic!(sp_diag.span_fatal( [INFO] [stderr] 139 + std::panic::panic_any(sp_diag.span_fatal( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/tt/transcribe.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | panic!(sp_diag.span_fatal(sp, &msg[..])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 148 | panic!("{}", sp_diag.span_fatal(sp, &msg[..])); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 148 - panic!(sp_diag.span_fatal(sp, &msg[..])); [INFO] [stderr] 148 + std::panic::panic_any(sp_diag.span_fatal(sp, &msg[..])); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/tt/transcribe.rs:154:40 [INFO] [stderr] | [INFO] [stderr] 154 | ... panic!(sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 154 | panic!("{}", sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 154 - panic!(sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stderr] 154 + std::panic::panic_any(sp_diag.span_fatal(sp, "this must repeat at least once")); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/ext/tt/transcribe.rs:182:36 [INFO] [stderr] | [INFO] [stderr] 182 | ... panic!(sp_diag.span_fatal( [INFO] [stderr] | ______________________________^ [INFO] [stderr] 183 | | ... sp, /* blame the macro writer */ [INFO] [stderr] 184 | | ... &format!("variable '{}' is still repeating at this depth", ident) [INFO] [stderr] 185 | | ... )); [INFO] [stderr] | |_______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 182 | panic!("{}", sp_diag.span_fatal( [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 182 - panic!(sp_diag.span_fatal( [INFO] [stderr] 182 + std::panic::panic_any(sp_diag.span_fatal( [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait `CodeMapExtension` is never used [INFO] [stderr] --> src/codemap.rs:881:11 [INFO] [stderr] | [INFO] [stderr] 881 | trait CodeMapExtension { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/util/parser_testing.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | let x = panictry!(f(&mut p)); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/util/small_vector.rs:131:28 [INFO] [stderr] | [INFO] [stderr] 131 | panic!(err) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 131 | panic!("{}", err) [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:25:24 [INFO] [stderr] | [INFO] [stderr] 25 | panic!(FatalError); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parse/mod.rs:896:13 [INFO] [stderr] | [INFO] [stderr] 896 | panictry!(parser.parse_pat()) [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `panictry` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 25 | panic!("{}", FatalError); [INFO] [stderr] | +++++ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 25 - panic!(FatalError); [INFO] [stderr] 25 + std::panic::panic_any(FatalError); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `garando_syntax2` (lib) generated 129 warnings (run `cargo fix --lib -p garando_syntax2` to apply 93 suggestions) [INFO] [stderr] warning: `garando_syntax2` (lib test) generated 132 warnings (128 duplicates) (run `cargo fix --lib -p garando_syntax2 --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/garando_syntax2-da637e2d2eafe04d) [INFO] [stderr] [INFO] [stderr] thread 'fold::tests::ident_transformation_in_defs' (41) panicked at src/util/move_map.rs:32:40: [INFO] [stderr] unsafe precondition(s) violated: slice::get_unchecked requires that the index is within the slice [INFO] [stderr] [INFO] [stderr] This indicates a bug in the program. This Undefined Behavior check is optional, and cannot be relied on for safety. [INFO] [stderr] stack backtrace: [INFO] [stderr] 0: 0x5a0e04ac0aa2 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] 1: 0x5a0e04ac0aa2 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] 2: 0x5a0e04ac0aa2 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stderr] 3: 0x5a0e04ac0aa2 - ::fmt::hde21067283f7e82e [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stderr] 4: 0x5a0e04ad16af - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stderr] 5: 0x5a0e04ad16af - core::fmt::write::h24186904251c31cb [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stderr] 6: 0x5a0e04a8d533 - std::io::default_write_fmt::hdc5d19b6df666f61 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 7: 0x5a0e04a8d533 - std::io::Write::write_fmt::h3ab9f1f4d8d19b72 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stderr] 8: 0x5a0e04a99402 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stderr] 9: 0x5a0e04a9e3df - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stderr] 10: 0x5a0e04a9e239 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:328:9 [INFO] [stderr] 11: 0x5a0e049cc8be - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stderr] 12: 0x5a0e049cc8be - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stderr] 13: 0x5a0e04a9e9ef - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stderr] 14: 0x5a0e04a9e9ef - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stderr] 15: 0x5a0e04a9e816 - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:700:13 [INFO] [stderr] 16: 0x5a0e04a99549 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stderr] 17: 0x5a0e04a81e2d - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stderr] 18: 0x5a0e04adb07d - core::panicking::panic_nounwind_fmt::runtime::hd682c7f4ebed7044 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:122:22 [INFO] [stderr] 19: 0x5a0e04adb07d - core::panicking::panic_nounwind_fmt::he05c47de4e511442 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/intrinsics/mod.rs:2439:9 [INFO] [stderr] 20: 0x5a0e04911cdc - >::get_unchecked::precondition_check::h36fe624feda6b86e [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ub_checks.rs:73:21 [INFO] [stderr] 21: 0x5a0e049114d9 - >::get_unchecked::h11502b1bb162440a [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ub_checks.rs:78:17 [INFO] [stderr] 22: 0x5a0e048fc128 - core::slice::::get_unchecked::heab53c17fb3b76b4 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/slice/mod.rs:644:26 [INFO] [stderr] 23: 0x5a0e0483b7f9 - as garando_syntax2::util::move_map::MoveMap>::move_flat_map::h302ae5468814e1ab [INFO] [stderr] at /opt/rustwide/workdir/src/util/move_map.rs:32:40 [INFO] [stderr] 24: 0x5a0e04980ef4 - garando_syntax2::fold::noop_fold_mod::h1dcca03822ca2d67 [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:1033:22 [INFO] [stderr] 25: 0x5a0e0499e8f1 - garando_syntax2::fold::Folder::fold_mod::h3283a7fac90bb109 [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:126:9 [INFO] [stderr] 26: 0x5a0e0498913d - garando_syntax2::fold::noop_fold_item_kind::hf2c8c72f817a710e [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:939:50 [INFO] [stderr] 27: 0x5a0e0499e281 - garando_syntax2::fold::Folder::fold_item_kind::he6c649b3dced1bce [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:70:9 [INFO] [stderr] 28: 0x5a0e0498c2fe - garando_syntax2::fold::noop_fold_item_simple::h4dda0d6cf193fe2b [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:1112:22 [INFO] [stderr] 29: 0x5a0e0499e4c1 - garando_syntax2::fold::Folder::fold_item_simple::h0bcd10e7134da898 [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:62:9 [INFO] [stderr] 30: 0x5a0e04985ec9 - garando_syntax2::fold::noop_fold_item::{{closure}}::hf9e76f31afa4cbcd [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:1092:39 [INFO] [stderr] 31: 0x5a0e048f933a - garando_syntax2::ptr::P::map::hf5275a425c8d0499 [INFO] [stderr] at /opt/rustwide/workdir/src/ptr.rs:80:27 [INFO] [stderr] 32: 0x5a0e04985e8d - garando_syntax2::fold::noop_fold_item::hce7a5fb00c99b778 [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:1092:24 [INFO] [stderr] 33: 0x5a0e0499ea08 - garando_syntax2::fold::Folder::fold_item::h0941d5f7aa5933e4 [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:58:9 [INFO] [stderr] 34: 0x5a0e049867a0 - garando_syntax2::fold::noop_fold_crate::hd1cfe544ecaa79b8 [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:1046:10 [INFO] [stderr] 35: 0x5a0e0499df91 - garando_syntax2::fold::Folder::fold_crate::hec9e080ce2d0852a [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:34:9 [INFO] [stderr] 36: 0x5a0e0499dcc9 - garando_syntax2::fold::tests::ident_transformation_in_defs::he2c37636cb51d81b [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:1494:36 [INFO] [stderr] 37: 0x5a0e0499df27 - garando_syntax2::fold::tests::ident_transformation_in_defs::{{closure}}::h755ef0cc15904d79 [INFO] [stderr] at /opt/rustwide/workdir/src/fold.rs:1487:38 [INFO] [stderr] 38: 0x5a0e04962076 - core::ops::function::FnOnce::call_once::h905810f44e3f5dc2 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 39: 0x5a0e049cc72b - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 40: 0x5a0e049cc72b - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stderr] 41: 0x5a0e049e071d - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stderr] 42: 0x5a0e049e071d - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 43: 0x5a0e049e071d - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stderr] 44: 0x5a0e049e071d - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stderr] 45: 0x5a0e049e071d - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stderr] 46: 0x5a0e049e071d - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stderr] 47: 0x5a0e049e071d - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stderr] 48: 0x5a0e049b9c64 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stderr] 49: 0x5a0e049b9c64 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stderr] 50: 0x5a0e049bd4ba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stderr] 51: 0x5a0e049bd4ba - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stderr] 52: 0x5a0e049bd4ba - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stderr] 53: 0x5a0e049bd4ba - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stderr] 54: 0x5a0e049bd4ba - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stderr] 55: 0x5a0e049bd4ba - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stderr] 56: 0x5a0e049bd4ba - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 57: 0x5a0e04a9493f - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stderr] 58: 0x5a0e04a9493f - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stderr] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stderr] 59: 0x7bca39e20aa4 - [INFO] [stderr] 60: 0x7bca39eada64 - clone [INFO] [stderr] 61: 0x0 - [INFO] [stderr] thread caused non-unwinding panic. aborting. [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/deps/garando_syntax2-da637e2d2eafe04d` (signal: 6, SIGABRT: process abort signal) [INFO] running `Command { std: "docker" "inspect" "32519ca32310d74fd46a3c167f3150d951b8a950537f0a98f4033a21169694d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32519ca32310d74fd46a3c167f3150d951b8a950537f0a98f4033a21169694d9", kill_on_drop: false }` [INFO] [stdout] 32519ca32310d74fd46a3c167f3150d951b8a950537f0a98f4033a21169694d9