[INFO] cloning repository https://github.com/swisd/typo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/swisd/typo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswisd%2Ftypo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswisd%2Ftypo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b4aaa44b2ee1054b1b1ec97e838674b5ca1da9a [INFO] checking swisd/typo against try#804fff1ae95da9d03bd44eee27f258020a575dab for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswisd%2Ftypo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/swisd/typo [INFO] finished tweaking git repo https://github.com/swisd/typo [INFO] tweaked toml for git repo https://github.com/swisd/typo written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/swisd/typo on toolchain 804fff1ae95da9d03bd44eee27f258020a575dab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/swisd/typo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69884dfaabe6998c2912f05ed1d5119f666e8ef1bf4f91edd8f27b8c5c70d43e [INFO] running `Command { std: "docker" "start" "-a" "69884dfaabe6998c2912f05ed1d5119f666e8ef1bf4f91edd8f27b8c5c70d43e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69884dfaabe6998c2912f05ed1d5119f666e8ef1bf4f91edd8f27b8c5c70d43e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69884dfaabe6998c2912f05ed1d5119f666e8ef1bf4f91edd8f27b8c5c70d43e", kill_on_drop: false }` [INFO] [stdout] 69884dfaabe6998c2912f05ed1d5119f666e8ef1bf4f91edd8f27b8c5c70d43e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7d15fef6bc9c3a80b5a332cf79ba185754f90d10e28ed584d31ac80d3478b88 [INFO] running `Command { std: "docker" "start" "-a" "d7d15fef6bc9c3a80b5a332cf79ba185754f90d10e28ed584d31ac80d3478b88", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking pest v2.8.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking typo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parse` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::parser::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `pest::prec_climber::Assoc`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use pest::prec_climber::{Assoc, Operator, PrecClimber}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::Operator`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use pest::prec_climber::{Assoc, Operator, PrecClimber}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::PrecClimber`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use pest::prec_climber::{Assoc, Operator, PrecClimber}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::PrecClimber`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | static ref PREC_CLIMBER: PrecClimber = PrecClimber::new(vec![ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::PrecClimber`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | static ref PREC_CLIMBER: PrecClimber = PrecClimber::new(vec![ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::Operator`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Operator::new(Rule::operator, Assoc::Left), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `pest::prec_climber::Assoc::Left`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | Operator::new(Rule::operator, Assoc::Left), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::parse` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::parser::parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated enum `pest::prec_climber::Assoc`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use pest::prec_climber::{Assoc, Operator, PrecClimber}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::Operator`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use pest::prec_climber::{Assoc, Operator, PrecClimber}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::PrecClimber`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | use pest::prec_climber::{Assoc, Operator, PrecClimber}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::PrecClimber`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | static ref PREC_CLIMBER: PrecClimber = PrecClimber::new(vec![ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::PrecClimber`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | static ref PREC_CLIMBER: PrecClimber = PrecClimber::new(vec![ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `pest::prec_climber::Operator`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Operator::new(Rule::operator, Assoc::Left), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `pest::prec_climber::Assoc::Left`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:16:46 [INFO] [stdout] | [INFO] [stdout] 16 | Operator::new(Rule::operator, Assoc::Left), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pest::prec_climber::PrecClimber::::new`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | static ref PREC_CLIMBER: PrecClimber = PrecClimber::new(vec![ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pest::prec_climber::Operator::::new`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | Operator::new(Rule::operator, Assoc::Left), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pest::prec_climber::PrecClimber::::climb`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | PREC_CLIMBER.climb( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pest::prec_climber::PrecClimber::::new`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:15:63 [INFO] [stdout] | [INFO] [stdout] 15 | static ref PREC_CLIMBER: PrecClimber = PrecClimber::new(vec![ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `pest::prec_climber::Operator::::new`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | Operator::new(Rule::operator, Assoc::Left), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `pest::prec_climber::PrecClimber::::climb`: Use `pest::pratt_parser` instead (it is an equivalent which also supports unary prefix/suffix operators). [INFO] [stdout] While prec_climber is going to be kept in 2.x minor and patch releases, it may be removed in a future major release. [INFO] [stdout] --> src/parser.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | PREC_CLIMBER.climb( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/parser.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Error{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `handle`, and `at` are never used [INFO] [stdout] --> src/parser.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Error { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 26 | fn new(line: usize, message: String) -> Error { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn handle(&self) { // returns an error log, similar to python [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn at(&self) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_expr` is never used [INFO] [stdout] --> src/parser.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn eval_expr(pair: Pair) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Error` is never constructed [INFO] [stdout] --> src/parser.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct Error{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `handle`, and `at` are never used [INFO] [stdout] --> src/parser.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl Error { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 26 | fn new(line: usize, message: String) -> Error { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn handle(&self) { // returns an error log, similar to python [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn at(&self) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_expr` is never used [INFO] [stdout] --> src/parser.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn eval_expr(pair: Pair) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.78s [INFO] running `Command { std: "docker" "inspect" "d7d15fef6bc9c3a80b5a332cf79ba185754f90d10e28ed584d31ac80d3478b88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7d15fef6bc9c3a80b5a332cf79ba185754f90d10e28ed584d31ac80d3478b88", kill_on_drop: false }` [INFO] [stdout] d7d15fef6bc9c3a80b5a332cf79ba185754f90d10e28ed584d31ac80d3478b88