[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] 617bbcb80c46505f894dc77f781f9789cb9cd12b [INFO] checking swisd/typo against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswisd%2Ftypo" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/swisd/typo on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e4381b79e72c5c61c6285dec30cbf1ce0a33e00906d3fd2cec0301e99d82bdd [INFO] running `Command { std: "docker" "start" "-a" "9e4381b79e72c5c61c6285dec30cbf1ce0a33e00906d3fd2cec0301e99d82bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e4381b79e72c5c61c6285dec30cbf1ce0a33e00906d3fd2cec0301e99d82bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e4381b79e72c5c61c6285dec30cbf1ce0a33e00906d3fd2cec0301e99d82bdd", kill_on_drop: false }` [INFO] [stdout] 9e4381b79e72c5c61c6285dec30cbf1ce0a33e00906d3fd2cec0301e99d82bdd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57a016eaa9ce78199dad436a4f956dc518b4cb7b09a2168d1875fa1d1752690e [INFO] running `Command { std: "docker" "start" "-a" "57a016eaa9ce78199dad436a4f956dc518b4cb7b09a2168d1875fa1d1752690e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling 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)]` 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: 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)]` 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 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::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::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)]` 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)]` 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 9.54s [INFO] running `Command { std: "docker" "inspect" "57a016eaa9ce78199dad436a4f956dc518b4cb7b09a2168d1875fa1d1752690e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57a016eaa9ce78199dad436a4f956dc518b4cb7b09a2168d1875fa1d1752690e", kill_on_drop: false }` [INFO] [stdout] 57a016eaa9ce78199dad436a4f956dc518b4cb7b09a2168d1875fa1d1752690e