[INFO] cloning repository https://github.com/besok/json-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/besok/json-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesok%2Fjson-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesok%2Fjson-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 304919c4e72af0a2ce65156bcbb8f664b5d80e2c [INFO] testing besok/json-generator against 1.52.1 for beta-1.52-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesok%2Fjson-generator" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/besok/json-generator on toolchain 1.52.1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.52.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/besok/json-generator [INFO] finished tweaking git repo https://github.com/besok/json-generator [INFO] tweaked toml for git repo https://github.com/besok/json-generator written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/besok/json-generator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.52.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d22b17305d748ecdeea30d14d34281727ab003fd32b9f27a834ede0a5b7bb89f [INFO] running `Command { std: "docker" "start" "-a" "d22b17305d748ecdeea30d14d34281727ab003fd32b9f27a834ede0a5b7bb89f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d22b17305d748ecdeea30d14d34281727ab003fd32b9f27a834ede0a5b7bb89f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d22b17305d748ecdeea30d14d34281727ab003fd32b9f27a834ede0a5b7bb89f", kill_on_drop: false }` [INFO] [stdout] d22b17305d748ecdeea30d14d34281727ab003fd32b9f27a834ede0a5b7bb89f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4e15729e67d99a38e4b418d34a37be5e816594a23a90ab22c416b835e3c03ef0 [INFO] running `Command { std: "docker" "start" "-a" "4e15729e67d99a38e4b418d34a37be5e816594a23a90ab22c416b835e3c03ef0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling curl v0.4.29 [INFO] [stderr] Compiling os_str_bytes v2.3.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling curl-sys v0.4.31+curl-7.70.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling simplelog v0.7.6 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Compiling clap v3.0.0-beta.1 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling json-generator-rand v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sender/file.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | panic!(format!("the output path {} to the file should point to a folder.", path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 21 | panic!("the output path {} to the file should point to a folder.", path); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sender/file.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | panic!(format!("the output path {} should point to a file not to a folder.", path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 75 | panic!("the output path {} should point to a file not to a folder.", path); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 48s [INFO] running `Command { std: "docker" "inspect" "4e15729e67d99a38e4b418d34a37be5e816594a23a90ab22c416b835e3c03ef0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e15729e67d99a38e4b418d34a37be5e816594a23a90ab22c416b835e3c03ef0", kill_on_drop: false }` [INFO] [stdout] 4e15729e67d99a38e4b418d34a37be5e816594a23a90ab22c416b835e3c03ef0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6caa622422c7ce5e0e10efa5ba7e9897cf4ec6a96627be9badd009f2eb4789c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a6caa622422c7ce5e0e10efa5ba7e9897cf4ec6a96627be9badd009f2eb4789c", kill_on_drop: false }` [INFO] [stderr] Compiling escargot v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sender/file.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | panic!(format!("the output path {} to the file should point to a folder.", path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 21 | panic!("the output path {} to the file should point to a folder.", path); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sender/file.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | panic!(format!("the output path {} should point to a file not to a folder.", path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 75 | panic!("the output path {} should point to a file not to a folder.", path); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling assert_cmd v0.10.2 [INFO] [stderr] Compiling json-generator-rand v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | => if_let!(g.next() => Value::String(el) [INFO] [stdout] | ____________________- [INFO] [stdout] 196 | | => assert_eq!(19, el.len()))); [INFO] [stdout] | |________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | / if_let!(gen("dt()") [INFO] [stdout] 194 | | => Ok(g) [INFO] [stdout] 195 | | => if_let!(g.next() => Value::String(el) [INFO] [stdout] 196 | | => assert_eq!(19, el.len()))); [INFO] [stdout] | |__________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | => if_let!(g.next() => Value::String(el) [INFO] [stdout] | ____________________- [INFO] [stdout] 201 | | => assert_eq!(19, el.len()))); [INFO] [stdout] | |________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | / if_let!(gen(" dt ( ) ") [INFO] [stdout] 199 | | => Ok(g) [INFO] [stdout] 200 | | => if_let!(g.next() => Value::String(el) [INFO] [stdout] 201 | | => assert_eq!(19, el.len()))); [INFO] [stdout] | |__________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:205:20 [INFO] [stdout] | [INFO] [stdout] 205 | => if_let!(g.next() => Value::String(el) [INFO] [stdout] | ____________________- [INFO] [stdout] 206 | | => { [INFO] [stdout] 207 | | println!("{}",el); [INFO] [stdout] 208 | | assert_eq!(10, el.len()) [INFO] [stdout] 209 | | })); [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | / if_let!(gen("dt( %Y-%m-%d )") [INFO] [stdout] 204 | | => Ok(g) [INFO] [stdout] 205 | | => if_let!(g.next() => Value::String(el) [INFO] [stdout] 206 | | => { [INFO] [stdout] 207 | | println!("{}",el); [INFO] [stdout] 208 | | assert_eq!(10, el.len()) [INFO] [stdout] 209 | | })); [INFO] [stdout] | |________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:214:43 [INFO] [stdout] | [INFO] [stdout] 214 | if_let!(gen("uuid()") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 36))); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | if_let!(gen("uuid()") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 36))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:215:47 [INFO] [stdout] | [INFO] [stdout] 215 | if_let!(gen(" uuid ( ) ") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 36))); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | if_let!(gen(" uuid ( ) ") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 36))); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | if_let!(gen("bool()") => Ok(g) => assert!(g.next().is_boolean())); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | / if_let!(gen("seq(1)") => Ok(g) => { [INFO] [stdout] 226 | | assert_eq!(Some(2), g.next().as_i64()); [INFO] [stdout] 227 | | assert_eq!(Some(3), g.next().as_i64()); [INFO] [stdout] 228 | | assert_eq!(Some(4), g.next().as_i64()); [INFO] [stdout] 229 | | }); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / if_let!(gen("seq(-1)") => Ok(g) => { [INFO] [stdout] 232 | | assert_eq!(Some(0), g.next().as_i64()); [INFO] [stdout] 233 | | assert_eq!(Some(1), g.next().as_i64()); [INFO] [stdout] 234 | | assert_eq!(Some(2), g.next().as_i64()); [INFO] [stdout] 235 | | }); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | / if_let!(gen("seq(-1,-1)") => Ok(g) => { [INFO] [stdout] 238 | | assert_eq!(Some(-2), g.next().as_i64()); [INFO] [stdout] 239 | | assert_eq!(Some(-3), g.next().as_i64()); [INFO] [stdout] 240 | | assert_eq!(Some(-4), g.next().as_i64()); [INFO] [stdout] 241 | | }); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | / if_let!(gen("seq(10,-10)") => Ok(g) => { [INFO] [stdout] 243 | | assert_eq!(Some(0), g.next().as_i64()); [INFO] [stdout] 244 | | assert_eq!(Some(-10), g.next().as_i64()); [INFO] [stdout] 245 | | assert_eq!(Some(-20), g.next().as_i64()); [INFO] [stdout] 246 | | }); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:251:44 [INFO] [stdout] | [INFO] [stdout] 251 | if_let!(gen("str(10)") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 10))); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | if_let!(gen("str(10)") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 10))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:252:45 [INFO] [stdout] | [INFO] [stdout] 252 | if_let!(gen("str(abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 0))); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | if_let!(gen("str(abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 0))); [INFO] [stdout] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:253:48 [INFO] [stdout] | [INFO] [stdout] 253 | if_let!(gen("str(10,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stdout] | ________________________________________________- [INFO] [stdout] 254 | | assert_eq!(el.len(), 13); [INFO] [stdout] 255 | | assert!(el.starts_with("abc")); [INFO] [stdout] 256 | | })); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | / if_let!(gen("str(10,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stdout] 254 | | assert_eq!(el.len(), 13); [INFO] [stdout] 255 | | assert!(el.starts_with("abc")); [INFO] [stdout] 256 | | })); [INFO] [stdout] | |________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:257:49 [INFO] [stdout] | [INFO] [stdout] 257 | if_let!(gen("str(10,,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stdout] | _________________________________________________- [INFO] [stdout] 258 | | assert_eq!(el.len(), 13); [INFO] [stdout] 259 | | assert!(el.ends_with("abc")); [INFO] [stdout] 260 | | })); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:257:9 [INFO] [stdout] | [INFO] [stdout] 257 | / if_let!(gen("str(10,,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stdout] 258 | | assert_eq!(el.len(), 13); [INFO] [stdout] 259 | | assert!(el.ends_with("abc")); [INFO] [stdout] 260 | | })); [INFO] [stdout] | |________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:261:52 [INFO] [stdout] | [INFO] [stdout] 261 | if_let!(gen("str(10,cba,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stdout] | ____________________________________________________- [INFO] [stdout] 262 | | assert_eq!(el.len(), 16); [INFO] [stdout] 263 | | assert!(el.ends_with("abc")); [INFO] [stdout] 264 | | assert!(el.starts_with("cba")); [INFO] [stdout] 265 | | })); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | / if_let!(gen("str(10,cba,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stdout] 262 | | assert_eq!(el.len(), 16); [INFO] [stdout] 263 | | assert!(el.ends_with("abc")); [INFO] [stdout] 264 | | assert!(el.starts_with("cba")); [INFO] [stdout] 265 | | })); [INFO] [stdout] | |________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:266:66 [INFO] [stdout] | [INFO] [stdout] 266 | if_let!(gen("str(0,jimmy_smith,@gmail.com)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stdout] | __________________________________________________________________- [INFO] [stdout] 267 | | assert_eq!(el, "jimmy_smith@gmail.com"); [INFO] [stdout] 268 | | })); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | / if_let!(gen("str(0,jimmy_smith,@gmail.com)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stdout] 267 | | assert_eq!(el, "jimmy_smith@gmail.com"); [INFO] [stdout] 268 | | })); [INFO] [stdout] | |________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:269:68 [INFO] [stdout] | [INFO] [stdout] 269 | if_let!(gen("str(0,'jimmy_smith',@gmail.com)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stdout] | ____________________________________________________________________- [INFO] [stdout] 270 | | assert_eq!(el, "jimmy_smith@gmail.com"); [INFO] [stdout] 271 | | })); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | / if_let!(gen("str(0,'jimmy_smith',@gmail.com)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stdout] 270 | | assert_eq!(el, "jimmy_smith@gmail.com"); [INFO] [stdout] 271 | | })); [INFO] [stdout] | |________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | / if_let!(gen("int(0,10)") => Ok(g) => { [INFO] [stdout] 277 | | for _ in (0..1000).into_iter() { [INFO] [stdout] 278 | | let n = g.next().as_i64().unwrap(); [INFO] [stdout] 279 | | assert!(n >-1 && n < 11 ) [INFO] [stdout] 280 | | } [INFO] [stdout] 281 | | }); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:283:9 [INFO] [stdout] | [INFO] [stdout] 283 | / if_let!(gen("int(-10,11)") => Ok(g) => { [INFO] [stdout] 284 | | for _ in (0..1000).into_iter() { [INFO] [stdout] 285 | | let n = g.next().as_i64().unwrap(); [INFO] [stdout] 286 | | assert!(n > -11 && n < 11 ) [INFO] [stdout] 287 | | } [INFO] [stdout] 288 | | }); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | / if_let!(gen("int(-10)") => Ok(g) => { [INFO] [stdout] 290 | | for _ in (0..1000).into_iter() { [INFO] [stdout] 291 | | let n = g.next().as_i64().unwrap(); [INFO] [stdout] 292 | | assert!(n > -11 && n < 1000 ) [INFO] [stdout] 293 | | } [INFO] [stdout] 294 | | }); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | / if_let!(gen("int()") => Ok(g) => { [INFO] [stdout] 296 | | for _ in (0..1000).into_iter() { [INFO] [stdout] 297 | | let n = g.next().as_i64().unwrap(); [INFO] [stdout] 298 | | assert!(n > -1 && n < 1000 ) [INFO] [stdout] 299 | | } [INFO] [stdout] 300 | | }); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | / if_let!(gen("int(,10)") => Ok(g) => { [INFO] [stdout] 302 | | for _ in (0..1000).into_iter() { [INFO] [stdout] 303 | | let n = g.next().as_i64().unwrap(); [INFO] [stdout] 304 | | assert!(n > -1 && n < 10 ) [INFO] [stdout] 305 | | } [INFO] [stdout] 306 | | }); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | => if_let!(g.next() => Value::String(el) [INFO] [stdout] | ____________________- [INFO] [stdout] 313 | | => assert_eq!("abcd".contains(el.as_str()), true))); [INFO] [stdout] | |__________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | / if_let!(gen(r#"str_from_list(a,b,c,d)"#) => Ok(g) [INFO] [stdout] 312 | | => if_let!(g.next() => Value::String(el) [INFO] [stdout] 313 | | => assert_eq!("abcd".contains(el.as_str()), true))); [INFO] [stdout] | |____________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:316:20 [INFO] [stdout] | [INFO] [stdout] 316 | => if_let!(g.next() => Value::String(el) [INFO] [stdout] | ____________________- [INFO] [stdout] 317 | | => assert_eq!("".contains(el.as_str()), true))); [INFO] [stdout] | |______________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | / if_let!(gen(r#"str_from_list(,,,)"#) => Ok(g) [INFO] [stdout] 316 | | => if_let!(g.next() => Value::String(el) [INFO] [stdout] 317 | | => assert_eq!("".contains(el.as_str()), true))); [INFO] [stdout] | |________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:319:20 [INFO] [stdout] | [INFO] [stdout] 319 | => if_let!(g.next() => Value::String(el) [INFO] [stdout] | ____________________- [INFO] [stdout] 320 | | => assert_eq!("abcbcacdb".contains(el.as_str()), true))); [INFO] [stdout] | |_______________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | / if_let!(gen(r#"str_from_list(abc , bca , cdb)"#) => Ok(g) [INFO] [stdout] 319 | | => if_let!(g.next() => Value::String(el) [INFO] [stdout] 320 | | => assert_eq!("abcbcacdb".contains(el.as_str()), true))); [INFO] [stdout] | |_________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:322:20 [INFO] [stdout] | [INFO] [stdout] 322 | => if_let!(g.next() => Value::String(el) [INFO] [stdout] | ____________________- [INFO] [stdout] 323 | | => assert_eq!(el,""))); [INFO] [stdout] | |_____________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | / if_let!(gen(r#"str_from_list( )"#) => Ok(g) [INFO] [stdout] 322 | | => if_let!(g.next() => Value::String(el) [INFO] [stdout] 323 | | => assert_eq!(el,""))); [INFO] [stdout] | |_______________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | / if_let!(gen(r#"int_from_list(1,2,3)"#) => Ok(g) [INFO] [stdout] 329 | | => { [INFO] [stdout] 330 | | let n = g.next().as_i64().unwrap(); [INFO] [stdout] 331 | | assert!(vec![1,2,3].contains(&n)); [INFO] [stdout] 332 | | }); [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | if_let!(gen(r#"int_from_list()"#) => Ok(g) => assert_eq!(g.next(),Value::Null)); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | / if_let!(gen(r#"int_from_list(a,b,c)"#) => Err(e) [INFO] [stdout] 335 | | => { [INFO] [stdout] 336 | | assert!(e.to_string().contains("int_from_list(a,b,c)")); [INFO] [stdout] 337 | | }) [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | => if_let!(g.next() => Value::String(el) [INFO] [stdout] | ____________________- [INFO] [stdout] 345 | | => assert_eq!("BerlinPragueMoscowLondonHelsinkiRomeBarcelonaViennaAmsterdamDublin" [INFO] [stdout] 346 | | .contains(el.as_str()), true))); [INFO] [stdout] | |_________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | / if_let!(gen(r#"str_from_file(jsons/cities, \n)"#) [INFO] [stdout] 343 | | => Ok(g) [INFO] [stdout] 344 | | => if_let!(g.next() => Value::String(el) [INFO] [stdout] 345 | | => assert_eq!("BerlinPragueMoscowLondonHelsinkiRomeBarcelonaViennaAmsterdamDublin" [INFO] [stdout] 346 | | .contains(el.as_str()), true))); [INFO] [stdout] | |___________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:349:20 [INFO] [stdout] | [INFO] [stdout] 349 | => if_let!(g.next() => Value::String(el) [INFO] [stdout] | ____________________- [INFO] [stdout] 350 | | => assert_eq!("123456789" [INFO] [stdout] 351 | | .contains(el.as_str()), true))); [INFO] [stdout] | |_________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:347:9 [INFO] [stdout] | [INFO] [stdout] 347 | / if_let!(gen(r#"str_from_file(jsons/numbers,,)"#) [INFO] [stdout] 348 | | => Ok(g) [INFO] [stdout] 349 | | => if_let!(g.next() => Value::String(el) [INFO] [stdout] 350 | | => assert_eq!("123456789" [INFO] [stdout] 351 | | .contains(el.as_str()), true))); [INFO] [stdout] | |___________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | if_let!(gen(r#"str_from_file()"#) => Err(el) => assert!(el.to_string().contains("str_from_file"))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:354:9 [INFO] [stdout] | [INFO] [stdout] 354 | if_let!(gen(r#"str_from_file(f,)"#) => Err(el) => assert!(el.to_string().contains("str_from_file"))); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | / if_let!(gen(r#"int_from_file(jsons/numbers_negate,,)"#) [INFO] [stdout] 360 | | => Ok(g) [INFO] [stdout] 361 | | => { [INFO] [stdout] 362 | | for _ in (1..100).into_iter(){ [INFO] [stdout] ... | [INFO] [stdout] 365 | | } [INFO] [stdout] 366 | | }); [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | / if_let!(gen(r#"int_from_file(jsons/numbers,,)"#) [INFO] [stdout] 369 | | => Ok(g) [INFO] [stdout] 370 | | => { [INFO] [stdout] 371 | | let n = g.next().as_i64().unwrap(); [INFO] [stdout] 372 | | assert!(n > 0 && n < 10) [INFO] [stdout] 373 | | }); [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | / if_let!(gen(r#"int_from_file(jsons/cities, \n)"#) [INFO] [stdout] 375 | | => Err(e) [INFO] [stdout] 376 | | => assert!(e.to_string().contains("int_from_file"))); [INFO] [stdout] | |_____________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:377:9 [INFO] [stdout] | [INFO] [stdout] 377 | if_let!(gen(r#"int_from_file()"#) => Err(el) => assert!(el.to_string().contains("int_from_file"))); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stdout] | ________________- [INFO] [stdout] 385 | | assert_eq!(elems.len(),1); [INFO] [stdout] 386 | | assert!(!elems.get(0).unwrap().is_null()); [INFO] [stdout] 387 | | elems.iter().flat_map(|e|e.as_i64()).for_each(|e|assert!(e > 0 && e < 5)) [INFO] [stdout] 388 | | })); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | / if_let!( [INFO] [stdout] 383 | | gen(r#"int_from_list(1,2,3,4) -> array()"#) => Ok(g) [INFO] [stdout] 384 | | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stdout] 385 | | assert_eq!(elems.len(),1); [INFO] [stdout] 386 | | assert!(!elems.get(0).unwrap().is_null()); [INFO] [stdout] 387 | | elems.iter().flat_map(|e|e.as_i64()).for_each(|e|assert!(e > 0 && e < 5)) [INFO] [stdout] 388 | | })); [INFO] [stdout] | |________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:392:16 [INFO] [stdout] | [INFO] [stdout] 392 | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stdout] | ________________- [INFO] [stdout] 393 | | assert!(!elems.get(0).unwrap().is_null()); [INFO] [stdout] 394 | | assert_eq!(elems.len(),3); [INFO] [stdout] 395 | | elems [INFO] [stdout] ... | [INFO] [stdout] 398 | | .for_each(|e|assert!(e > 0 && e < 5)) [INFO] [stdout] 399 | | })); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | / if_let!( [INFO] [stdout] 391 | | generator(r#"int_from_list(1,2,3,4) -> array(3)"#) => Ok(g) [INFO] [stdout] 392 | | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stdout] 393 | | assert!(!elems.get(0).unwrap().is_null()); [INFO] [stdout] ... | [INFO] [stdout] 398 | | .for_each(|e|assert!(e > 0 && e < 5)) [INFO] [stdout] 399 | | })); [INFO] [stdout] | |________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:403:16 [INFO] [stdout] | [INFO] [stdout] 403 | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stdout] | ________________- [INFO] [stdout] 404 | | elems [INFO] [stdout] 405 | | .iter() [INFO] [stdout] 406 | | .flat_map(|e|e.as_str()) [INFO] [stdout] 407 | | .for_each(|e|assert!("aaa'bbb'ccc".contains(e))) [INFO] [stdout] 408 | | })); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | / if_let!( [INFO] [stdout] 402 | | generator(r#"str_from_list(aaa,'bbb',ccc) -> array(3)"#) => Ok(g) [INFO] [stdout] 403 | | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stdout] 404 | | elems [INFO] [stdout] ... | [INFO] [stdout] 407 | | .for_each(|e|assert!("aaa'bbb'ccc".contains(e))) [INFO] [stdout] 408 | | })); [INFO] [stdout] | |________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:412:16 [INFO] [stdout] | [INFO] [stdout] 412 | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stdout] | ________________- [INFO] [stdout] 413 | | assert_eq!(elems.len(),1); [INFO] [stdout] 414 | | assert!(!elems.get(0).unwrap().is_null()); [INFO] [stdout] 415 | | elems [INFO] [stdout] ... | [INFO] [stdout] 421 | | }) [INFO] [stdout] 422 | | })); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/parser/generators.rs:410:9 [INFO] [stdout] | [INFO] [stdout] 410 | / if_let!( [INFO] [stdout] 411 | | generator(r#"seq(1) -> array(3) -> array()"#) => Ok(g) [INFO] [stdout] 412 | | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stdout] 413 | | assert_eq!(elems.len(),1); [INFO] [stdout] ... | [INFO] [stdout] 421 | | }) [INFO] [stdout] 422 | | })); [INFO] [stdout] | |________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | if_let!(gen(Null{}).next() => Value::Null => ()) [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:284:9 [INFO] [stdout] | [INFO] [stdout] 284 | if_let!(gen(UUID {}).next() => Value::String(el) => assert_eq!(el.len(), 36)); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | if_let!(g.next().as_i64() => Some(el) => assert!(el >= -1000 && el <= 1000)); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | if_let!(g.next().as_i64() => Some(el) => assert!(el >= -1000 && el <= 1000)); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | if_let!(g.next().as_i64() => Some(el) => assert!(el >= -1000 && el <= 1000)); [INFO] [stdout] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | if_let!(gen(RandomString::new(10)).next() => Value::String(el) => assert_eq!(el.len(), 10)); [INFO] [stdout] | -------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 313 | / if_let!( [INFO] [stdout] 314 | | g.next() => Value::String(el) => { [INFO] [stdout] 315 | | assert_eq!(el.len(), 16); [INFO] [stdout] 316 | | assert!(el.starts_with("abc")); [INFO] [stdout] 317 | | assert!(el.ends_with("cba")); [INFO] [stdout] 318 | | } [INFO] [stdout] 319 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | panic!(format!("the left {:?} is not equal to the right",$left)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:325:9 [INFO] [stdout] | [INFO] [stdout] 325 | if_let!(x.next() => x.next() => ()); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 16 | panic!("the left {:?} is not equal to the right",$left) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | / if_let!(x.next_value() => Value::String(el) => { [INFO] [stdout] 329 | | print!("{}", el); [INFO] [stdout] 330 | | assert_eq!(el.len(), 19); [INFO] [stdout] 331 | | }); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | / if_let!(gn.next() => Value::Number(el) => { [INFO] [stdout] 338 | | let el = el.as_i64().unwrap(); [INFO] [stdout] 339 | | assert_eq!(el > 0, el < 10) [INFO] [stdout] 340 | | }); [INFO] [stdout] | |___________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | if_let!(g => Ok(g) => if_let!(g.next() => Value::Number(el) => { [INFO] [stdout] | _______________________________- [INFO] [stdout] 353 | | let el = el.as_i64().unwrap(); [INFO] [stdout] 354 | | assert!(el > 0 && el < 10) [INFO] [stdout] 355 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | / if_let!(g => Ok(g) => if_let!(g.next() => Value::Number(el) => { [INFO] [stdout] 353 | | let el = el.as_i64().unwrap(); [INFO] [stdout] 354 | | assert!(el > 0 && el < 10) [INFO] [stdout] 355 | | })); [INFO] [stdout] | |____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:360:31 [INFO] [stdout] | [INFO] [stdout] 360 | if_let!(g => Ok(g) => if_let!(g.next() => Value::String(city) => { [INFO] [stdout] | _______________________________- [INFO] [stdout] 361 | | assert!("BerlinPragueMoscowLondonHelsinkiRomeBarcelonaViennaAmsterdamDublin".contains(&city)) [INFO] [stdout] 362 | | })); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | / if_let!(g => Ok(g) => if_let!(g.next() => Value::String(city) => { [INFO] [stdout] 361 | | assert!("BerlinPragueMoscowLondonHelsinkiRomeBarcelonaViennaAmsterdamDublin".contains(&city)) [INFO] [stdout] 362 | | })); [INFO] [stdout] | |____________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | / if_let!(e => Value::Number(el) => { [INFO] [stdout] 406 | | let el = el.as_i64().unwrap(); [INFO] [stdout] 407 | | assert_eq!(el > 0 && el < 100, true) [INFO] [stdout] 408 | | }) [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/generators.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | / if_let!( [INFO] [stdout] 402 | | gen.next() => Value::Array(elems) => { [INFO] [stdout] 403 | | assert_eq!(elems.len(), 3); [INFO] [stdout] 404 | | for e in elems.into_iter() { [INFO] [stdout] ... | [INFO] [stdout] 410 | | } [INFO] [stdout] 411 | | ); [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | panic!(format!("the left {:?} is not equal to the right",$left)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/generator/mod.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | if_let!(f.next() => f.next() => assert_eq!(f.next(),Value::Null)) [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 16 | panic!("the left {:?} is not equal to the right",$left) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sender/file.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | panic!(format!("the output path {} to the file should point to a folder.", path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 21 | panic!("the output path {} to the file should point to a folder.", path); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/sender/file.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | panic!(format!("the output path {} should point to a file not to a folder.", path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 75 | panic!("the output path {} should point to a file not to a folder.", path); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | / if_let!( [INFO] [stdout] 125 | | generate(&mut js_template,1,true,&mut vec![]).get(0) [INFO] [stdout] 126 | | => Some(Value::Object(map)) [INFO] [stdout] 127 | | => assert!(map.get("id").and_then(|e|e.as_str()).unwrap().len() == 36 )); [INFO] [stdout] | |_________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | / if_let!(values.get("description") => Some(Value::String(v)) [INFO] [stdout] 168 | | => assert_eq!(v,"the example how to create a json template to generate new jsons")); [INFO] [stdout] | |____________________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | / ... if_let!(rec_values.get("type") => Some(Value::String(v)) [INFO] [stdout] 171 | | ... => assert!("businesstechnicalanalytical".contains(v))); [INFO] [stdout] | |_________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | ... if_let!(rec_values.get("is_active") => Some(Value::Bool(_)) => ()); [INFO] [stdout] | ------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:173:30 [INFO] [stdout] | [INFO] [stdout] 173 | / ... if_let!(rec_values.get("name") => Some(Value::String(v)) => { [INFO] [stdout] 174 | | ... assert_eq!(v.len(),18); [INFO] [stdout] 175 | | ... assert!(v.starts_with("customer")) [INFO] [stdout] 176 | | ... }); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:177:30 [INFO] [stdout] | [INFO] [stdout] 177 | / ... if_let!(rec_values.get("email") => Some(Value::String(v)) => { [INFO] [stdout] 178 | | ... assert_eq!(v.len(),15); [INFO] [stdout] 179 | | ... assert!(v.ends_with("@gmail.com")) [INFO] [stdout] 180 | | ... }); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:181:30 [INFO] [stdout] | [INFO] [stdout] 181 | / ... if_let!(rec_values.get("code") => Some(Value::String(v)) => { [INFO] [stdout] 182 | | ... assert_eq!(v.len(),11); [INFO] [stdout] 183 | | ... assert!(v.ends_with("(code)")) [INFO] [stdout] 184 | | ... }); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:185:31 [INFO] [stdout] | [INFO] [stdout] 185 | ... if_let!(rec_values.get("dsc") => Some(Value::String(v)) => assert_eq!(v.len(),20)); [INFO] [stdout] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:186:31 [INFO] [stdout] | [INFO] [stdout] 186 | / ... if_let!(rec_values.get("id_parent") => Some(Value::Number(n)) => { [INFO] [stdout] 187 | | ... assert!(vec![1,2,3,4,5,6,7].contains(&n.as_i64().unwrap())) [INFO] [stdout] 188 | | ... }); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:189:31 [INFO] [stdout] | [INFO] [stdout] 189 | / ... if_let!(rec_values.get("related_records") => Some(Value::Array(elems)) => { [INFO] [stdout] 190 | | ... assert_eq!(elems.len(),5); [INFO] [stdout] 191 | | ... for el in elems.iter(){ [INFO] [stdout] 192 | | ... let el = el.as_i64().unwrap(); [INFO] [stdout] 193 | | ... assert!(el > 0 && el < 1000) [INFO] [stdout] 194 | | ... } [INFO] [stdout] 195 | | ... }); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | / ... if_let!(elems.get("country") => Some(Value::String(v)) [INFO] [stdout] 198 | | ... => assert!("USAEnglandIrelandGermanyRussiaJapanAustralia".contains(v))); [INFO] [stdout] | |__________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:199:33 [INFO] [stdout] | [INFO] [stdout] 199 | / ... if_let!(elems.get("city") => Some(Value::String(v)) [INFO] [stdout] 200 | | ... => assert!("BerlinPragueMoscowLondonHelsinkiRomeBarcelonaViennaAmsterdamDublin".contains(v))); [INFO] [stdout] | |________________________________________________________________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:201:33 [INFO] [stdout] | [INFO] [stdout] 201 | / ... if_let!(elems.get("house") => Some(n) => { [INFO] [stdout] 202 | | ... let el = n.as_i64().unwrap(); [INFO] [stdout] 203 | | ... assert!(el > 0 && el < 1000) [INFO] [stdout] 204 | | ... }); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:196:31 [INFO] [stdout] | [INFO] [stdout] 196 | / ... if_let!(rec_values.get("geo") => Some(Value::Object(elems)) => { [INFO] [stdout] 197 | | ... if_let!(elems.get("country") => Some(Value::String(v)) [INFO] [stdout] 198 | | ... => assert!("USAEnglandIrelandGermanyRussiaJapanAustralia".contains(v))); [INFO] [stdout] 199 | | ... if_let!(elems.get("city") => Some(Value::String(v)) [INFO] [stdout] ... | [INFO] [stdout] 204 | | ... }); [INFO] [stdout] 205 | | ... }); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | ... if_let!(elems.get("id") => Some(Value::String(v)) => assert_eq!(v.len(), 36)); [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:208:33 [INFO] [stdout] | [INFO] [stdout] 208 | / ... if_let!(elems.get("index") => Some(n) => { [INFO] [stdout] 209 | | ... let el = n.as_i64().unwrap(); [INFO] [stdout] 210 | | ... assert_eq!(el,1) [INFO] [stdout] 211 | | ... }); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 212 | / ... if_let!(elems.get("update_tm") => Some(Value::String(v)) => { [INFO] [stdout] 213 | | ... let time = Utc::now(); [INFO] [stdout] 214 | | ... assert_eq!(v,&time.format("%Y-%m-%d %H:%M:%S").to_string()) [INFO] [stdout] 215 | | ... }); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | / ... if_let!(rec_values.get("technical") => Some(Value::Object(elems)) => { [INFO] [stdout] 207 | | ... if_let!(elems.get("id") => Some(Value::String(v)) => assert_eq!(v.len(), 36)); [INFO] [stdout] 208 | | ... if_let!(elems.get("index") => Some(n) => { [INFO] [stdout] 209 | | ... let el = n.as_i64().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 215 | | ... }); [INFO] [stdout] 216 | | ... }); [INFO] [stdout] | |_________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | / if_let!(values.get("record") => Some(Value::Object(rec_values)) => { [INFO] [stdout] 170 | | if_let!(rec_values.get("type") => Some(Value::String(v)) [INFO] [stdout] 171 | | => assert!("businesstechnicalanalytical".contains(v))); [INFO] [stdout] 172 | | if_let!(rec_values.get("is_active") => Some(Value::Bool(_)) => ()); [INFO] [stdout] ... | [INFO] [stdout] 218 | | } [INFO] [stdout] 219 | | ) [INFO] [stdout] | |_____________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/macro.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | / if_let!( [INFO] [stdout] 165 | | json.get(0) [INFO] [stdout] 166 | | => Some(Value::Object(values)) => { [INFO] [stdout] 167 | | if_let!(values.get("description") => Some(Value::String(v)) [INFO] [stdout] ... | [INFO] [stdout] 222 | | [INFO] [stdout] 223 | | ); [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 102 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 24.44s [INFO] running `Command { std: "docker" "inspect" "a6caa622422c7ce5e0e10efa5ba7e9897cf4ec6a96627be9badd009f2eb4789c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6caa622422c7ce5e0e10efa5ba7e9897cf4ec6a96627be9badd009f2eb4789c", kill_on_drop: false }` [INFO] [stdout] a6caa622422c7ce5e0e10efa5ba7e9897cf4ec6a96627be9badd009f2eb4789c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b664021a38e04b75faf8d4608a7703b6539a344192027e4a9e35f36febb689e4 [INFO] running `Command { std: "docker" "start" "-a" "b664021a38e04b75faf8d4608a7703b6539a344192027e4a9e35f36febb689e4", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/sender/file.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | panic!(format!("the output path {} to the file should point to a folder.", path)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 21 | panic!("the output path {} to the file should point to a folder.", path); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/sender/file.rs:75:28 [INFO] [stderr] | [INFO] [stderr] 75 | panic!(format!("the output path {} should point to a file not to a folder.", path)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 75 | panic!("the output path {} should point to a file not to a folder.", path); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:195:20 [INFO] [stderr] | [INFO] [stderr] 195 | => if_let!(g.next() => Value::String(el) [INFO] [stderr] | ____________________- [INFO] [stderr] 196 | | => assert_eq!(19, el.len()))); [INFO] [stderr] | |________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:193:9 [INFO] [stderr] | [INFO] [stderr] 193 | / if_let!(gen("dt()") [INFO] [stderr] 194 | | => Ok(g) [INFO] [stderr] 195 | | => if_let!(g.next() => Value::String(el) [INFO] [stderr] 196 | | => assert_eq!(19, el.len()))); [INFO] [stderr] | |__________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:200:20 [INFO] [stderr] | [INFO] [stderr] 200 | => if_let!(g.next() => Value::String(el) [INFO] [stderr] | ____________________- [INFO] [stderr] 201 | | => assert_eq!(19, el.len()))); [INFO] [stderr] | |________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:198:9 [INFO] [stderr] | [INFO] [stderr] 198 | / if_let!(gen(" dt ( ) ") [INFO] [stderr] 199 | | => Ok(g) [INFO] [stderr] 200 | | => if_let!(g.next() => Value::String(el) [INFO] [stderr] 201 | | => assert_eq!(19, el.len()))); [INFO] [stderr] | |__________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:205:20 [INFO] [stderr] | [INFO] [stderr] 205 | => if_let!(g.next() => Value::String(el) [INFO] [stderr] | ____________________- [INFO] [stderr] 206 | | => { [INFO] [stderr] 207 | | println!("{}",el); [INFO] [stderr] 208 | | assert_eq!(10, el.len()) [INFO] [stderr] 209 | | })); [INFO] [stderr] | |______________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | / if_let!(gen("dt( %Y-%m-%d )") [INFO] [stderr] 204 | | => Ok(g) [INFO] [stderr] 205 | | => if_let!(g.next() => Value::String(el) [INFO] [stderr] 206 | | => { [INFO] [stderr] 207 | | println!("{}",el); [INFO] [stderr] 208 | | assert_eq!(10, el.len()) [INFO] [stderr] 209 | | })); [INFO] [stderr] | |________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:214:43 [INFO] [stderr] | [INFO] [stderr] 214 | if_let!(gen("uuid()") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 36))); [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:214:9 [INFO] [stderr] | [INFO] [stderr] 214 | if_let!(gen("uuid()") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 36))); [INFO] [stderr] | ------------------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:215:47 [INFO] [stderr] | [INFO] [stderr] 215 | if_let!(gen(" uuid ( ) ") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 36))); [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:215:9 [INFO] [stderr] | [INFO] [stderr] 215 | if_let!(gen(" uuid ( ) ") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 36))); [INFO] [stderr] | ---------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:220:9 [INFO] [stderr] | [INFO] [stderr] 220 | if_let!(gen("bool()") => Ok(g) => assert!(g.next().is_boolean())); [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:225:9 [INFO] [stderr] | [INFO] [stderr] 225 | / if_let!(gen("seq(1)") => Ok(g) => { [INFO] [stderr] 226 | | assert_eq!(Some(2), g.next().as_i64()); [INFO] [stderr] 227 | | assert_eq!(Some(3), g.next().as_i64()); [INFO] [stderr] 228 | | assert_eq!(Some(4), g.next().as_i64()); [INFO] [stderr] 229 | | }); [INFO] [stderr] | |___________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:231:9 [INFO] [stderr] | [INFO] [stderr] 231 | / if_let!(gen("seq(-1)") => Ok(g) => { [INFO] [stderr] 232 | | assert_eq!(Some(0), g.next().as_i64()); [INFO] [stderr] 233 | | assert_eq!(Some(1), g.next().as_i64()); [INFO] [stderr] 234 | | assert_eq!(Some(2), g.next().as_i64()); [INFO] [stderr] 235 | | }); [INFO] [stderr] | |___________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:237:9 [INFO] [stderr] | [INFO] [stderr] 237 | / if_let!(gen("seq(-1,-1)") => Ok(g) => { [INFO] [stderr] 238 | | assert_eq!(Some(-2), g.next().as_i64()); [INFO] [stderr] 239 | | assert_eq!(Some(-3), g.next().as_i64()); [INFO] [stderr] 240 | | assert_eq!(Some(-4), g.next().as_i64()); [INFO] [stderr] 241 | | }); [INFO] [stderr] | |___________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:242:9 [INFO] [stderr] | [INFO] [stderr] 242 | / if_let!(gen("seq(10,-10)") => Ok(g) => { [INFO] [stderr] 243 | | assert_eq!(Some(0), g.next().as_i64()); [INFO] [stderr] 244 | | assert_eq!(Some(-10), g.next().as_i64()); [INFO] [stderr] 245 | | assert_eq!(Some(-20), g.next().as_i64()); [INFO] [stderr] 246 | | }); [INFO] [stderr] | |___________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:251:44 [INFO] [stderr] | [INFO] [stderr] 251 | if_let!(gen("str(10)") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 10))); [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:251:9 [INFO] [stderr] | [INFO] [stderr] 251 | if_let!(gen("str(10)") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 10))); [INFO] [stderr] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:252:45 [INFO] [stderr] | [INFO] [stderr] 252 | if_let!(gen("str(abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 0))); [INFO] [stderr] | ----------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:252:9 [INFO] [stderr] | [INFO] [stderr] 252 | if_let!(gen("str(abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => assert_eq!(el.len(), 0))); [INFO] [stderr] | ------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:253:48 [INFO] [stderr] | [INFO] [stderr] 253 | if_let!(gen("str(10,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stderr] | ________________________________________________- [INFO] [stderr] 254 | | assert_eq!(el.len(), 13); [INFO] [stderr] 255 | | assert!(el.starts_with("abc")); [INFO] [stderr] 256 | | })); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:253:9 [INFO] [stderr] | [INFO] [stderr] 253 | / if_let!(gen("str(10,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stderr] 254 | | assert_eq!(el.len(), 13); [INFO] [stderr] 255 | | assert!(el.starts_with("abc")); [INFO] [stderr] 256 | | })); [INFO] [stderr] | |________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:257:49 [INFO] [stderr] | [INFO] [stderr] 257 | if_let!(gen("str(10,,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stderr] | _________________________________________________- [INFO] [stderr] 258 | | assert_eq!(el.len(), 13); [INFO] [stderr] 259 | | assert!(el.ends_with("abc")); [INFO] [stderr] 260 | | })); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:257:9 [INFO] [stderr] | [INFO] [stderr] 257 | / if_let!(gen("str(10,,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stderr] 258 | | assert_eq!(el.len(), 13); [INFO] [stderr] 259 | | assert!(el.ends_with("abc")); [INFO] [stderr] 260 | | })); [INFO] [stderr] | |________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:261:52 [INFO] [stderr] | [INFO] [stderr] 261 | if_let!(gen("str(10,cba,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stderr] | ____________________________________________________- [INFO] [stderr] 262 | | assert_eq!(el.len(), 16); [INFO] [stderr] 263 | | assert!(el.ends_with("abc")); [INFO] [stderr] 264 | | assert!(el.starts_with("cba")); [INFO] [stderr] 265 | | })); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:261:9 [INFO] [stderr] | [INFO] [stderr] 261 | / if_let!(gen("str(10,cba,abc)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stderr] 262 | | assert_eq!(el.len(), 16); [INFO] [stderr] 263 | | assert!(el.ends_with("abc")); [INFO] [stderr] 264 | | assert!(el.starts_with("cba")); [INFO] [stderr] 265 | | })); [INFO] [stderr] | |________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:266:66 [INFO] [stderr] | [INFO] [stderr] 266 | if_let!(gen("str(0,jimmy_smith,@gmail.com)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stderr] | __________________________________________________________________- [INFO] [stderr] 267 | | assert_eq!(el, "jimmy_smith@gmail.com"); [INFO] [stderr] 268 | | })); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:266:9 [INFO] [stderr] | [INFO] [stderr] 266 | / if_let!(gen("str(0,jimmy_smith,@gmail.com)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stderr] 267 | | assert_eq!(el, "jimmy_smith@gmail.com"); [INFO] [stderr] 268 | | })); [INFO] [stderr] | |________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:269:68 [INFO] [stderr] | [INFO] [stderr] 269 | if_let!(gen("str(0,'jimmy_smith',@gmail.com)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stderr] | ____________________________________________________________________- [INFO] [stderr] 270 | | assert_eq!(el, "jimmy_smith@gmail.com"); [INFO] [stderr] 271 | | })); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | / if_let!(gen("str(0,'jimmy_smith',@gmail.com)") => Ok(g) => if_let!(g.next() => Value::String(el) => { [INFO] [stderr] 270 | | assert_eq!(el, "jimmy_smith@gmail.com"); [INFO] [stderr] 271 | | })); [INFO] [stderr] | |________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:276:9 [INFO] [stderr] | [INFO] [stderr] 276 | / if_let!(gen("int(0,10)") => Ok(g) => { [INFO] [stderr] 277 | | for _ in (0..1000).into_iter() { [INFO] [stderr] 278 | | let n = g.next().as_i64().unwrap(); [INFO] [stderr] 279 | | assert!(n >-1 && n < 11 ) [INFO] [stderr] 280 | | } [INFO] [stderr] 281 | | }); [INFO] [stderr] | |___________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:283:9 [INFO] [stderr] | [INFO] [stderr] 283 | / if_let!(gen("int(-10,11)") => Ok(g) => { [INFO] [stderr] 284 | | for _ in (0..1000).into_iter() { [INFO] [stderr] 285 | | let n = g.next().as_i64().unwrap(); [INFO] [stderr] 286 | | assert!(n > -11 && n < 11 ) [INFO] [stderr] 287 | | } [INFO] [stderr] 288 | | }); [INFO] [stderr] | |___________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:289:9 [INFO] [stderr] | [INFO] [stderr] 289 | / if_let!(gen("int(-10)") => Ok(g) => { [INFO] [stderr] 290 | | for _ in (0..1000).into_iter() { [INFO] [stderr] 291 | | let n = g.next().as_i64().unwrap(); [INFO] [stderr] 292 | | assert!(n > -11 && n < 1000 ) [INFO] [stderr] 293 | | } [INFO] [stderr] 294 | | }); [INFO] [stderr] | |___________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:295:9 [INFO] [stderr] | [INFO] [stderr] 295 | / if_let!(gen("int()") => Ok(g) => { [INFO] [stderr] 296 | | for _ in (0..1000).into_iter() { [INFO] [stderr] 297 | | let n = g.next().as_i64().unwrap(); [INFO] [stderr] 298 | | assert!(n > -1 && n < 1000 ) [INFO] [stderr] 299 | | } [INFO] [stderr] 300 | | }); [INFO] [stderr] | |___________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:301:9 [INFO] [stderr] | [INFO] [stderr] 301 | / if_let!(gen("int(,10)") => Ok(g) => { [INFO] [stderr] 302 | | for _ in (0..1000).into_iter() { [INFO] [stderr] 303 | | let n = g.next().as_i64().unwrap(); [INFO] [stderr] 304 | | assert!(n > -1 && n < 10 ) [INFO] [stderr] 305 | | } [INFO] [stderr] 306 | | }); [INFO] [stderr] | |___________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:312:20 [INFO] [stderr] | [INFO] [stderr] 312 | => if_let!(g.next() => Value::String(el) [INFO] [stderr] | ____________________- [INFO] [stderr] 313 | | => assert_eq!("abcd".contains(el.as_str()), true))); [INFO] [stderr] | |__________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:311:9 [INFO] [stderr] | [INFO] [stderr] 311 | / if_let!(gen(r#"str_from_list(a,b,c,d)"#) => Ok(g) [INFO] [stderr] 312 | | => if_let!(g.next() => Value::String(el) [INFO] [stderr] 313 | | => assert_eq!("abcd".contains(el.as_str()), true))); [INFO] [stderr] | |____________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:316:20 [INFO] [stderr] | [INFO] [stderr] 316 | => if_let!(g.next() => Value::String(el) [INFO] [stderr] | ____________________- [INFO] [stderr] 317 | | => assert_eq!("".contains(el.as_str()), true))); [INFO] [stderr] | |______________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:315:9 [INFO] [stderr] | [INFO] [stderr] 315 | / if_let!(gen(r#"str_from_list(,,,)"#) => Ok(g) [INFO] [stderr] 316 | | => if_let!(g.next() => Value::String(el) [INFO] [stderr] 317 | | => assert_eq!("".contains(el.as_str()), true))); [INFO] [stderr] | |________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:319:20 [INFO] [stderr] | [INFO] [stderr] 319 | => if_let!(g.next() => Value::String(el) [INFO] [stderr] | ____________________- [INFO] [stderr] 320 | | => assert_eq!("abcbcacdb".contains(el.as_str()), true))); [INFO] [stderr] | |_______________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:318:9 [INFO] [stderr] | [INFO] [stderr] 318 | / if_let!(gen(r#"str_from_list(abc , bca , cdb)"#) => Ok(g) [INFO] [stderr] 319 | | => if_let!(g.next() => Value::String(el) [INFO] [stderr] 320 | | => assert_eq!("abcbcacdb".contains(el.as_str()), true))); [INFO] [stderr] | |_________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:322:20 [INFO] [stderr] | [INFO] [stderr] 322 | => if_let!(g.next() => Value::String(el) [INFO] [stderr] | ____________________- [INFO] [stderr] 323 | | => assert_eq!(el,""))); [INFO] [stderr] | |_____________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:321:9 [INFO] [stderr] | [INFO] [stderr] 321 | / if_let!(gen(r#"str_from_list( )"#) => Ok(g) [INFO] [stderr] 322 | | => if_let!(g.next() => Value::String(el) [INFO] [stderr] 323 | | => assert_eq!(el,""))); [INFO] [stderr] | |_______________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:328:9 [INFO] [stderr] | [INFO] [stderr] 328 | / if_let!(gen(r#"int_from_list(1,2,3)"#) => Ok(g) [INFO] [stderr] 329 | | => { [INFO] [stderr] 330 | | let n = g.next().as_i64().unwrap(); [INFO] [stderr] 331 | | assert!(vec![1,2,3].contains(&n)); [INFO] [stderr] 332 | | }); [INFO] [stderr] | |___________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:333:9 [INFO] [stderr] | [INFO] [stderr] 333 | if_let!(gen(r#"int_from_list()"#) => Ok(g) => assert_eq!(g.next(),Value::Null)); [INFO] [stderr] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:334:9 [INFO] [stderr] | [INFO] [stderr] 334 | / if_let!(gen(r#"int_from_list(a,b,c)"#) => Err(e) [INFO] [stderr] 335 | | => { [INFO] [stderr] 336 | | assert!(e.to_string().contains("int_from_list(a,b,c)")); [INFO] [stderr] 337 | | }) [INFO] [stderr] | |__________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:344:20 [INFO] [stderr] | [INFO] [stderr] 344 | => if_let!(g.next() => Value::String(el) [INFO] [stderr] | ____________________- [INFO] [stderr] 345 | | => assert_eq!("BerlinPragueMoscowLondonHelsinkiRomeBarcelonaViennaAmsterdamDublin" [INFO] [stderr] 346 | | .contains(el.as_str()), true))); [INFO] [stderr] | |_________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:342:9 [INFO] [stderr] | [INFO] [stderr] 342 | / if_let!(gen(r#"str_from_file(jsons/cities, \n)"#) [INFO] [stderr] 343 | | => Ok(g) [INFO] [stderr] 344 | | => if_let!(g.next() => Value::String(el) [INFO] [stderr] 345 | | => assert_eq!("BerlinPragueMoscowLondonHelsinkiRomeBarcelonaViennaAmsterdamDublin" [INFO] [stderr] 346 | | .contains(el.as_str()), true))); [INFO] [stderr] | |___________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:349:20 [INFO] [stderr] | [INFO] [stderr] 349 | => if_let!(g.next() => Value::String(el) [INFO] [stderr] | ____________________- [INFO] [stderr] 350 | | => assert_eq!("123456789" [INFO] [stderr] 351 | | .contains(el.as_str()), true))); [INFO] [stderr] | |_________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:347:9 [INFO] [stderr] | [INFO] [stderr] 347 | / if_let!(gen(r#"str_from_file(jsons/numbers,,)"#) [INFO] [stderr] 348 | | => Ok(g) [INFO] [stderr] 349 | | => if_let!(g.next() => Value::String(el) [INFO] [stderr] 350 | | => assert_eq!("123456789" [INFO] [stderr] 351 | | .contains(el.as_str()), true))); [INFO] [stderr] | |___________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:353:9 [INFO] [stderr] | [INFO] [stderr] 353 | if_let!(gen(r#"str_from_file()"#) => Err(el) => assert!(el.to_string().contains("str_from_file"))); [INFO] [stderr] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:354:9 [INFO] [stderr] | [INFO] [stderr] 354 | if_let!(gen(r#"str_from_file(f,)"#) => Err(el) => assert!(el.to_string().contains("str_from_file"))); [INFO] [stderr] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:359:9 [INFO] [stderr] | [INFO] [stderr] 359 | / if_let!(gen(r#"int_from_file(jsons/numbers_negate,,)"#) [INFO] [stderr] 360 | | => Ok(g) [INFO] [stderr] 361 | | => { [INFO] [stderr] 362 | | for _ in (1..100).into_iter(){ [INFO] [stderr] ... | [INFO] [stderr] 365 | | } [INFO] [stderr] 366 | | }); [INFO] [stderr] | |___________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:368:9 [INFO] [stderr] | [INFO] [stderr] 368 | / if_let!(gen(r#"int_from_file(jsons/numbers,,)"#) [INFO] [stderr] 369 | | => Ok(g) [INFO] [stderr] 370 | | => { [INFO] [stderr] 371 | | let n = g.next().as_i64().unwrap(); [INFO] [stderr] 372 | | assert!(n > 0 && n < 10) [INFO] [stderr] 373 | | }); [INFO] [stderr] | |___________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:374:9 [INFO] [stderr] | [INFO] [stderr] 374 | / if_let!(gen(r#"int_from_file(jsons/cities, \n)"#) [INFO] [stderr] 375 | | => Err(e) [INFO] [stderr] 376 | | => assert!(e.to_string().contains("int_from_file"))); [INFO] [stderr] | |_____________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:377:9 [INFO] [stderr] | [INFO] [stderr] 377 | if_let!(gen(r#"int_from_file()"#) => Err(el) => assert!(el.to_string().contains("int_from_file"))); [INFO] [stderr] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:384:16 [INFO] [stderr] | [INFO] [stderr] 384 | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stderr] | ________________- [INFO] [stderr] 385 | | assert_eq!(elems.len(),1); [INFO] [stderr] 386 | | assert!(!elems.get(0).unwrap().is_null()); [INFO] [stderr] 387 | | elems.iter().flat_map(|e|e.as_i64()).for_each(|e|assert!(e > 0 && e < 5)) [INFO] [stderr] 388 | | })); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:382:9 [INFO] [stderr] | [INFO] [stderr] 382 | / if_let!( [INFO] [stderr] 383 | | gen(r#"int_from_list(1,2,3,4) -> array()"#) => Ok(g) [INFO] [stderr] 384 | | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stderr] 385 | | assert_eq!(elems.len(),1); [INFO] [stderr] 386 | | assert!(!elems.get(0).unwrap().is_null()); [INFO] [stderr] 387 | | elems.iter().flat_map(|e|e.as_i64()).for_each(|e|assert!(e > 0 && e < 5)) [INFO] [stderr] 388 | | })); [INFO] [stderr] | |________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:392:16 [INFO] [stderr] | [INFO] [stderr] 392 | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stderr] | ________________- [INFO] [stderr] 393 | | assert!(!elems.get(0).unwrap().is_null()); [INFO] [stderr] 394 | | assert_eq!(elems.len(),3); [INFO] [stderr] 395 | | elems [INFO] [stderr] ... | [INFO] [stderr] 398 | | .for_each(|e|assert!(e > 0 && e < 5)) [INFO] [stderr] 399 | | })); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:390:9 [INFO] [stderr] | [INFO] [stderr] 390 | / if_let!( [INFO] [stderr] 391 | | generator(r#"int_from_list(1,2,3,4) -> array(3)"#) => Ok(g) [INFO] [stderr] 392 | | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stderr] 393 | | assert!(!elems.get(0).unwrap().is_null()); [INFO] [stderr] ... | [INFO] [stderr] 398 | | .for_each(|e|assert!(e > 0 && e < 5)) [INFO] [stderr] 399 | | })); [INFO] [stderr] | |________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:403:16 [INFO] [stderr] | [INFO] [stderr] 403 | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stderr] | ________________- [INFO] [stderr] 404 | | elems [INFO] [stderr] 405 | | .iter() [INFO] [stderr] 406 | | .flat_map(|e|e.as_str()) [INFO] [stderr] 407 | | .for_each(|e|assert!("aaa'bbb'ccc".contains(e))) [INFO] [stderr] 408 | | })); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:401:9 [INFO] [stderr] | [INFO] [stderr] 401 | / if_let!( [INFO] [stderr] 402 | | generator(r#"str_from_list(aaa,'bbb',ccc) -> array(3)"#) => Ok(g) [INFO] [stderr] 403 | | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stderr] 404 | | elems [INFO] [stderr] ... | [INFO] [stderr] 407 | | .for_each(|e|assert!("aaa'bbb'ccc".contains(e))) [INFO] [stderr] 408 | | })); [INFO] [stderr] | |________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:412:16 [INFO] [stderr] | [INFO] [stderr] 412 | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stderr] | ________________- [INFO] [stderr] 413 | | assert_eq!(elems.len(),1); [INFO] [stderr] 414 | | assert!(!elems.get(0).unwrap().is_null()); [INFO] [stderr] 415 | | elems [INFO] [stderr] ... | [INFO] [stderr] 421 | | }) [INFO] [stderr] 422 | | })); [INFO] [stderr] | |______________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/parser/generators.rs:410:9 [INFO] [stderr] | [INFO] [stderr] 410 | / if_let!( [INFO] [stderr] 411 | | generator(r#"seq(1) -> array(3) -> array()"#) => Ok(g) [INFO] [stderr] 412 | | => if_let!(g.next() => Value::Array(elems) => { [INFO] [stderr] 413 | | assert_eq!(elems.len(),1); [INFO] [stderr] ... | [INFO] [stderr] 421 | | }) [INFO] [stderr] 422 | | })); [INFO] [stderr] | |________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:279:9 [INFO] [stderr] | [INFO] [stderr] 279 | if_let!(gen(Null{}).next() => Value::Null => ()) [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:284:9 [INFO] [stderr] | [INFO] [stderr] 284 | if_let!(gen(UUID {}).next() => Value::String(el) => assert_eq!(el.len(), 36)); [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:304:9 [INFO] [stderr] | [INFO] [stderr] 304 | if_let!(g.next().as_i64() => Some(el) => assert!(el >= -1000 && el <= 1000)); [INFO] [stderr] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:305:9 [INFO] [stderr] | [INFO] [stderr] 305 | if_let!(g.next().as_i64() => Some(el) => assert!(el >= -1000 && el <= 1000)); [INFO] [stderr] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:306:9 [INFO] [stderr] | [INFO] [stderr] 306 | if_let!(g.next().as_i64() => Some(el) => assert!(el >= -1000 && el <= 1000)); [INFO] [stderr] | ----------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:311:9 [INFO] [stderr] | [INFO] [stderr] 311 | if_let!(gen(RandomString::new(10)).next() => Value::String(el) => assert_eq!(el.len(), 10)); [INFO] [stderr] | -------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:313:9 [INFO] [stderr] | [INFO] [stderr] 313 | / if_let!( [INFO] [stderr] 314 | | g.next() => Value::String(el) => { [INFO] [stderr] 315 | | assert_eq!(el.len(), 16); [INFO] [stderr] 316 | | assert!(el.starts_with("abc")); [INFO] [stderr] 317 | | assert!(el.ends_with("cba")); [INFO] [stderr] 318 | | } [INFO] [stderr] 319 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | panic!(format!("the left {:?} is not equal to the right",$left)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:325:9 [INFO] [stderr] | [INFO] [stderr] 325 | if_let!(x.next() => x.next() => ()); [INFO] [stderr] | ------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 16 | panic!("the left {:?} is not equal to the right",$left) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:328:9 [INFO] [stderr] | [INFO] [stderr] 328 | / if_let!(x.next_value() => Value::String(el) => { [INFO] [stderr] 329 | | print!("{}", el); [INFO] [stderr] 330 | | assert_eq!(el.len(), 19); [INFO] [stderr] 331 | | }); [INFO] [stderr] | |___________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:337:9 [INFO] [stderr] | [INFO] [stderr] 337 | / if_let!(gn.next() => Value::Number(el) => { [INFO] [stderr] 338 | | let el = el.as_i64().unwrap(); [INFO] [stderr] 339 | | assert_eq!(el > 0, el < 10) [INFO] [stderr] 340 | | }); [INFO] [stderr] | |___________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:352:31 [INFO] [stderr] | [INFO] [stderr] 352 | if_let!(g => Ok(g) => if_let!(g.next() => Value::Number(el) => { [INFO] [stderr] | _______________________________- [INFO] [stderr] 353 | | let el = el.as_i64().unwrap(); [INFO] [stderr] 354 | | assert!(el > 0 && el < 10) [INFO] [stderr] 355 | | })); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:352:9 [INFO] [stderr] | [INFO] [stderr] 352 | / if_let!(g => Ok(g) => if_let!(g.next() => Value::Number(el) => { [INFO] [stderr] 353 | | let el = el.as_i64().unwrap(); [INFO] [stderr] 354 | | assert!(el > 0 && el < 10) [INFO] [stderr] 355 | | })); [INFO] [stderr] | |____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:360:31 [INFO] [stderr] | [INFO] [stderr] 360 | if_let!(g => Ok(g) => if_let!(g.next() => Value::String(city) => { [INFO] [stderr] | _______________________________- [INFO] [stderr] 361 | | assert!("BerlinPragueMoscowLondonHelsinkiRomeBarcelonaViennaAmsterdamDublin".contains(&city)) [INFO] [stderr] 362 | | })); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:360:9 [INFO] [stderr] | [INFO] [stderr] 360 | / if_let!(g => Ok(g) => if_let!(g.next() => Value::String(city) => { [INFO] [stderr] 361 | | assert!("BerlinPragueMoscowLondonHelsinkiRomeBarcelonaViennaAmsterdamDublin".contains(&city)) [INFO] [stderr] 362 | | })); [INFO] [stderr] | |____________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:405:21 [INFO] [stderr] | [INFO] [stderr] 405 | / if_let!(e => Value::Number(el) => { [INFO] [stderr] 406 | | let el = el.as_i64().unwrap(); [INFO] [stderr] 407 | | assert_eq!(el > 0 && el < 100, true) [INFO] [stderr] 408 | | }) [INFO] [stderr] | |______________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/generators.rs:401:9 [INFO] [stderr] | [INFO] [stderr] 401 | / if_let!( [INFO] [stderr] 402 | | gen.next() => Value::Array(elems) => { [INFO] [stderr] 403 | | assert_eq!(elems.len(), 3); [INFO] [stderr] 404 | | for e in elems.into_iter() { [INFO] [stderr] ... | [INFO] [stderr] 410 | | } [INFO] [stderr] 411 | | ); [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | panic!(format!("the left {:?} is not equal to the right",$left)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/generator/mod.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | if_let!(f.next() => f.next() => assert_eq!(f.next(),Value::Null)) [INFO] [stderr] | ----------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 16 | panic!("the left {:?} is not equal to the right",$left) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/sender/file.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | panic!(format!("the output path {} to the file should point to a folder.", path)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 21 | panic!("the output path {} to the file should point to a folder.", path); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/sender/file.rs:75:28 [INFO] [stderr] | [INFO] [stderr] 75 | panic!(format!("the output path {} should point to a file not to a folder.", path)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 75 | panic!("the output path {} should point to a file not to a folder.", path); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:124:9 [INFO] [stderr] | [INFO] [stderr] 124 | / if_let!( [INFO] [stderr] 125 | | generate(&mut js_template,1,true,&mut vec![]).get(0) [INFO] [stderr] 126 | | => Some(Value::Object(map)) [INFO] [stderr] 127 | | => assert!(map.get("id").and_then(|e|e.as_str()).unwrap().len() == 36 )); [INFO] [stderr] | |_________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:167:21 [INFO] [stderr] | [INFO] [stderr] 167 | / if_let!(values.get("description") => Some(Value::String(v)) [INFO] [stderr] 168 | | => assert_eq!(v,"the example how to create a json template to generate new jsons")); [INFO] [stderr] | |____________________________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:170:29 [INFO] [stderr] | [INFO] [stderr] 170 | / ... if_let!(rec_values.get("type") => Some(Value::String(v)) [INFO] [stderr] 171 | | ... => assert!("businesstechnicalanalytical".contains(v))); [INFO] [stderr] | |_________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:172:30 [INFO] [stderr] | [INFO] [stderr] 172 | ... if_let!(rec_values.get("is_active") => Some(Value::Bool(_)) => ()); [INFO] [stderr] | ------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:173:30 [INFO] [stderr] | [INFO] [stderr] 173 | / ... if_let!(rec_values.get("name") => Some(Value::String(v)) => { [INFO] [stderr] 174 | | ... assert_eq!(v.len(),18); [INFO] [stderr] 175 | | ... assert!(v.starts_with("customer")) [INFO] [stderr] 176 | | ... }); [INFO] [stderr] | |_________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:177:30 [INFO] [stderr] | [INFO] [stderr] 177 | / ... if_let!(rec_values.get("email") => Some(Value::String(v)) => { [INFO] [stderr] 178 | | ... assert_eq!(v.len(),15); [INFO] [stderr] 179 | | ... assert!(v.ends_with("@gmail.com")) [INFO] [stderr] 180 | | ... }); [INFO] [stderr] | |_________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:181:30 [INFO] [stderr] | [INFO] [stderr] 181 | / ... if_let!(rec_values.get("code") => Some(Value::String(v)) => { [INFO] [stderr] 182 | | ... assert_eq!(v.len(),11); [INFO] [stderr] 183 | | ... assert!(v.ends_with("(code)")) [INFO] [stderr] 184 | | ... }); [INFO] [stderr] | |_________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:185:31 [INFO] [stderr] | [INFO] [stderr] 185 | ... if_let!(rec_values.get("dsc") => Some(Value::String(v)) => assert_eq!(v.len(),20)); [INFO] [stderr] | ----------------------------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:186:31 [INFO] [stderr] | [INFO] [stderr] 186 | / ... if_let!(rec_values.get("id_parent") => Some(Value::Number(n)) => { [INFO] [stderr] 187 | | ... assert!(vec![1,2,3,4,5,6,7].contains(&n.as_i64().unwrap())) [INFO] [stderr] 188 | | ... }); [INFO] [stderr] | |_________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:189:31 [INFO] [stderr] | [INFO] [stderr] 189 | / ... if_let!(rec_values.get("related_records") => Some(Value::Array(elems)) => { [INFO] [stderr] 190 | | ... assert_eq!(elems.len(),5); [INFO] [stderr] 191 | | ... for el in elems.iter(){ [INFO] [stderr] 192 | | ... let el = el.as_i64().unwrap(); [INFO] [stderr] 193 | | ... assert!(el > 0 && el < 1000) [INFO] [stderr] 194 | | ... } [INFO] [stderr] 195 | | ... }); [INFO] [stderr] | |_________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:197:33 [INFO] [stderr] | [INFO] [stderr] 197 | / ... if_let!(elems.get("country") => Some(Value::String(v)) [INFO] [stderr] 198 | | ... => assert!("USAEnglandIrelandGermanyRussiaJapanAustralia".contains(v))); [INFO] [stderr] | |__________________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:199:33 [INFO] [stderr] | [INFO] [stderr] 199 | / ... if_let!(elems.get("city") => Some(Value::String(v)) [INFO] [stderr] 200 | | ... => assert!("BerlinPragueMoscowLondonHelsinkiRomeBarcelonaViennaAmsterdamDublin".contains(v))); [INFO] [stderr] | |________________________________________________________________________________________________________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:201:33 [INFO] [stderr] | [INFO] [stderr] 201 | / ... if_let!(elems.get("house") => Some(n) => { [INFO] [stderr] 202 | | ... let el = n.as_i64().unwrap(); [INFO] [stderr] 203 | | ... assert!(el > 0 && el < 1000) [INFO] [stderr] 204 | | ... }); [INFO] [stderr] | |_________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:196:31 [INFO] [stderr] | [INFO] [stderr] 196 | / ... if_let!(rec_values.get("geo") => Some(Value::Object(elems)) => { [INFO] [stderr] 197 | | ... if_let!(elems.get("country") => Some(Value::String(v)) [INFO] [stderr] 198 | | ... => assert!("USAEnglandIrelandGermanyRussiaJapanAustralia".contains(v))); [INFO] [stderr] 199 | | ... if_let!(elems.get("city") => Some(Value::String(v)) [INFO] [stderr] ... | [INFO] [stderr] 204 | | ... }); [INFO] [stderr] 205 | | ... }); [INFO] [stderr] | |_________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:207:33 [INFO] [stderr] | [INFO] [stderr] 207 | ... if_let!(elems.get("id") => Some(Value::String(v)) => assert_eq!(v.len(), 36)); [INFO] [stderr] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:208:33 [INFO] [stderr] | [INFO] [stderr] 208 | / ... if_let!(elems.get("index") => Some(n) => { [INFO] [stderr] 209 | | ... let el = n.as_i64().unwrap(); [INFO] [stderr] 210 | | ... assert_eq!(el,1) [INFO] [stderr] 211 | | ... }); [INFO] [stderr] | |_________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:212:33 [INFO] [stderr] | [INFO] [stderr] 212 | / ... if_let!(elems.get("update_tm") => Some(Value::String(v)) => { [INFO] [stderr] 213 | | ... let time = Utc::now(); [INFO] [stderr] 214 | | ... assert_eq!(v,&time.format("%Y-%m-%d %H:%M:%S").to_string()) [INFO] [stderr] 215 | | ... }); [INFO] [stderr] | |_________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:206:31 [INFO] [stderr] | [INFO] [stderr] 206 | / ... if_let!(rec_values.get("technical") => Some(Value::Object(elems)) => { [INFO] [stderr] 207 | | ... if_let!(elems.get("id") => Some(Value::String(v)) => assert_eq!(v.len(), 36)); [INFO] [stderr] 208 | | ... if_let!(elems.get("index") => Some(n) => { [INFO] [stderr] 209 | | ... let el = n.as_i64().unwrap(); [INFO] [stderr] ... | [INFO] [stderr] 215 | | ... }); [INFO] [stderr] 216 | | ... }); [INFO] [stderr] | |_________________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | / if_let!(values.get("record") => Some(Value::Object(rec_values)) => { [INFO] [stderr] 170 | | if_let!(rec_values.get("type") => Some(Value::String(v)) [INFO] [stderr] 171 | | => assert!("businesstechnicalanalytical".contains(v))); [INFO] [stderr] 172 | | if_let!(rec_values.get("is_active") => Some(Value::Bool(_)) => ()); [INFO] [stderr] ... | [INFO] [stderr] 218 | | } [INFO] [stderr] 219 | | ) [INFO] [stderr] | |_____________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/macro.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | panic!(format!("the epr {:?} is not equal to expected one",$gen_res)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:164:9 [INFO] [stderr] | [INFO] [stderr] 164 | / if_let!( [INFO] [stderr] 165 | | json.get(0) [INFO] [stderr] 166 | | => Some(Value::Object(values)) => { [INFO] [stderr] 167 | | if_let!(values.get("description") => Some(Value::String(v)) [INFO] [stderr] ... | [INFO] [stderr] 222 | | [INFO] [stderr] 223 | | ); [INFO] [stderr] | |__________________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 7 | panic!("the epr {:?} is not equal to expected one",$gen_res) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 102 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/json_generator_rand-19d4c1d8a6d3d112) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test generator::generators::tests::from_string_test ... ok [INFO] [stdout] test generator::generators::tests::array_test ... ok [INFO] [stdout] test generator::generators::tests::random_string_test ... ok [INFO] [stdout] test generator::generators::tests::sequence_test ... ok [INFO] [stdout] test generator::generators::tests::current_ts_test ... ok [INFO] [stdout] test generator::generators::tests::random_uuid_test ... ok [INFO] [stdout] test generator::generators::tests::null_test ... ok [INFO] [stdout] test generator::generators::tests::read_file_from_path ... ok [INFO] [stdout] test json_template::tests::from_str_test ... ok [INFO] [stdout] test generator::generators::tests::random_int_test ... ok [INFO] [stdout] test json_template::tests::simple_test ... ok [INFO] [stdout] test generator::generators::tests::random_from_list_test ... ok [INFO] [stdout] test generator::tests::to_string_test ... ok [INFO] [stdout] test parser::generators::tests::uuid_test ... ok [INFO] [stdout] test parser::generators::tests::current_dt_test ... ok [INFO] [stdout] test parser::generators::tests::random_int_from_list_test ... ok [INFO] [stdout] test tests::base_test ... ok [INFO] [stdout] test parser::generators::tests::seq_test ... ok [INFO] [stdout] test parser::generators::tests::random_int_from_file_test ... ok [INFO] [stdout] test parser::generators::tests::bool_test ... ok [INFO] [stdout] test json_template::tests::simple_failed_test ... ok [INFO] [stdout] test parser::generators::tests::random_str_from_file_test ... ok [INFO] [stdout] test parser::generators::tests::random_string_test ... ok [INFO] [stdout] test parser::generators::tests::random_array_test ... ok [INFO] [stdout] test generator::generators::tests::from_file_test ... ok [INFO] [stdout] test parser::generators::tests::random_str_from_list_test ... ok [INFO] [stdout] test parser::generators::tests::random_int_test ... ok [INFO] [stdout] test tests::full_test ... ok [INFO] [stdout] test sender::file::tests::folder_sender_test ... FAILED [INFO] [stdout] test sender::file::tests::file_sender_test ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] [stdout] test sender::http::tests::simple_test ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- sender::file::tests::folder_sender_test stdout ---- [INFO] [stdout] thread 'sender::file::tests::folder_sender_test' panicked at 'error occurred while creating or open the file:Read-only file system (os error 30)', src/sender/file.rs:28:35 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556598c18f90 - std::backtrace_rs::backtrace::libunwind::trace::h63b7a90188ab5fb3 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x556598c18f90 - std::backtrace_rs::backtrace::trace_unsynchronized::h80aefbf9b851eca7 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x556598c18f90 - std::sys_common::backtrace::_print_fmt::hbef05ae4237a4d72 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x556598c18f90 - ::fmt::h28abce2fdb9884c2 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x556598c38e4f - core::fmt::write::h3b84512577ca38a8 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/fmt/mod.rs:1092:17 [INFO] [stdout] 5: 0x556598c15f52 - std::io::Write::write_fmt::ha43497f2606bf479 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/io/mod.rs:1572:15 [INFO] [stdout] 6: 0x556598c1b1a5 - std::sys_common::backtrace::_print::h525280ee0d29bdde [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x556598c1b1a5 - std::sys_common::backtrace::print::h1f0f5b9f3ef8fb78 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x556598c1b1a5 - std::panicking::default_hook::{{closure}}::ha5838f6faa4a5a8f [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x556598c1ac8e - std::panicking::default_hook::hfb9fe98acb0dcb3b [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x556598c1b7ad - std::panicking::rust_panic_with_hook::hb89f5f19036e6af8 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x556598c1b347 - std::panicking::begin_panic_handler::{{closure}}::h119e7951427f41da [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x556598c1944c - std::sys_common::backtrace::__rust_end_short_backtrace::hce386c44bf47a128 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x556598c1b2a9 - rust_begin_unwind [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x556598aa333b - std::panicking::begin_panic_fmt::h400b8e9dca200408 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:435:5 [INFO] [stdout] 15: 0x556598ab0432 - json_generator_rand::sender::file::FolderSender::new::h83890f4b4fb90911 [INFO] [stdout] at /opt/rustwide/workdir/src/sender/file.rs:28:35 [INFO] [stdout] 16: 0x556598aa92aa - json_generator_rand::sender::file::tests::folder_sender_test::h47c2bd9a8a21252a [INFO] [stdout] at /opt/rustwide/workdir/src/sender/file.rs:165:15 [INFO] [stdout] 17: 0x556598aa924a - json_generator_rand::sender::file::tests::folder_sender_test::{{closure}}::hbd6694d155327e45 [INFO] [stdout] at /opt/rustwide/workdir/src/sender/file.rs:163:5 [INFO] [stdout] 18: 0x556598ac313e - core::ops::function::FnOnce::call_once::h32d35b0ae816ade5 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x556598b41f73 - core::ops::function::FnOnce::call_once::hdb810ad7400115fe [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x556598b41f73 - test::__rust_begin_short_backtrace::ha1f41cc5fdd4436d [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/test/src/lib.rs:567:5 [INFO] [stdout] 21: 0x556598b40890 - as core::ops::function::FnOnce>::call_once::h5b11193df8b131e3 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/boxed.rs:1546:9 [INFO] [stdout] 22: 0x556598b40890 - as core::ops::function::FnOnce<()>>::call_once::hf50f904c1a6fa2f6 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:344:9 [INFO] [stdout] 23: 0x556598b40890 - std::panicking::try::do_call::ha03b6478dda0cd2d [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: 0x556598b40890 - std::panicking::try::h3cb77b72195ddd43 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:343:19 [INFO] [stdout] 25: 0x556598b40890 - std::panic::catch_unwind::h6b5552b2bb62113e [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:431:14 [INFO] [stdout] 26: 0x556598b40890 - test::run_test_in_process::hc7194b3d1995d805 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/test/src/lib.rs:589:18 [INFO] [stdout] 27: 0x556598b40890 - test::run_test::run_test_inner::{{closure}}::h939ee0e7ade9ca46 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/test/src/lib.rs:486:39 [INFO] [stdout] 28: 0x556598b1a18e - test::run_test::run_test_inner::{{closure}}::h32985052db5accee [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/test/src/lib.rs:511:37 [INFO] [stdout] 29: 0x556598b1a18e - std::sys_common::backtrace::__rust_begin_short_backtrace::h9fb42e36e9d0b83f [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 30: 0x556598b1e0ef - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h73eb5d030ae9f27e [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 31: 0x556598b1e0ef - as core::ops::function::FnOnce<()>>::call_once::h0b21097ddcf592a1 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:344:9 [INFO] [stdout] 32: 0x556598b1e0ef - std::panicking::try::do_call::h548baa681d50a8e5 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:379:40 [INFO] [stdout] 33: 0x556598b1e0ef - std::panicking::try::h788942712f8b8932 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:343:19 [INFO] [stdout] 34: 0x556598b1e0ef - std::panic::catch_unwind::hc87eb933af4026f7 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:431:14 [INFO] [stdout] 35: 0x556598b1e0ef - std::thread::Builder::spawn_unchecked::{{closure}}::h87c239f54e720337 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 36: 0x556598b1e0ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1303b0fd11694b99 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x556598c2172a - as core::ops::function::FnOnce>::call_once::hc444a77f8dd8d825 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/boxed.rs:1546:9 [INFO] [stdout] 38: 0x556598c2172a - as core::ops::function::FnOnce>::call_once::h8b68a0a9a2093dfc [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/boxed.rs:1546:9 [INFO] [stdout] 39: 0x556598c2172a - std::sys::unix::thread::Thread::new::thread_start::hb95464447f61f48d [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 40: 0x7efcc1cb8609 - start_thread [INFO] [stdout] 41: 0x7efcc1a90293 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- sender::file::tests::file_sender_test stdout ---- [INFO] [stdout] thread 'sender::file::tests::file_sender_test' panicked at 'the error: error while parsing a generator func, reason: error occurred while creating or open the file:Read-only file system (os error 30) and type: Sender while creating a file jsons/temp/file.json', src/sender/file.rs:80:29 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556598c18f90 - std::backtrace_rs::backtrace::libunwind::trace::h63b7a90188ab5fb3 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x556598c18f90 - std::backtrace_rs::backtrace::trace_unsynchronized::h80aefbf9b851eca7 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x556598c18f90 - std::sys_common::backtrace::_print_fmt::hbef05ae4237a4d72 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x556598c18f90 - ::fmt::h28abce2fdb9884c2 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x556598c38e4f - core::fmt::write::h3b84512577ca38a8 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/fmt/mod.rs:1092:17 [INFO] [stdout] 5: 0x556598c15f52 - std::io::Write::write_fmt::ha43497f2606bf479 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/io/mod.rs:1572:15 [INFO] [stdout] 6: 0x556598c1b1a5 - std::sys_common::backtrace::_print::h525280ee0d29bdde [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x556598c1b1a5 - std::sys_common::backtrace::print::h1f0f5b9f3ef8fb78 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x556598c1b1a5 - std::panicking::default_hook::{{closure}}::ha5838f6faa4a5a8f [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x556598c1ac8e - std::panicking::default_hook::hfb9fe98acb0dcb3b [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x556598c1b7ad - std::panicking::rust_panic_with_hook::hb89f5f19036e6af8 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:591:17 [INFO] [stdout] 11: 0x556598c1b347 - std::panicking::begin_panic_handler::{{closure}}::h119e7951427f41da [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:497:13 [INFO] [stdout] 12: 0x556598c1944c - std::sys_common::backtrace::__rust_end_short_backtrace::hce386c44bf47a128 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x556598c1b2a9 - rust_begin_unwind [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5 [INFO] [stdout] 14: 0x556598aa333b - std::panicking::begin_panic_fmt::h400b8e9dca200408 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:435:5 [INFO] [stdout] 15: 0x556598ab170e - json_generator_rand::sender::file::FileSender::new::h2f6d41c2cd520bb4 [INFO] [stdout] at /opt/rustwide/workdir/src/sender/file.rs:80:29 [INFO] [stdout] 16: 0x556598aa8f67 - json_generator_rand::sender::file::tests::file_sender_test::h97ff9e0bd972dca8 [INFO] [stdout] at /opt/rustwide/workdir/src/sender/file.rs:155:15 [INFO] [stdout] 17: 0x556598aa8f0a - json_generator_rand::sender::file::tests::file_sender_test::{{closure}}::hbf1f5e05b06159ed [INFO] [stdout] at /opt/rustwide/workdir/src/sender/file.rs:152:5 [INFO] [stdout] 18: 0x556598ac33ce - core::ops::function::FnOnce::call_once::h7c2fc6aa9a499706 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x556598b41f73 - core::ops::function::FnOnce::call_once::hdb810ad7400115fe [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x556598b41f73 - test::__rust_begin_short_backtrace::ha1f41cc5fdd4436d [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/test/src/lib.rs:567:5 [INFO] [stdout] 21: 0x556598b40890 - as core::ops::function::FnOnce>::call_once::h5b11193df8b131e3 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/boxed.rs:1546:9 [INFO] [stdout] 22: 0x556598b40890 - as core::ops::function::FnOnce<()>>::call_once::hf50f904c1a6fa2f6 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:344:9 [INFO] [stdout] 23: 0x556598b40890 - std::panicking::try::do_call::ha03b6478dda0cd2d [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:379:40 [INFO] [stdout] 24: 0x556598b40890 - std::panicking::try::h3cb77b72195ddd43 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:343:19 [INFO] [stdout] 25: 0x556598b40890 - std::panic::catch_unwind::h6b5552b2bb62113e [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:431:14 [INFO] [stdout] 26: 0x556598b40890 - test::run_test_in_process::hc7194b3d1995d805 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/test/src/lib.rs:589:18 [INFO] [stdout] 27: 0x556598b40890 - test::run_test::run_test_inner::{{closure}}::h939ee0e7ade9ca46 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/test/src/lib.rs:486:39 [INFO] [stdout] 28: 0x556598b1a18e - test::run_test::run_test_inner::{{closure}}::h32985052db5accee [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/test/src/lib.rs:511:37 [INFO] [stdout] 29: 0x556598b1a18e - std::sys_common::backtrace::__rust_begin_short_backtrace::h9fb42e36e9d0b83f [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 30: 0x556598b1e0ef - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h73eb5d030ae9f27e [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/thread/mod.rs:474:17 [INFO] [stdout] 31: 0x556598b1e0ef - as core::ops::function::FnOnce<()>>::call_once::h0b21097ddcf592a1 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:344:9 [INFO] [stdout] 32: 0x556598b1e0ef - std::panicking::try::do_call::h548baa681d50a8e5 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:379:40 [INFO] [stdout] 33: 0x556598b1e0ef - std::panicking::try::h788942712f8b8932 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:343:19 [INFO] [stdout] 34: 0x556598b1e0ef - std::panic::catch_unwind::hc87eb933af4026f7 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panic.rs:431:14 [INFO] [stdout] 35: 0x556598b1e0ef - std::thread::Builder::spawn_unchecked::{{closure}}::h87c239f54e720337 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/thread/mod.rs:473:30 [INFO] [stdout] 36: 0x556598b1e0ef - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1303b0fd11694b99 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x556598c2172a - as core::ops::function::FnOnce>::call_once::hc444a77f8dd8d825 [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/boxed.rs:1546:9 [INFO] [stdout] 38: 0x556598c2172a - as core::ops::function::FnOnce>::call_once::h8b68a0a9a2093dfc [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/alloc/src/boxed.rs:1546:9 [INFO] [stdout] 39: 0x556598c2172a - std::sys::unix::thread::Thread::new::thread_start::hb95464447f61f48d [INFO] [stdout] at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 40: 0x7efcc1cb8609 - start_thread [INFO] [stdout] 41: 0x7efcc1a90293 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] sender::file::tests::file_sender_test [INFO] [stdout] sender::file::tests::folder_sender_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 29 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b664021a38e04b75faf8d4608a7703b6539a344192027e4a9e35f36febb689e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b664021a38e04b75faf8d4608a7703b6539a344192027e4a9e35f36febb689e4", kill_on_drop: false }` [INFO] [stdout] b664021a38e04b75faf8d4608a7703b6539a344192027e4a9e35f36febb689e4