[INFO] cloning repository https://github.com/SpacialCircumstances/minipython-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpacialCircumstances/minipython-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpacialCircumstances%2Fminipython-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpacialCircumstances%2Fminipython-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53c16932c5c00f69deb39b98786a35a10f6f4234 [INFO] testing SpacialCircumstances/minipython-interpreter against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpacialCircumstances%2Fminipython-interpreter" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SpacialCircumstances/minipython-interpreter on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SpacialCircumstances/minipython-interpreter [INFO] finished tweaking git repo https://github.com/SpacialCircumstances/minipython-interpreter [INFO] tweaked toml for git repo https://github.com/SpacialCircumstances/minipython-interpreter written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/SpacialCircumstances/minipython-interpreter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cb1e5ae6efc603aa0952640f35a437e204bf788037323e3c0b5051f0504e6615 [INFO] running `Command { std: "docker" "start" "-a" "cb1e5ae6efc603aa0952640f35a437e204bf788037323e3c0b5051f0504e6615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb1e5ae6efc603aa0952640f35a437e204bf788037323e3c0b5051f0504e6615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb1e5ae6efc603aa0952640f35a437e204bf788037323e3c0b5051f0504e6615", kill_on_drop: false }` [INFO] [stdout] cb1e5ae6efc603aa0952640f35a437e204bf788037323e3c0b5051f0504e6615 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7cee87f905b4c053f851de24c5d1f468e68413802f7cf03505692fdb01cb4cc2 [INFO] running `Command { std: "docker" "start" "-a" "7cee87f905b4c053f851de24c5d1f468e68413802f7cf03505692fdb01cb4cc2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling pom v3.0.2 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling minipython v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | panic!(format!("Function {} expected {} arguments, but got {}", fun_name, func.parameters.len(), args.len())); [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] 124 - panic!(format!("Function {} expected {} arguments, but got {}", fun_name, func.parameters.len(), args.len())); [INFO] [stdout] 124 + panic!("Function {} expected {} arguments, but got {}", fun_name, func.parameters.len(), args.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | None => panic!(format!("Function {} returned no result", fun_name)), [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] 139 - None => panic!(format!("Function {} returned no result", fun_name)), [INFO] [stdout] 139 + None => panic!("Function {} returned no result", fun_name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | ... panic!(format!("Value given for {} must be > 0, but was {}.", input, 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] 45 - panic!(format!("Value given for {} must be > 0, but was {}.", input, value)); [INFO] [stdout] 45 + panic!("Value given for {} must be > 0, but was {}.", input, value); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is interactive!", e)) [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] 54 - Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is interactive!", e)) [INFO] [stdout] 54 + Err(e) => panic!("Parser error: {}. Make sure the script you are using is interactive!", e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is non-interactive!", e)) [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] 64 - Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is non-interactive!", e)) [INFO] [stdout] 64 + Err(e) => panic!("Parser error: {}. Make sure the script you are using is non-interactive!", e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.30s [INFO] running `Command { std: "docker" "inspect" "7cee87f905b4c053f851de24c5d1f468e68413802f7cf03505692fdb01cb4cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cee87f905b4c053f851de24c5d1f468e68413802f7cf03505692fdb01cb4cc2", kill_on_drop: false }` [INFO] [stdout] 7cee87f905b4c053f851de24c5d1f468e68413802f7cf03505692fdb01cb4cc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 25f365fda5d2da072e88208a068bca0f2743baee548bf5ac9c65cb0372823b95 [INFO] running `Command { std: "docker" "start" "-a" "25f365fda5d2da072e88208a068bca0f2743baee548bf5ac9c65cb0372823b95", kill_on_drop: false }` [INFO] [stderr] Compiling minipython v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | panic!(format!("Function {} expected {} arguments, but got {}", fun_name, func.parameters.len(), args.len())); [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] 124 - panic!(format!("Function {} expected {} arguments, but got {}", fun_name, func.parameters.len(), args.len())); [INFO] [stdout] 124 + panic!("Function {} expected {} arguments, but got {}", fun_name, func.parameters.len(), args.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/interpreter.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | None => panic!(format!("Function {} returned no result", fun_name)), [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] 139 - None => panic!(format!("Function {} returned no result", fun_name)), [INFO] [stdout] 139 + None => panic!("Function {} returned no result", fun_name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | ... panic!(format!("Value given for {} must be > 0, but was {}.", input, 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] 45 - panic!(format!("Value given for {} must be > 0, but was {}.", input, value)); [INFO] [stdout] 45 + panic!("Value given for {} must be > 0, but was {}.", input, value); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is interactive!", e)) [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] 54 - Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is interactive!", e)) [INFO] [stdout] 54 + Err(e) => panic!("Parser error: {}. Make sure the script you are using is interactive!", e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is non-interactive!", e)) [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] 64 - Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is non-interactive!", e)) [INFO] [stdout] 64 + Err(e) => panic!("Parser error: {}. Make sure the script you are using is non-interactive!", e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.73s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/minipython-c869cfed65975344) [INFO] running `Command { std: "docker" "inspect" "25f365fda5d2da072e88208a068bca0f2743baee548bf5ac9c65cb0372823b95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f365fda5d2da072e88208a068bca0f2743baee548bf5ac9c65cb0372823b95", kill_on_drop: false }` [INFO] [stdout] 25f365fda5d2da072e88208a068bca0f2743baee548bf5ac9c65cb0372823b95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5abfda300564900fe1ef9ba244b7c5302de7a08aaa80700f1821ac7a73009297 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5abfda300564900fe1ef9ba244b7c5302de7a08aaa80700f1821ac7a73009297", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 4 tests [INFO] [stderr] --> src/interpreter.rs:124:24 [INFO] [stdout] test parser::tests::parse_1 ... ok [INFO] [stderr] | [INFO] [stdout] test parser::tests::parse_2 ... ok [INFO] [stderr] 124 | panic!(format!("Function {} expected {} arguments, but got {}", fun_name, func.parameters.len(), args.len())); [INFO] [stdout] test parser::tests::parse_4 ... ok [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] 124 - panic!(format!("Function {} expected {} arguments, but got {}", fun_name, func.parameters.len(), args.len())); [INFO] [stderr] 124 + panic!("Function {} expected {} arguments, but got {}", fun_name, func.parameters.len(), args.len()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/interpreter.rs:139:32 [INFO] [stderr] | [INFO] [stderr] 139 | None => panic!(format!("Function {} returned no result", fun_name)), [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] 139 - None => panic!(format!("Function {} returned no result", fun_name)), [INFO] [stderr] 139 + None => panic!("Function {} returned no result", fun_name), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:45:36 [INFO] [stderr] | [INFO] [stderr] 45 | ... panic!(format!("Value given for {} must be > 0, but was {}.", input, 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] 45 - panic!(format!("Value given for {} must be > 0, but was {}.", input, value)); [INFO] [stderr] 45 + panic!("Value given for {} must be > 0, but was {}.", input, value); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:54:34 [INFO] [stderr] | [INFO] [stderr] 54 | Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is interactive!", e)) [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] 54 - Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is interactive!", e)) [INFO] [stderr] 54 + Err(e) => panic!("Parser error: {}. Make sure the script you are using is interactive!", e) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:64:34 [INFO] [stderr] | [INFO] [stderr] 64 | Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is non-interactive!", e)) [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] 64 - Err(e) => panic!(format!("Parser error: {}. Make sure the script you are using is non-interactive!", e)) [INFO] [stderr] 64 + Err(e) => panic!("Parser error: {}. Make sure the script you are using is non-interactive!", e) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `minipython` (bin "minipython" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/minipython-c869cfed65975344) [INFO] [stdout] test parser::tests::parse_3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5abfda300564900fe1ef9ba244b7c5302de7a08aaa80700f1821ac7a73009297", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5abfda300564900fe1ef9ba244b7c5302de7a08aaa80700f1821ac7a73009297", kill_on_drop: false }` [INFO] [stdout] 5abfda300564900fe1ef9ba244b7c5302de7a08aaa80700f1821ac7a73009297