[INFO] fetching crate test-generator 0.3.0... [INFO] testing test-generator-0.3.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate test-generator 0.3.0 into /workspace/builds/worker-98/source [INFO] validating manifest of crates.io crate test-generator 0.3.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate test-generator 0.3.0 [INFO] finished tweaking crates.io crate test-generator 0.3.0 [INFO] tweaked toml for crates.io crate test-generator 0.3.0 written to /workspace/builds/worker-98/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7c8adc2621fcdac5b75230321c09d76b379e3bdfa6641aa824ba8483d1a22b13 [INFO] running `Command { std: "docker" "start" "-a" "7c8adc2621fcdac5b75230321c09d76b379e3bdfa6641aa824ba8483d1a22b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c8adc2621fcdac5b75230321c09d76b379e3bdfa6641aa824ba8483d1a22b13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c8adc2621fcdac5b75230321c09d76b379e3bdfa6641aa824ba8483d1a22b13", kill_on_drop: false }` [INFO] [stdout] 7c8adc2621fcdac5b75230321c09d76b379e3bdfa6641aa824ba8483d1a22b13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e93687dff0d23d507b3c3390249bcab0e39c5d1189c0890e9c54b0cdcd5caf8 [INFO] running `Command { std: "docker" "start" "-a" "3e93687dff0d23d507b3c3390249bcab0e39c5d1189c0890e9c54b0cdcd5caf8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling test-generator v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 184 - Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] 184 + Lit::Bool(l) => panic!("expected string parameter, got '{}'", &l.value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 185 - Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 185 + Lit::Byte(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 187 - Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 187 + Lit::Char(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:188:31 [INFO] [stdout] | [INFO] [stdout] 188 | Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 188 - Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 188 + Lit::Int(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 189 - Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 189 + Lit::Float(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:233:16 [INFO] [stdout] | [INFO] [stdout] 233 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 233 | panic!("{}", msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 263 - Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] 263 + Lit::Bool(l) => panic!("expected string parameter, got '{}'", &l.value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 264 - Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 264 + Lit::Byte(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:266:32 [INFO] [stdout] | [INFO] [stdout] 266 | Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 266 - Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 266 + Lit::Char(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:267:31 [INFO] [stdout] | [INFO] [stdout] 267 | Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 267 - Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 267 + Lit::Int(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:268:33 [INFO] [stdout] | [INFO] [stdout] 268 | Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 268 - Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 268 + Lit::Float(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 312 | panic!("{}", msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.40s [INFO] running `Command { std: "docker" "inspect" "3e93687dff0d23d507b3c3390249bcab0e39c5d1189c0890e9c54b0cdcd5caf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e93687dff0d23d507b3c3390249bcab0e39c5d1189c0890e9c54b0cdcd5caf8", kill_on_drop: false }` [INFO] [stdout] 3e93687dff0d23d507b3c3390249bcab0e39c5d1189c0890e9c54b0cdcd5caf8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea739467a7d33980bd00ea23b22f216c93d4086765de37397c9a01ad222c6b90 [INFO] running `Command { std: "docker" "start" "-a" "ea739467a7d33980bd00ea23b22f216c93d4086765de37397c9a01ad222c6b90", kill_on_drop: false }` [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 184 - Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] 184 + Lit::Bool(l) => panic!("expected string parameter, got '{}'", &l.value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 185 - Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 185 + Lit::Byte(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 187 - Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 187 + Lit::Char(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:188:31 [INFO] [stdout] | [INFO] [stdout] 188 | Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 188 - Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 188 + Lit::Int(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 189 - Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 189 + Lit::Float(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:233:16 [INFO] [stdout] | [INFO] [stdout] 233 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 233 | panic!("{}", msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 263 - Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] 263 + Lit::Bool(l) => panic!("expected string parameter, got '{}'", &l.value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 264 - Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 264 + Lit::Byte(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:266:32 [INFO] [stdout] | [INFO] [stdout] 266 | Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 266 - Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 266 + Lit::Char(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:267:31 [INFO] [stdout] | [INFO] [stdout] 267 | Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 267 - Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 267 + Lit::Int(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling test-generator v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:268:33 [INFO] [stdout] | [INFO] [stdout] 268 | Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 268 - Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 268 + Lit::Float(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 312 | panic!("{}", msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 184 - Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] 184 + Lit::Bool(l) => panic!("expected string parameter, got '{}'", &l.value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 185 - Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 185 + Lit::Byte(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:187:32 [INFO] [stdout] | [INFO] [stdout] 187 | Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 187 - Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 187 + Lit::Char(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:188:31 [INFO] [stdout] | [INFO] [stdout] 188 | Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 188 - Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 188 + Lit::Int(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:189:33 [INFO] [stdout] | [INFO] [stdout] 189 | Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 189 - Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 189 + Lit::Float(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:233:16 [INFO] [stdout] | [INFO] [stdout] 233 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 233 | panic!("{}", msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:263:32 [INFO] [stdout] | [INFO] [stdout] 263 | Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 263 - Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stdout] 263 + Lit::Bool(l) => panic!("expected string parameter, got '{}'", &l.value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:264:32 [INFO] [stdout] | [INFO] [stdout] 264 | Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 264 - Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 264 + Lit::Byte(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:266:32 [INFO] [stdout] | [INFO] [stdout] 266 | Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 266 - Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 266 + Lit::Char(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:267:31 [INFO] [stdout] | [INFO] [stdout] 267 | Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 267 - Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 267 + Lit::Int(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:268:33 [INFO] [stdout] | [INFO] [stdout] 268 | Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 268 - Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stdout] 268 + Lit::Float(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:312:16 [INFO] [stdout] | [INFO] [stdout] 312 | panic!(msg); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 312 | panic!("{}", msg); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "ea739467a7d33980bd00ea23b22f216c93d4086765de37397c9a01ad222c6b90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea739467a7d33980bd00ea23b22f216c93d4086765de37397c9a01ad222c6b90", kill_on_drop: false }` [INFO] [stdout] ea739467a7d33980bd00ea23b22f216c93d4086765de37397c9a01ad222c6b90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ebecf7a8f314c7f72a6c17444446d1d34df578f5af9d942401abef200ab0666 [INFO] running `Command { std: "docker" "start" "-a" "3ebecf7a8f314c7f72a6c17444446d1d34df578f5af9d942401abef200ab0666", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:184:32 [INFO] [stderr] | [INFO] [stderr] 184 | Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: 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] 184 - Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stderr] 184 + Lit::Bool(l) => panic!("expected string parameter, got '{}'", &l.value), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:185:32 [INFO] [stderr] | [INFO] [stderr] 185 | Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: 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] 185 - Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] 185 + Lit::Byte(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:187:32 [INFO] [stderr] | [INFO] [stderr] 187 | Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: 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] 187 - Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] 187 + Lit::Char(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:188:31 [INFO] [stderr] | [INFO] [stderr] 188 | Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: 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] 188 - Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] 188 + Lit::Int(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:189:33 [INFO] [stderr] | [INFO] [stderr] 189 | Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: 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] 189 - Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] 189 + Lit::Float(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:233:16 [INFO] [stderr] | [INFO] [stderr] 233 | panic!(msg); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 233 | panic!("{}", msg); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:263:32 [INFO] [stderr] | [INFO] [stderr] 263 | Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: 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] 263 - Lit::Bool(l) => panic!(format!("expected string parameter, got '{}'", &l.value)), [INFO] [stderr] 263 + Lit::Bool(l) => panic!("expected string parameter, got '{}'", &l.value), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:264:32 [INFO] [stderr] | [INFO] [stderr] 264 | Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: 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] 264 - Lit::Byte(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] 264 + Lit::Byte(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:266:32 [INFO] [stderr] | [INFO] [stderr] 266 | Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: 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] 266 - Lit::Char(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] 266 + Lit::Char(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:267:31 [INFO] [stderr] | [INFO] [stderr] 267 | Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: 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] 267 - Lit::Int(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] 267 + Lit::Int(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:268:33 [INFO] [stderr] | [INFO] [stderr] 268 | Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: 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] 268 - Lit::Float(l) => panic!(format!("expected string parameter, got '{}'", &l.value())), [INFO] [stderr] 268 + Lit::Float(l) => panic!("expected string parameter, got '{}'", &l.value()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:312:16 [INFO] [stderr] | [INFO] [stderr] 312 | panic!(msg); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 312 | panic!("{}", msg); [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `test-generator` (lib) generated 12 warnings [INFO] [stderr] warning: `test-generator` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.68s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/test_generator-d34f39811c5057ad) [INFO] [stdout] [INFO] [stderr] Doc-tests test-generator [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test src/lib.rs - (line 25) ... ignored [INFO] [stdout] test src/lib.rs - (line 32) ... ignored [INFO] [stdout] test src/lib.rs - (line 38) ... ignored [INFO] [stdout] test src/lib.rs - (line 62) ... ignored [INFO] [stdout] test src/lib.rs - (line 96) ... ignored [INFO] [stdout] test src/lib.rs - bench_expand_paths (line 677) ... ignored [INFO] [stdout] test src/lib.rs - bench_resources (line 244) ... ignored [INFO] [stdout] test src/lib.rs - (line 101) ... ok [INFO] [stdout] test src/lib.rs - bench_expand_list (line 846) ... ok [INFO] [stdout] test src/lib.rs - test_resources (line 167) ... ok [INFO] [stdout] test src/lib.rs - test_expand_list (line 752) ... ok [INFO] [stdout] test src/lib.rs - bench_expand_list (line 833) ... ok [INFO] [stdout] test src/lib.rs - test_expand_paths (line 607) ... ok [INFO] [stdout] test src/lib.rs - test_expand_list (line 771) ... ok [INFO] [stdout] test src/lib.rs - glob_expand (line 495) ... ok [INFO] [stdout] test src/lib.rs - glob_expand (line 483) ... ok [INFO] [stdout] test src/lib.rs - test_expand_paths (line 597) ... ok [INFO] [stdout] test src/lib.rs - bench_expand_paths (line 664) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 7 ignored; 0 measured; 0 filtered out; finished in 1.63s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3ebecf7a8f314c7f72a6c17444446d1d34df578f5af9d942401abef200ab0666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ebecf7a8f314c7f72a6c17444446d1d34df578f5af9d942401abef200ab0666", kill_on_drop: false }` [INFO] [stdout] 3ebecf7a8f314c7f72a6c17444446d1d34df578f5af9d942401abef200ab0666