[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkhan45%2Fslang" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mkhan45/slang on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-13/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56df793ba880ba66cf570063446a67468bad2e2b59016410f1335e8b5ae85398 [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" "56df793ba880ba66cf570063446a67468bad2e2b59016410f1335e8b5ae85398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56df793ba880ba66cf570063446a67468bad2e2b59016410f1335e8b5ae85398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56df793ba880ba66cf570063446a67468bad2e2b59016410f1335e8b5ae85398", kill_on_drop: false }` [INFO] [stdout] 56df793ba880ba66cf570063446a67468bad2e2b59016410f1335e8b5ae85398 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df7afa6724eb95f084fd095d896332da43a2e9ab07ab1f19f5003d0fca8065bc [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" "df7afa6724eb95f084fd095d896332da43a2e9ab07ab1f19f5003d0fca8065bc", 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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 2.24s [INFO] running `Command { std: "docker" "inspect" "df7afa6724eb95f084fd095d896332da43a2e9ab07ab1f19f5003d0fca8065bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df7afa6724eb95f084fd095d896332da43a2e9ab07ab1f19f5003d0fca8065bc", kill_on_drop: false }` [INFO] [stdout] df7afa6724eb95f084fd095d896332da43a2e9ab07ab1f19f5003d0fca8065bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 637c272010f9cac4d3a2577c35fc07ff4c1a4571001dd85b8b3045d2c94bcedf [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" "637c272010f9cac4d3a2577c35fc07ff4c1a4571001dd85b8b3045d2c94bcedf", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling itoa v0.4.5 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 82 | _ => panic!("expr eval'd to not variable: {:?}", expr), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicode-width v0.1.7 [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 129 | _ => panic!("illegal subtraction: {:?} - {:?}", self, rhs), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-syntax v0.6.17 [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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] [stderr] Compiling oorandom v11.1.0 [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 textwrap v0.11.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [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 quote v1.0.3 [INFO] [stderr] Compiling criterion-plot v0.4.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling plotters v0.2.12 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling tinytemplate v1.0.3 [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 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 53.36s [INFO] running `Command { std: "docker" "inspect" "637c272010f9cac4d3a2577c35fc07ff4c1a4571001dd85b8b3045d2c94bcedf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "637c272010f9cac4d3a2577c35fc07ff4c1a4571001dd85b8b3045d2c94bcedf", kill_on_drop: false }` [INFO] [stdout] 637c272010f9cac4d3a2577c35fc07ff4c1a4571001dd85b8b3045d2c94bcedf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a28b93d81898b60a9436387aac03ffc67109d8134d3e19f1a6b68a3e159e4cf [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" "0a28b93d81898b60a9436387aac03ffc67109d8134d3e19f1a6b68a3e159e4cf", 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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 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 is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 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 is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 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 is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 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: 4 warnings emitted [INFO] [stderr] [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_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 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 is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 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 is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 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 is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 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: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/slang-4433608aa9c547d3) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::tests::if_statement ... ok [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::basic_fn ... ok [INFO] [stdout] test tests::tests::while_loop ... ok [INFO] [stdout] test tests::tests::multi_table ... ok [INFO] [stdout] test tests::tests::nested_while_loop ... ok [INFO] [stdout] test tests::tests::fib_test ... ok [INFO] [stdout] test tests::tests::fib_recurse ... ok [INFO] [stdout] test tests::tests::simple_fileread ... ok [INFO] [stdout] test tests::tests::if_else_statement ... ok [INFO] [stderr] error: test failed, to rerun pass '--lib' [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: 0x55de8740f590 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55de8740f590 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55de8740f590 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55de8740f590 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55de874331cc - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55de8740c175 - as std[77c0456e0eb29f0c]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55de8741171b - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55de8741171b - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55de8741171b - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55de8741122c - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55de87411dc1 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55de874118c7 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55de8740fa8c - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55de87411829 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55de87363521 - core[ee1ca6415511a9c4]::panicking::panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55de87363413 - core[ee1ca6415511a9c4]::option::expect_failed [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/option.rs:1241:5 [INFO] [stdout] 16: 0x55de8738494e - >::expect [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/option.rs:349:21 [INFO] [stdout] 17: 0x55de87374571 - slang[a0bbebf9dd1ca90f]::exec_block [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:224:33 [INFO] [stdout] 18: 0x55de8739a61c - slang[a0bbebf9dd1ca90f]::tests::tests::if_elif_statement [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:185:9 [INFO] [stdout] 19: 0x55de87399b0a - slang[a0bbebf9dd1ca90f]::tests::tests::if_elif_statement::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:182:5 [INFO] [stdout] 20: 0x55de873aa5ee - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55de873e65b3 - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55de873e65b3 - test[eeb9024d9ac7bc83]::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:577:5 [INFO] [stdout] 23: 0x55de873e507c - + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 24: 0x55de873e507c - + core[ee1ca6415511a9c4]::marker::Send>> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 25: 0x55de873e507c - std[77c0456e0eb29f0c]::panicking::try::do_call:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 26: 0x55de873e507c - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe + core[ee1ca6415511a9c4]::marker::Send>>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 27: 0x55de873e507c - std[77c0456e0eb29f0c]::panic::catch_unwind:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 28: 0x55de873e507c - test[eeb9024d9ac7bc83]::run_test_in_process [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:600:18 [INFO] [stdout] 29: 0x55de873e507c - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:492:39 [INFO] [stdout] 30: 0x55de873c4d42 - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:519:37 [INFO] [stdout] 31: 0x55de873c4d42 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 32: 0x55de873c5628 - ::spawn_unchecked::::{closure#0}::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 33: 0x55de873c5628 - ::spawn_unchecked::{closure#0}::{closure#0}> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 34: 0x55de873c5628 - std[77c0456e0eb29f0c]::panicking::try::do_call::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 35: 0x55de873c5628 - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe<::spawn_unchecked::{closure#0}::{closure#0}>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 36: 0x55de873c5628 - std[77c0456e0eb29f0c]::panic::catch_unwind::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 37: 0x55de873c5628 - ::spawn_unchecked::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 38: 0x55de873c5628 - <::spawn_unchecked::{closure#0} as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55de874168a7 - > as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x55de874168a7 - >> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 41: 0x55de874168a7 - ::new::thread_start [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 42: 0x7fef6df18609 - start_thread [INFO] [stdout] 43: 0x7fef6dcea293 - clone [INFO] [stdout] 44: 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.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0a28b93d81898b60a9436387aac03ffc67109d8134d3e19f1a6b68a3e159e4cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a28b93d81898b60a9436387aac03ffc67109d8134d3e19f1a6b68a3e159e4cf", kill_on_drop: false }` [INFO] [stdout] 0a28b93d81898b60a9436387aac03ffc67109d8134d3e19f1a6b68a3e159e4cf