[INFO] cloning repository https://github.com/mkhan45/slang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mkhan45/slang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkhan45%2Fslang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkhan45%2Fslang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f1ddf7fa10777035e8642892acf24370d35da26 [INFO] testing mkhan45/slang against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkhan45%2Fslang" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mkhan45/slang on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mkhan45/slang [INFO] finished tweaking git repo https://github.com/mkhan45/slang [INFO] tweaked toml for git repo https://github.com/mkhan45/slang written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/mkhan45/slang already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded oorandom v11.1.0 [INFO] [stderr] Downloaded tinytemplate v1.0.3 [INFO] [stderr] Downloaded criterion-plot v0.4.1 [INFO] [stderr] Downloaded regex v1.3.5 [INFO] [stderr] Downloaded criterion v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.60.0" "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] 4b974e9a08ebadb411a00b7c8efc55d60ff725c34daa05663e08638ab7fdf416 [INFO] running `Command { std: "docker" "start" "-a" "4b974e9a08ebadb411a00b7c8efc55d60ff725c34daa05663e08638ab7fdf416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b974e9a08ebadb411a00b7c8efc55d60ff725c34daa05663e08638ab7fdf416", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b974e9a08ebadb411a00b7c8efc55d60ff725c34daa05663e08638ab7fdf416", kill_on_drop: false }` [INFO] [stdout] 4b974e9a08ebadb411a00b7c8efc55d60ff725c34daa05663e08638ab7fdf416 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57d4e60f8214305c02a79c7ac3cdb60a5a00ea209c2845f7b0f7768e10057d7b [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" "57d4e60f8214305c02a79c7ac3cdb60a5a00ea209c2845f7b0f7768e10057d7b", kill_on_drop: false }` [INFO] [stderr] Compiling slang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/expression_eval.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | _ => panic!(format!("expr eval'd to not variable: {:?}", expr)), [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] 82 - _ => panic!(format!("expr eval'd to not variable: {:?}", expr)), [INFO] [stdout] 82 + _ => panic!("expr eval'd to not variable: {:?}", expr), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/expression_eval.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | _ => panic!(format!("illegal subtraction: {:?} - {:?}", self, rhs)), [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] 129 - _ => panic!(format!("illegal subtraction: {:?} - {:?}", self, rhs)), [INFO] [stdout] 129 + _ => panic!("illegal subtraction: {:?} - {:?}", self, rhs), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/expression_eval.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 201 | | "Illegal And use with non bool: {:?}, {:?}", [INFO] [stdout] 202 | | self, rhs [INFO] [stdout] 203 | | )); [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] 200 ~ panic!( [INFO] [stdout] 201 | "Illegal And use with non bool: {:?}, {:?}", [INFO] [stdout] 202 | self, rhs [INFO] [stdout] 203 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:295:56 [INFO] [stdout] | [INFO] [stdout] 295 | ... None => panic!(format!( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 296 | | ... "Error on line {}: assigned to uninitialized variable {}", [INFO] [stdout] 297 | | ... context.line_num, [INFO] [stdout] 298 | | ... &lhs [INFO] [stdout] 299 | | ... )), [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] 295 ~ None => panic!( [INFO] [stdout] 296 | "Error on line {}: assigned to uninitialized variable {}", [INFO] [stdout] 297 | context.line_num, [INFO] [stdout] 298 | &lhs [INFO] [stdout] 299 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.56s [INFO] running `Command { std: "docker" "inspect" "57d4e60f8214305c02a79c7ac3cdb60a5a00ea209c2845f7b0f7768e10057d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57d4e60f8214305c02a79c7ac3cdb60a5a00ea209c2845f7b0f7768e10057d7b", kill_on_drop: false }` [INFO] [stdout] 57d4e60f8214305c02a79c7ac3cdb60a5a00ea209c2845f7b0f7768e10057d7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.60.0" "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] 9a801a780f95e0061728ea643d909b2244faf4e00715415f8001cc9a7b61602d [INFO] running `Command { std: "docker" "start" "-a" "9a801a780f95e0061728ea643d909b2244faf4e00715415f8001cc9a7b61602d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/expression_eval.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | _ => panic!(format!("expr eval'd to not variable: {:?}", expr)), [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] 82 - _ => panic!(format!("expr eval'd to not variable: {:?}", expr)), [INFO] [stdout] 82 + _ => panic!("expr eval'd to not variable: {:?}", expr), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/expression_eval.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | _ => panic!(format!("illegal subtraction: {:?} - {:?}", self, rhs)), [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] 129 - _ => panic!(format!("illegal subtraction: {:?} - {:?}", self, rhs)), [INFO] [stdout] 129 + _ => panic!("illegal subtraction: {:?} - {:?}", self, rhs), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/expression_eval.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 201 | | "Illegal And use with non bool: {:?}, {:?}", [INFO] [stdout] 202 | | self, rhs [INFO] [stdout] 203 | | )); [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] 200 ~ panic!( [INFO] [stdout] 201 | "Illegal And use with non bool: {:?}, {:?}", [INFO] [stdout] 202 | self, rhs [INFO] [stdout] 203 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:295:56 [INFO] [stdout] | [INFO] [stdout] 295 | ... None => panic!(format!( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 296 | | ... "Error on line {}: assigned to uninitialized variable {}", [INFO] [stdout] 297 | | ... context.line_num, [INFO] [stdout] 298 | | ... &lhs [INFO] [stdout] 299 | | ... )), [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] 295 ~ None => panic!( [INFO] [stdout] 296 | "Error on line {}: assigned to uninitialized variable {}", [INFO] [stdout] 297 | context.line_num, [INFO] [stdout] 298 | &lhs [INFO] [stdout] 299 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling criterion-plot v0.4.1 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling criterion v0.3.1 [INFO] [stderr] Compiling slang v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/expression_eval.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | _ => panic!(format!("expr eval'd to not variable: {:?}", expr)), [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] 82 - _ => panic!(format!("expr eval'd to not variable: {:?}", expr)), [INFO] [stdout] 82 + _ => panic!("expr eval'd to not variable: {:?}", expr), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/expression_eval.rs:129:25 [INFO] [stdout] | [INFO] [stdout] 129 | _ => panic!(format!("illegal subtraction: {:?} - {:?}", self, rhs)), [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] 129 - _ => panic!(format!("illegal subtraction: {:?} - {:?}", self, rhs)), [INFO] [stdout] 129 + _ => panic!("illegal subtraction: {:?} - {:?}", self, rhs), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/expression_eval.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 201 | | "Illegal And use with non bool: {:?}, {:?}", [INFO] [stdout] 202 | | self, rhs [INFO] [stdout] 203 | | )); [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] 200 ~ panic!( [INFO] [stdout] 201 | "Illegal And use with non bool: {:?}, {:?}", [INFO] [stdout] 202 | self, rhs [INFO] [stdout] 203 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:295:56 [INFO] [stdout] | [INFO] [stdout] 295 | ... None => panic!(format!( [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 296 | | ... "Error on line {}: assigned to uninitialized variable {}", [INFO] [stdout] 297 | | ... context.line_num, [INFO] [stdout] 298 | | ... &lhs [INFO] [stdout] 299 | | ... )), [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] 295 ~ None => panic!( [INFO] [stdout] 296 | "Error on line {}: assigned to uninitialized variable {}", [INFO] [stdout] 297 | context.line_num, [INFO] [stdout] 298 | &lhs [INFO] [stdout] 299 ~ ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 58.61s [INFO] running `Command { std: "docker" "inspect" "9a801a780f95e0061728ea643d909b2244faf4e00715415f8001cc9a7b61602d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a801a780f95e0061728ea643d909b2244faf4e00715415f8001cc9a7b61602d", kill_on_drop: false }` [INFO] [stdout] 9a801a780f95e0061728ea643d909b2244faf4e00715415f8001cc9a7b61602d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 786d3eb5802d372635fd7135d9de862f7b01968c7a5b29668b65933e83acd85a [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" "786d3eb5802d372635fd7135d9de862f7b01968c7a5b29668b65933e83acd85a", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/expression_eval.rs:82:21 [INFO] [stderr] | [INFO] [stderr] 82 | _ => panic!(format!("expr eval'd to not variable: {:?}", expr)), [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] 82 - _ => panic!(format!("expr eval'd to not variable: {:?}", expr)), [INFO] [stderr] 82 + _ => panic!("expr eval'd to not variable: {:?}", expr), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/expression_eval.rs:129:25 [INFO] [stderr] | [INFO] [stderr] 129 | _ => panic!(format!("illegal subtraction: {:?} - {:?}", self, rhs)), [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] 129 - _ => panic!(format!("illegal subtraction: {:?} - {:?}", self, rhs)), [INFO] [stderr] 129 + _ => panic!("illegal subtraction: {:?} - {:?}", self, rhs), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/expression_eval.rs:200:20 [INFO] [stderr] | [INFO] [stderr] 200 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 201 | | "Illegal And use with non bool: {:?}, {:?}", [INFO] [stderr] 202 | | self, rhs [INFO] [stderr] 203 | | )); [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] 200 ~ panic!( [INFO] [stderr] 201 | "Illegal And use with non bool: {:?}, {:?}", [INFO] [stderr] 202 | self, rhs [INFO] [stderr] 203 ~ ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:295:56 [INFO] [stderr] | [INFO] [stderr] 295 | ... None => panic!(format!( [INFO] [stderr] | ______________________________________^ [INFO] [stderr] 296 | | ... "Error on line {}: assigned to uninitialized variable {}", [INFO] [stderr] 297 | | ... context.line_num, [INFO] [stderr] 298 | | ... &lhs [INFO] [stderr] 299 | | ... )), [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] 295 ~ None => panic!( [INFO] [stderr] 296 | "Error on line {}: assigned to uninitialized variable {}", [INFO] [stderr] 297 | context.line_num, [INFO] [stderr] 298 | &lhs [INFO] [stderr] 299 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `slang` (lib) generated 4 warnings [INFO] [stderr] warning: `slang` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/slang-cb0995bd0be2a9cb) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::tests::basic_fn ... ok [INFO] [stdout] test tests::tests::simple_fileread ... ok [INFO] [stdout] test tests::tests::assign ... ok [INFO] [stdout] test tests::tests::while_loop ... ok [INFO] [stdout] test tests::tests::fib_test ... ok [INFO] [stdout] test tests::tests::expression_eval ... ok [INFO] [stdout] test tests::tests::casting ... ok [INFO] [stdout] test tests::tests::if_else_statement ... ok [INFO] [stdout] test tests::tests::if_statement ... ok [INFO] [stdout] test tests::tests::nested_while_loop ... ok [INFO] [stdout] test tests::tests::fib_recurse ... ok [INFO] [stdout] test tests::tests::multi_table ... ok [INFO] [stdout] test tests::tests::if_elif_statement ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::tests::if_elif_statement stdout ---- [INFO] [stdout] thread 'tests::tests::if_elif_statement' panicked at 'Error on line 10: invalid else', src/lib.rs:224:62 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557ed6b327ad - std::backtrace_rs::backtrace::libunwind::trace::hee598835bc88d35b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x557ed6b327ad - std::backtrace_rs::backtrace::trace_unsynchronized::h9cdc730ba5cf5d72 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x557ed6b327ad - std::sys_common::backtrace::_print_fmt::h75aeaf7ed30e43fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x557ed6b327ad - ::fmt::h606862f787600875 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x557ed6b5919c - core::fmt::write::he803f0f418caf762 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x557ed6b2dcc8 - std::io::Write::write_fmt::hbe7c1a63616291e2 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x557ed6b34a87 - std::sys_common::backtrace::_print::h64d038cf8ac3e13e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x557ed6b34a87 - std::sys_common::backtrace::print::h359300b4a7fccf65 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x557ed6b34a87 - std::panicking::default_hook::{{closure}}::hf51be35e2f510149 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x557ed6b347bc - std::panicking::default_hook::h03ca0f22e1d2d25e [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x557ed6b351d9 - std::panicking::rust_panic_with_hook::h3b7380e99b825b63 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x557ed6b34ec7 - std::panicking::begin_panic_handler::{{closure}}::h8e849d0710154ce0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x557ed6b32c74 - std::sys_common::backtrace::__rust_end_short_backtrace::hedcdaddbd4c46cc5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x557ed6b34bd9 - rust_begin_unwind [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x557ed6a86193 - core::panicking::panic_fmt::he1bbc7336d49a357 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x557ed6b57671 - core::panicking::panic_display::hb184394d54dc8360 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:73:5 [INFO] [stdout] 16: 0x557ed6b5761b - core::panicking::panic_str::ha42887cd972750c9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panicking.rs:56:5 [INFO] [stdout] 17: 0x557ed6a86006 - core::option::expect_failed::h9159c9d16ed9fb7c [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/option.rs:1852:5 [INFO] [stdout] 18: 0x557ed6aad03e - core::option::Option::expect::h9133214eace219ee [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/option.rs:715:21 [INFO] [stdout] 19: 0x557ed6ad797f - slang::exec_block::h6a3f44c45c2a4db9 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:224:33 [INFO] [stdout] 20: 0x557ed6a9ec99 - slang::tests::tests::if_elif_statement::he028de21470c0fe2 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:185:9 [INFO] [stdout] 21: 0x557ed6a9e22a - slang::tests::tests::if_elif_statement::{{closure}}::h651055108c393ab5 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:182:5 [INFO] [stdout] 22: 0x557ed6aa9d1e - core::ops::function::FnOnce::call_once::h7686dc490a02a750 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x557ed6b07fc3 - core::ops::function::FnOnce::call_once::h2a47b4b927cb6ca5 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x557ed6b07fc3 - test::__rust_begin_short_backtrace::h594ef8055a183b9b [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:575:5 [INFO] [stdout] 25: 0x557ed6b06ca4 - as core::ops::function::FnOnce>::call_once::hb40cbb8bc3e1be15 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 26: 0x557ed6b06ca4 - as core::ops::function::FnOnce<()>>::call_once::ha4f2bd3b806745a0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 27: 0x557ed6b06ca4 - std::panicking::try::do_call::h92af9f8bc77a5987 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 28: 0x557ed6b06ca4 - std::panicking::try::h9df49eeae42572b7 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 29: 0x557ed6b06ca4 - std::panic::catch_unwind::h101dbadc82bbe0fd [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 30: 0x557ed6b06ca4 - test::run_test_in_process::h2ad7bffb068e750a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:598:18 [INFO] [stdout] 31: 0x557ed6b06ca4 - test::run_test::run_test_inner::{{closure}}::h384faf46554c5acb [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:492:39 [INFO] [stdout] 32: 0x557ed6b105c1 - test::run_test::run_test_inner::{{closure}}::h17cfe94835a46685 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/test/src/lib.rs:519:37 [INFO] [stdout] 33: 0x557ed6b105c1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h82709e5086312627 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 34: 0x557ed6adcc3f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hdfea66a201b39571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 35: 0x557ed6adcc3f - as core::ops::function::FnOnce<()>>::call_once::h4912df03598e67fa [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 36: 0x557ed6adcc3f - std::panicking::try::do_call::h6d5dc1045d0eade8 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:492:40 [INFO] [stdout] 37: 0x557ed6adcc3f - std::panicking::try::hbc897fc717ec6571 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panicking.rs:456:19 [INFO] [stdout] 38: 0x557ed6adcc3f - std::panic::catch_unwind::h27f1e958c91391ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/panic.rs:137:14 [INFO] [stdout] 39: 0x557ed6adcc3f - std::thread::Builder::spawn_unchecked_::{{closure}}::h1b42e48537edc3c0 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 40: 0x557ed6adcc3f - core::ops::function::FnOnce::call_once{{vtable.shim}}::h9137b3d6d2a88354 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 41: 0x557ed6b3aec3 - as core::ops::function::FnOnce>::call_once::hf70ac038171e3e1a [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 42: 0x557ed6b3aec3 - as core::ops::function::FnOnce>::call_once::he6690128792365ad [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/alloc/src/boxed.rs:1853:9 [INFO] [stdout] 43: 0x557ed6b3aec3 - std::sys::unix::thread::Thread::new::thread_start::ha07928d93d5a5ec9 [INFO] [stdout] at /rustc/7737e0b5c4103216d6fd8cf941b7ab9bdbaace7c/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7f3bbe69c609 - start_thread [INFO] [stdout] 45: 0x7f3bbe46c163 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::tests::if_elif_statement [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "786d3eb5802d372635fd7135d9de862f7b01968c7a5b29668b65933e83acd85a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "786d3eb5802d372635fd7135d9de862f7b01968c7a5b29668b65933e83acd85a", kill_on_drop: false }` [INFO] [stdout] 786d3eb5802d372635fd7135d9de862f7b01968c7a5b29668b65933e83acd85a