[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] checking mkhan45/slang against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmkhan45%2Fslang" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mkhan45/slang on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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-7/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded criterion-plot v0.4.1 [INFO] [stderr] Downloaded tinytemplate v1.0.3 [INFO] [stderr] Downloaded criterion v0.3.1 [INFO] [stderr] Downloaded oorandom v11.1.0 [INFO] [stderr] Downloaded regex v1.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 671549039cda8ecd9599e7426d7ec2b18dedea03362111469d3271207bf4798e [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" "671549039cda8ecd9599e7426d7ec2b18dedea03362111469d3271207bf4798e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "671549039cda8ecd9599e7426d7ec2b18dedea03362111469d3271207bf4798e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671549039cda8ecd9599e7426d7ec2b18dedea03362111469d3271207bf4798e", kill_on_drop: false }` [INFO] [stdout] 671549039cda8ecd9599e7426d7ec2b18dedea03362111469d3271207bf4798e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 742e7043cca4e80cfd9bee8e5dfd194f56afb627f2a47cbe8353a594f20ad0ca [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" "742e7043cca4e80cfd9bee8e5dfd194f56afb627f2a47cbe8353a594f20ad0ca", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking slang v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling semver v0.9.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_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] 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 rustc_version v0.2.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking regex v1.3.5 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking criterion v0.3.1 [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 38.50s [INFO] running `Command { std: "docker" "inspect" "742e7043cca4e80cfd9bee8e5dfd194f56afb627f2a47cbe8353a594f20ad0ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "742e7043cca4e80cfd9bee8e5dfd194f56afb627f2a47cbe8353a594f20ad0ca", kill_on_drop: false }` [INFO] [stdout] 742e7043cca4e80cfd9bee8e5dfd194f56afb627f2a47cbe8353a594f20ad0ca