[INFO] cloning repository https://github.com/brundonsmith/jqr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brundonsmith/jqr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fjqr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fjqr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48ca16c352181c2db9e9fbb99c7f116fdc670932 [INFO] testing brundonsmith/jqr against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrundonsmith%2Fjqr" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brundonsmith/jqr on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brundonsmith/jqr [INFO] finished tweaking git repo https://github.com/brundonsmith/jqr [INFO] tweaked toml for git repo https://github.com/brundonsmith/jqr written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/brundonsmith/jqr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb8d0bdd4fe9ce28c71dafa7e470518c98f98ecf5483616d5fe1b224c861b97e [INFO] running `Command { std: "docker" "start" "-a" "eb8d0bdd4fe9ce28c71dafa7e470518c98f98ecf5483616d5fe1b224c861b97e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb8d0bdd4fe9ce28c71dafa7e470518c98f98ecf5483616d5fe1b224c861b97e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb8d0bdd4fe9ce28c71dafa7e470518c98f98ecf5483616d5fe1b224c861b97e", kill_on_drop: false }` [INFO] [stdout] eb8d0bdd4fe9ce28c71dafa7e470518c98f98ecf5483616d5fe1b224c861b97e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdad41079c212f3b7edf1a11a4eb9f4354a7e03da811580581ba4a38b051cf30 [INFO] running `Command { std: "docker" "start" "-a" "cdad41079c212f3b7edf1a11a4eb9f4354a7e03da811580581ba4a38b051cf30", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling jqr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ...c!(format!("Error: Object identifier index can only be used on values of type Object; tried to get property {} of {}", identifier, val)) [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] 18 | panic!("Error: Object identifier index can only be used on values of type Object; tried to get property {} of {}", identifier, val) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Error: Array index can only be used on values of type Array; got {}", val)) [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] 26 | panic!("Error: Array index can only be used on values of type Array; got {}", val) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(format!("Cannot get values of {}", val)); [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] 43 | panic!("Cannot get values of {}", val); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | ... panic!(format!("Cannot get slice of {}", val)); [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] 71 | panic!("Cannot get slice of {}", val); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | panic!(format!("Error: 'not' can only be used on values of type Boolean; got '{}'", val)); [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] 121 | panic!("Error: 'not' can only be used on values of type Boolean; got '{}'", val); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | _ => panic!(format!("Cannot get keys from value {}", val)) [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] 338 | _ => panic!("Cannot get keys from value {}", val) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:374:16 [INFO] [stdout] | [INFO] [stdout] 374 | panic!(format!("Cannot add values {} and {}", JSONValue::String { s: a.clone(), needs_escaping: false }, b)); [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] 374 | panic!("Cannot add values {} and {}", JSONValue::String { s: a.clone(), needs_escaping: false }, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | panic!(format!("Cannot add values {} and {}", JSONValue::Array(a.clone()), b)); [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] 386 | panic!("Cannot add values {} and {}", JSONValue::Array(a.clone()), b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | panic!(format!("Cannot add values {} and {}", a, b)); [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] 399 | panic!("Cannot add values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | panic!(format!("Cannot subtract values {} and {}", a, b)); [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] 428 | panic!("Cannot subtract values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | panic!(format!("Cannot multiply values {} and {}", a, b)); [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] 468 | panic!("Cannot multiply values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:552:12 [INFO] [stdout] | [INFO] [stdout] 552 | panic!(format!("Cannot divide values {} and {}", a, b)); [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] 552 | panic!("Cannot divide values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:570:12 [INFO] [stdout] | [INFO] [stdout] 570 | panic!(format!("Cannot get the modulus of values {} and {}", a, b)); [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] 570 | panic!("Cannot get the modulus of values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:632:12 [INFO] [stdout] | [INFO] [stdout] 632 | panic!(format!("Cannot apply 'and' to values {} and {}", a, b)); [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] 632 | panic!("Cannot apply 'and' to values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:644:12 [INFO] [stdout] | [INFO] [stdout] 644 | panic!(format!("Cannot apply 'or' to values {} and {}", a, b)); [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] 644 | panic!("Cannot apply 'or' to values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:180:111 [INFO] [stdout] | [INFO] [stdout] 180 | filter_parsed: filter_parser::parse(pattern).map_err(|e| e.to_string()).unwrap_or_else(|e| panic!(e)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 180 | filter_parsed: filter_parser::parse(pattern).map_err(|e| e.to_string()).unwrap_or_else(|e| panic!("{}", e)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 180 | filter_parsed: filter_parser::parse(pattern).map_err(|e| e.to_string()).unwrap_or_else(|e| std::panic::panic_any(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "cdad41079c212f3b7edf1a11a4eb9f4354a7e03da811580581ba4a38b051cf30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdad41079c212f3b7edf1a11a4eb9f4354a7e03da811580581ba4a38b051cf30", kill_on_drop: false }` [INFO] [stdout] cdad41079c212f3b7edf1a11a4eb9f4354a7e03da811580581ba4a38b051cf30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b708d43892c7bc469078d60c331f4098d15e86fa822bef053eaa35b543acecd5 [INFO] running `Command { std: "docker" "start" "-a" "b708d43892c7bc469078d60c331f4098d15e86fa822bef053eaa35b543acecd5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling jqr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | ...c!(format!("Error: Object identifier index can only be used on values of type Object; tried to get property {} of {}", identifier, val)) [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] 18 | panic!("Error: Object identifier index can only be used on values of type Object; tried to get property {} of {}", identifier, val) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | panic!(format!("Error: Array index can only be used on values of type Array; got {}", val)) [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] 26 | panic!("Error: Array index can only be used on values of type Array; got {}", val) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 43 | panic!(format!("Cannot get values of {}", val)); [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] 43 | panic!("Cannot get values of {}", val); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | ... panic!(format!("Cannot get slice of {}", val)); [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] 71 | panic!("Cannot get slice of {}", val); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | panic!(format!("Error: 'not' can only be used on values of type Boolean; got '{}'", val)); [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] 121 | panic!("Error: 'not' can only be used on values of type Boolean; got '{}'", val); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:338:21 [INFO] [stdout] | [INFO] [stdout] 338 | _ => panic!(format!("Cannot get keys from value {}", val)) [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] 338 | _ => panic!("Cannot get keys from value {}", val) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:374:16 [INFO] [stdout] | [INFO] [stdout] 374 | panic!(format!("Cannot add values {} and {}", JSONValue::String { s: a.clone(), needs_escaping: false }, b)); [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] 374 | panic!("Cannot add values {} and {}", JSONValue::String { s: a.clone(), needs_escaping: false }, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:386:16 [INFO] [stdout] | [INFO] [stdout] 386 | panic!(format!("Cannot add values {} and {}", JSONValue::Array(a.clone()), b)); [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] 386 | panic!("Cannot add values {} and {}", JSONValue::Array(a.clone()), b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:399:12 [INFO] [stdout] | [INFO] [stdout] 399 | panic!(format!("Cannot add values {} and {}", a, b)); [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] 399 | panic!("Cannot add values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 428 | panic!(format!("Cannot subtract values {} and {}", a, b)); [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] 428 | panic!("Cannot subtract values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:468:12 [INFO] [stdout] | [INFO] [stdout] 468 | panic!(format!("Cannot multiply values {} and {}", a, b)); [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] 468 | panic!("Cannot multiply values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:552:12 [INFO] [stdout] | [INFO] [stdout] 552 | panic!(format!("Cannot divide values {} and {}", a, b)); [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] 552 | panic!("Cannot divide values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:570:12 [INFO] [stdout] | [INFO] [stdout] 570 | panic!(format!("Cannot get the modulus of values {} and {}", a, b)); [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] 570 | panic!("Cannot get the modulus of values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:632:12 [INFO] [stdout] | [INFO] [stdout] 632 | panic!(format!("Cannot apply 'and' to values {} and {}", a, b)); [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] 632 | panic!("Cannot apply 'and' to values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/filter_interpreter.rs:644:12 [INFO] [stdout] | [INFO] [stdout] 644 | panic!(format!("Cannot apply 'or' to values {} and {}", a, b)); [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] 644 | panic!("Cannot apply 'or' to values {} and {}", a, b); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:180:111 [INFO] [stdout] | [INFO] [stdout] 180 | filter_parsed: filter_parser::parse(pattern).map_err(|e| e.to_string()).unwrap_or_else(|e| panic!(e)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 180 | filter_parsed: filter_parser::parse(pattern).map_err(|e| e.to_string()).unwrap_or_else(|e| panic!("{}", e)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 180 | filter_parsed: filter_parser::parse(pattern).map_err(|e| e.to_string()).unwrap_or_else(|e| std::panic::panic_any(e)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 31.92s [INFO] running `Command { std: "docker" "inspect" "b708d43892c7bc469078d60c331f4098d15e86fa822bef053eaa35b543acecd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b708d43892c7bc469078d60c331f4098d15e86fa822bef053eaa35b543acecd5", kill_on_drop: false }` [INFO] [stdout] b708d43892c7bc469078d60c331f4098d15e86fa822bef053eaa35b543acecd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f6803c66a430d96cddf1965c58c4c3d6a1af8ea33c2fae4b1574f5c539d8ccc7 [INFO] running `Command { std: "docker" "start" "-a" "f6803c66a430d96cddf1965c58c4c3d6a1af8ea33c2fae4b1574f5c539d8ccc7", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:18:28 [INFO] [stderr] | [INFO] [stderr] 18 | ...c!(format!("Error: Object identifier index can only be used on values of type Object; tried to get property {} of {}", identifier, val)) [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] 18 | panic!("Error: Object identifier index can only be used on values of type Object; tried to get property {} of {}", identifier, val) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | panic!(format!("Error: Array index can only be used on values of type Array; got {}", val)) [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] 26 | panic!("Error: Array index can only be used on values of type Array; got {}", val) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:43:32 [INFO] [stderr] | [INFO] [stderr] 43 | panic!(format!("Cannot get values of {}", val)); [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] 43 | panic!("Cannot get values of {}", val); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:71:36 [INFO] [stderr] | [INFO] [stderr] 71 | ... panic!(format!("Cannot get slice of {}", val)); [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] 71 | panic!("Cannot get slice of {}", val); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:121:24 [INFO] [stderr] | [INFO] [stderr] 121 | panic!(format!("Error: 'not' can only be used on values of type Boolean; got '{}'", val)); [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] 121 | panic!("Error: 'not' can only be used on values of type Boolean; got '{}'", val); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:338:21 [INFO] [stderr] | [INFO] [stderr] 338 | _ => panic!(format!("Cannot get keys from value {}", val)) [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] 338 | _ => panic!("Cannot get keys from value {}", val) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:374:16 [INFO] [stderr] | [INFO] [stderr] 374 | panic!(format!("Cannot add values {} and {}", JSONValue::String { s: a.clone(), needs_escaping: false }, b)); [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] 374 | panic!("Cannot add values {} and {}", JSONValue::String { s: a.clone(), needs_escaping: false }, b); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:386:16 [INFO] [stderr] | [INFO] [stderr] 386 | panic!(format!("Cannot add values {} and {}", JSONValue::Array(a.clone()), b)); [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] 386 | panic!("Cannot add values {} and {}", JSONValue::Array(a.clone()), b); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:399:12 [INFO] [stderr] | [INFO] [stderr] 399 | panic!(format!("Cannot add values {} and {}", a, b)); [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] 399 | panic!("Cannot add values {} and {}", a, b); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:428:12 [INFO] [stderr] | [INFO] [stderr] 428 | panic!(format!("Cannot subtract values {} and {}", a, b)); [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] 428 | panic!("Cannot subtract values {} and {}", a, b); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:468:12 [INFO] [stderr] | [INFO] [stderr] 468 | panic!(format!("Cannot multiply values {} and {}", a, b)); [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] 468 | panic!("Cannot multiply values {} and {}", a, b); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:552:12 [INFO] [stderr] | [INFO] [stderr] 552 | panic!(format!("Cannot divide values {} and {}", a, b)); [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] 552 | panic!("Cannot divide values {} and {}", a, b); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:570:12 [INFO] [stderr] | [INFO] [stderr] 570 | panic!(format!("Cannot get the modulus of values {} and {}", a, b)); [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] 570 | panic!("Cannot get the modulus of values {} and {}", a, b); [INFO] [stderr] | -- -- [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 69 tests [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:632:12 [INFO] [stderr] | [INFO] [stderr] 632 | panic!(format!("Cannot apply 'and' to values {} and {}", a, b)); [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] 632 | panic!("Cannot apply 'and' to values {} and {}", a, b); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/filter_interpreter.rs:644:12 [INFO] [stderr] | [INFO] [stderr] 644 | panic!(format!("Cannot apply 'or' to values {} and {}", a, b)); [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] 644 | panic!("Cannot apply 'or' to values {} and {}", a, b); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:180:111 [INFO] [stderr] | [INFO] [stderr] 180 | filter_parsed: filter_parser::parse(pattern).map_err(|e| e.to_string()).unwrap_or_else(|e| panic!(e)) [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 180 | filter_parsed: filter_parser::parse(pattern).map_err(|e| e.to_string()).unwrap_or_else(|e| panic!("{}", e)) [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 180 | filter_parsed: filter_parser::parse(pattern).map_err(|e| e.to_string()).unwrap_or_else(|e| std::panic::panic_any(e)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jqr-4f7e7aa03bd82ff0) [INFO] [stdout] test filter_interpreter::tests::math_2 ... ok [INFO] [stdout] test filter_interpreter::tests::multi_value_input ... ok [INFO] [stdout] test filter_interpreter::tests::math_3 ... ok [INFO] [stdout] test filter_interpreter::tests::max_present ... ok [INFO] [stdout] test filter_interpreter::tests::min_absent ... ok [INFO] [stdout] test filter_interpreter::tests::object_property_optional_operator ... ok [INFO] [stdout] test filter_interpreter::tests::min_present ... ok [INFO] [stdout] test filter_interpreter::tests::parenthesis ... ok [INFO] [stdout] test filter_interpreter::tests::multiply_objects ... ok [INFO] [stdout] test filter_interpreter::tests::property_access_1 ... ok [INFO] [stdout] test filter_interpreter::tests::property_access_2 ... ok [INFO] [stdout] test filter_interpreter::tests::property_access_and_elements ... ok [INFO] [stdout] test filter_interpreter::tests::property_access_and_index_1 ... ok [INFO] [stdout] test filter_interpreter::tests::property_access_and_index_2 ... ok [INFO] [stdout] test filter_interpreter::tests::property_access_and_math ... ok [INFO] [stdout] test filter_interpreter::tests::property_access_and_slice_1 ... ok [INFO] [stdout] test filter_interpreter::tests::property_access_and_slice_2 ... ok [INFO] [stdout] test filter_interpreter::tests::property_access_and_slice_3 ... ok [INFO] [stdout] test filter_interpreter::tests::reverse ... ok [INFO] [stdout] test filter_interpreter::tests::slice_optional_operator ... ok [INFO] [stdout] test filter_interpreter::tests::map ... ok [INFO] [stdout] test filter_interpreter::tests::keys ... ok [INFO] [stdout] test filter_interpreter::tests::has_property_present ... ok [INFO] [stdout] test filter_interpreter::tests::has_property_absent ... ok [INFO] [stdout] test filter_interpreter::tests::has_array_present ... ok [INFO] [stdout] test filter_interpreter::tests::has_array_absent ... ok [INFO] [stdout] test filter_interpreter::tests::sort_arrays ... ok [INFO] [stdout] test filter_interpreter::tests::alternative_operator ... ok [INFO] [stdout] test filter_interpreter::tests::flatten ... ok [INFO] [stdout] test filter_interpreter::tests::divide_string ... ok [INFO] [stdout] test filter_interpreter::tests::string_slice_unicode ... ok [INFO] [stdout] test filter_interpreter::tests::string_slice ... ok [INFO] [stdout] test json_model::tests::test_7 ... ok [INFO] [stdout] test json_model::tests::test_2 ... ok [INFO] [stdout] test json_model::tests::test_4 ... ok [INFO] [stdout] test filter_parser::tests::test_6 ... ok [INFO] [stdout] test filter_parser::tests::test_8 ... ok [INFO] [stdout] test filter_model::tests::test_1 ... ok [INFO] [stdout] test filter_interpreter::tests::type_name ... ok [INFO] [stdout] test filter_interpreter::tests::string_addition ... ok [INFO] [stdout] test filter_interpreter::tests::string_multiplication ... ok [INFO] [stdout] test filter_parser::tests::test_10 ... ok [INFO] [stdout] test filter_parser::tests::test_11 ... ok [INFO] [stdout] test filter_parser::tests::test_2 ... ok [INFO] [stdout] test filter_parser::tests::test_3 ... ok [INFO] [stdout] test filter_parser::tests::test_4 ... ok [INFO] [stdout] test filter_parser::tests::test_5 ... ok [INFO] [stdout] test filter_parser::tests::test_7 ... ok [INFO] [stdout] test filter_parser::tests::test_9 ... ok [INFO] [stdout] test json_model::tests::test_1 ... ok [INFO] [stdout] test json_model::tests::test_3 ... ok [INFO] [stdout] test json_model::tests::test_5 ... ok [INFO] [stdout] test json_model::tests::test_6 ... ok [INFO] [stdout] test json_parser::parser_tests::test_1 ... ok [INFO] [stdout] test json_parser::parser_tests::test_10 ... ok [INFO] [stdout] test json_parser::parser_tests::test_11 ... ok [INFO] [stdout] test filter_parser::tests::test_1 ... ok [INFO] [stdout] test filter_interpreter::tests::math_1 ... ok [INFO] [stdout] test filter_interpreter::tests::array_subtraction ... ok [INFO] [stdout] test filter_interpreter::tests::sort_objects ... ok [INFO] [stdout] test json_parser::parser_tests::test_4 ... ok [INFO] [stdout] test json_parser::parser_tests::test_2 ... ok [INFO] [stdout] test json_parser::parser_tests::test_12 ... ok [INFO] [stdout] test json_parser::parser_tests::test_3 ... ok [INFO] [stdout] test json_parser::parser_tests::test_8 ... ok [INFO] [stdout] test json_parser::parser_tests::test_7 ... ok [INFO] [stdout] test json_parser::parser_tests::test_9 ... ok [INFO] [stdout] test json_parser::parser_tests::test_6 ... ok [INFO] [stdout] test json_parser::parser_tests::test_5 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 69 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f6803c66a430d96cddf1965c58c4c3d6a1af8ea33c2fae4b1574f5c539d8ccc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6803c66a430d96cddf1965c58c4c3d6a1af8ea33c2fae4b1574f5c539d8ccc7", kill_on_drop: false }` [INFO] [stdout] f6803c66a430d96cddf1965c58c4c3d6a1af8ea33c2fae4b1574f5c539d8ccc7