[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-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpacialCircumstances%2Fminipython-interpreter" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SpacialCircumstances/minipython-interpreter on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-0/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-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pom v3.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b2a021518e9e1fe52e7043b4cee0a65ca9760bdd1ee19a22f0f68f53d1ad650 [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" "9b2a021518e9e1fe52e7043b4cee0a65ca9760bdd1ee19a22f0f68f53d1ad650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b2a021518e9e1fe52e7043b4cee0a65ca9760bdd1ee19a22f0f68f53d1ad650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b2a021518e9e1fe52e7043b4cee0a65ca9760bdd1ee19a22f0f68f53d1ad650", kill_on_drop: false }` [INFO] [stdout] 9b2a021518e9e1fe52e7043b4cee0a65ca9760bdd1ee19a22f0f68f53d1ad650 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4348ab5db18e73fd94a489157cf4df077ac6b9886fcbe539ad71ae021ed9adcc [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" "4348ab5db18e73fd94a489157cf4df077ac6b9886fcbe539ad71ae021ed9adcc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling pom v3.0.2 [INFO] [stderr] Compiling indexmap v1.3.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.03s [INFO] running `Command { std: "docker" "inspect" "4348ab5db18e73fd94a489157cf4df077ac6b9886fcbe539ad71ae021ed9adcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4348ab5db18e73fd94a489157cf4df077ac6b9886fcbe539ad71ae021ed9adcc", kill_on_drop: false }` [INFO] [stdout] 4348ab5db18e73fd94a489157cf4df077ac6b9886fcbe539ad71ae021ed9adcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9f4dd5454c2bf58f0dc4f40eb34b695fb2ee98332584f8c486763b0ae8bbb89 [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" "c9f4dd5454c2bf58f0dc4f40eb34b695fb2ee98332584f8c486763b0ae8bbb89", 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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.25s [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c9f4dd5454c2bf58f0dc4f40eb34b695fb2ee98332584f8c486763b0ae8bbb89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9f4dd5454c2bf58f0dc4f40eb34b695fb2ee98332584f8c486763b0ae8bbb89", kill_on_drop: false }` [INFO] [stdout] c9f4dd5454c2bf58f0dc4f40eb34b695fb2ee98332584f8c486763b0ae8bbb89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e41ca395e926e76c6dde80957b60200b737aee88dab98b96fbd33ffef48f625 [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" "6e41ca395e926e76c6dde80957b60200b737aee88dab98b96fbd33ffef48f625", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/interpreter.rs:124:24 [INFO] [stderr] | [INFO] [stderr] 124 | panic!(format!("Function {} expected {} arguments, but got {}", fun_name, func.parameters.len(), args.len())); [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.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/minipython-5eb3ef4d4986233c) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test parser::tests::parse_3 ... ok [INFO] [stdout] test parser::tests::parse_2 ... ok [INFO] [stdout] test parser::tests::parse_4 ... ok [INFO] [stdout] test parser::tests::parse_1 ... 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" "6e41ca395e926e76c6dde80957b60200b737aee88dab98b96fbd33ffef48f625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e41ca395e926e76c6dde80957b60200b737aee88dab98b96fbd33ffef48f625", kill_on_drop: false }` [INFO] [stdout] 6e41ca395e926e76c6dde80957b60200b737aee88dab98b96fbd33ffef48f625