[INFO] cloning repository https://github.com/alekratz/not-perl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alekratz/not-perl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Fnot-perl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Fnot-perl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a308bceec453c7c1e3f510d69c6f5ddd13c1eb5 [INFO] building alekratz/not-perl against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekratz%2Fnot-perl" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alekratz/not-perl on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alekratz/not-perl [INFO] finished tweaking git repo https://github.com/alekratz/not-perl [INFO] tweaked toml for git repo https://github.com/alekratz/not-perl written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/alekratz/not-perl already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04298073ecca00c1ec2a9422af8b82ea3fd3a38039b7bc63af0f32ca64e613fc [INFO] running `Command { std: "docker" "start" "-a" "04298073ecca00c1ec2a9422af8b82ea3fd3a38039b7bc63af0f32ca64e613fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04298073ecca00c1ec2a9422af8b82ea3fd3a38039b7bc63af0f32ca64e613fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04298073ecca00c1ec2a9422af8b82ea3fd3a38039b7bc63af0f32ca64e613fc", kill_on_drop: false }` [INFO] [stdout] 04298073ecca00c1ec2a9422af8b82ea3fd3a38039b7bc63af0f32ca64e613fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af7e89989304df79757649483657bdeefed02d37a059266ed9a257442e8fbf65 [INFO] running `Command { std: "docker" "start" "-a" "af7e89989304df79757649483657bdeefed02d37a059266ed9a257442e8fbf65", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling matches v0.1.6 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling enum-methods v0.0.8 [INFO] [stderr] Compiling not-perl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/syntax/lexer.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | '0' ... '9' => Some(self.next_numeric_token()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IrTree` is imported redundantly [INFO] [stdout] --> src/compile/state.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 10 | use ir::*; [INFO] [stdout] | ----- the item `IrTree` is already imported here [INFO] [stdout] ... [INFO] [stdout] 114 | use ir::IrTree; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/vm/function.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | pub static ref BUILTIN_FUNCTIONS: Vec = { [INFO] [stdout] 208 | | vec![ [INFO] [stdout] 209 | | // BEGIN BUILTINS ////////////////////////////////////////////////// [INFO] [stdout] ... | [INFO] [stdout] 225 | | }; [INFO] [stdout] 226 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/vm/function.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | pub static ref BUILTIN_FUNCTIONS: Vec = { [INFO] [stdout] 208 | | vec![ [INFO] [stdout] 209 | | // BEGIN BUILTINS ////////////////////////////////////////////////// [INFO] [stdout] ... | [INFO] [stdout] 225 | | }; [INFO] [stdout] 226 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ir/action.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut elseif_action_blocks = elseif_blocks.iter() [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/vm/condition.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("cannot convert IR op {:?} to VM comparison op"), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("cannot convert IR op {:?} to VM comparison op", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("{}", "cannot convert IR op {:?} to VM comparison op"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | write!(stdout, " > "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.74s [INFO] running `Command { std: "docker" "inspect" "af7e89989304df79757649483657bdeefed02d37a059266ed9a257442e8fbf65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7e89989304df79757649483657bdeefed02d37a059266ed9a257442e8fbf65", kill_on_drop: false }` [INFO] [stdout] af7e89989304df79757649483657bdeefed02d37a059266ed9a257442e8fbf65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddbe0f3035b874bc19a49d44385bdbfc5539b56434adf1f5a7b4e84710892735 [INFO] running `Command { std: "docker" "start" "-a" "ddbe0f3035b874bc19a49d44385bdbfc5539b56434adf1f5a7b4e84710892735", kill_on_drop: false }` [INFO] [stderr] Compiling not-perl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/syntax/lexer.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | '0' ... '9' => Some(self.next_numeric_token()), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IrTree` is imported redundantly [INFO] [stdout] --> src/compile/state.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 10 | use ir::*; [INFO] [stdout] | ----- the item `IrTree` is already imported here [INFO] [stdout] ... [INFO] [stdout] 114 | use ir::IrTree; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/vm/function.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | pub static ref BUILTIN_FUNCTIONS: Vec = { [INFO] [stdout] 208 | | vec![ [INFO] [stdout] 209 | | // BEGIN BUILTINS ////////////////////////////////////////////////// [INFO] [stdout] ... | [INFO] [stdout] 225 | | }; [INFO] [stdout] 226 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/vm/function.rs:206:1 [INFO] [stdout] | [INFO] [stdout] 206 | / lazy_static! { [INFO] [stdout] 207 | | pub static ref BUILTIN_FUNCTIONS: Vec = { [INFO] [stdout] 208 | | vec![ [INFO] [stdout] 209 | | // BEGIN BUILTINS ////////////////////////////////////////////////// [INFO] [stdout] ... | [INFO] [stdout] 225 | | }; [INFO] [stdout] 226 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ir/action.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | let mut elseif_action_blocks = elseif_blocks.iter() [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/vm/condition.rs:52:47 [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("cannot convert IR op {:?} to VM comparison op"), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("cannot convert IR op {:?} to VM comparison op", ...), [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 52 | _ => panic!("{}", "cannot convert IR op {:?} to VM comparison op"), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | write!(stdout, " > "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.32s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/not_perl-f56292bb9283376a) [INFO] running `Command { std: "docker" "inspect" "ddbe0f3035b874bc19a49d44385bdbfc5539b56434adf1f5a7b4e84710892735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddbe0f3035b874bc19a49d44385bdbfc5539b56434adf1f5a7b4e84710892735", kill_on_drop: false }` [INFO] [stdout] ddbe0f3035b874bc19a49d44385bdbfc5539b56434adf1f5a7b4e84710892735