[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 beta-2022-04-10 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 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/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+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] 286744dedeb22d9c4ee9938e11bdaf04e174b702825dbcac995033d8b66e2137 [INFO] running `Command { std: "docker" "start" "-a" "286744dedeb22d9c4ee9938e11bdaf04e174b702825dbcac995033d8b66e2137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "286744dedeb22d9c4ee9938e11bdaf04e174b702825dbcac995033d8b66e2137", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "286744dedeb22d9c4ee9938e11bdaf04e174b702825dbcac995033d8b66e2137", kill_on_drop: false }` [INFO] [stdout] 286744dedeb22d9c4ee9938e11bdaf04e174b702825dbcac995033d8b66e2137 [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" "+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] c60c15a03653e7d04451488688996748af13839297e53d339c7fa8669149e232 [INFO] running `Command { std: "docker" "start" "-a" "c60c15a03653e7d04451488688996748af13839297e53d339c7fa8669149e232", 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.62s [INFO] running `Command { std: "docker" "inspect" "c60c15a03653e7d04451488688996748af13839297e53d339c7fa8669149e232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c60c15a03653e7d04451488688996748af13839297e53d339c7fa8669149e232", kill_on_drop: false }` [INFO] [stdout] c60c15a03653e7d04451488688996748af13839297e53d339c7fa8669149e232 [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" "+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] bba220d9bc95dba8f317727da5e3763c9206051b803fe9f5b5b517dfabc5b002 [INFO] running `Command { std: "docker" "start" "-a" "bba220d9bc95dba8f317727da5e3763c9206051b803fe9f5b5b517dfabc5b002", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling oorandom v11.1.0 [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 cast v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling plotters v0.2.12 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling criterion-plot v0.4.1 [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 1m 10s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/slang-c2535e2f91f5360d) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/slang-3babc5e1dbb6ff0d) [INFO] running `Command { std: "docker" "inspect" "bba220d9bc95dba8f317727da5e3763c9206051b803fe9f5b5b517dfabc5b002", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bba220d9bc95dba8f317727da5e3763c9206051b803fe9f5b5b517dfabc5b002", kill_on_drop: false }` [INFO] [stdout] bba220d9bc95dba8f317727da5e3763c9206051b803fe9f5b5b517dfabc5b002 [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e7aea3e8989b7a8172eab25e00af9f6a16fb48cbbe8b40f27bf2cece610ebf6 [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" "2e7aea3e8989b7a8172eab25e00af9f6a16fb48cbbe8b40f27bf2cece610ebf6", 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.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/slang-c2535e2f91f5360d) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::tests::assign ... ok [INFO] [stdout] test tests::tests::casting ... ok [INFO] [stdout] test tests::tests::expression_eval ... ok [INFO] [stdout] test tests::tests::nested_while_loop ... ok [INFO] [stdout] test tests::tests::while_loop ... ok [INFO] [stdout] test tests::tests::multi_table ... ok [INFO] [stdout] test tests::tests::if_statement ... ok [INFO] [stdout] test tests::tests::fib_test ... ok [INFO] [stdout] test tests::tests::if_else_statement ... ok [INFO] [stdout] test tests::tests::basic_fn ... ok [INFO] [stdout] test tests::tests::simple_fileread ... ok [INFO] [stdout] test tests::tests::fib_recurse ... 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: 0x55a47b2818fd - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55a47b2818fd - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a47b2818fd - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55a47b2818fd - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55a47b2a582c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55a47b27de21 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x55a47b283645 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55a47b283645 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55a47b283645 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55a47b283334 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55a47b283b92 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55a47b283a77 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55a47b281db4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55a47b2837a9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55a47b1d3443 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55a47b2a3d11 - core::panicking::panic_display::h45f55b14152ae4d6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:72:5 [INFO] [stdout] 16: 0x55a47b2a3cbb - core::panicking::panic_str::h6b38a6490f54e83e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:56:5 [INFO] [stdout] 17: 0x55a47b1d32b6 - core::option::expect_failed::h46807ac9c179352f [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/option.rs:1874:5 [INFO] [stdout] 18: 0x55a47b1ff2fe - core::option::Option::expect::h5c30bf72c37b8187 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/option.rs:718:21 [INFO] [stdout] 19: 0x55a47b1e389b - slang::exec_block::h0188c0203fe7434f [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:224:33 [INFO] [stdout] 20: 0x55a47b1ede14 - slang::tests::tests::if_elif_statement::h97641f68d38c6643 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:185:9 [INFO] [stdout] 21: 0x55a47b1ed55a - slang::tests::tests::if_elif_statement::{{closure}}::hed0f00c7961ea3d6 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:182:5 [INFO] [stdout] 22: 0x55a47b1f6fee - core::ops::function::FnOnce::call_once::h78a67954d0875a41 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x55a47b25ce13 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x55a47b25ce13 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 25: 0x55a47b25bbc9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 26: 0x55a47b25bbc9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 27: 0x55a47b25bbc9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 28: 0x55a47b25bbc9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 29: 0x55a47b25bbc9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 30: 0x55a47b25bbc9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 31: 0x55a47b25bbc9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 32: 0x55a47b227d7e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 33: 0x55a47b227d7e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 34: 0x55a47b22d2e8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 35: 0x55a47b22d2e8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 36: 0x55a47b22d2e8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 37: 0x55a47b22d2e8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 38: 0x55a47b22d2e8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 39: 0x55a47b22d2e8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 40: 0x55a47b22d2e8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 41: 0x55a47b2883a3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 42: 0x55a47b2883a3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 43: 0x55a47b2883a3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 44: 0x7f693eff3609 - start_thread [INFO] [stdout] 45: 0x7f693edc3163 - 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.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "2e7aea3e8989b7a8172eab25e00af9f6a16fb48cbbe8b40f27bf2cece610ebf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e7aea3e8989b7a8172eab25e00af9f6a16fb48cbbe8b40f27bf2cece610ebf6", kill_on_drop: false }` [INFO] [stdout] 2e7aea3e8989b7a8172eab25e00af9f6a16fb48cbbe8b40f27bf2cece610ebf6