[INFO] fetching crate ps-parser 0.1.0-pre... [INFO] checking ps-parser-0.1.0-pre against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ps-parser 0.1.0-pre into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ps-parser 0.1.0-pre [INFO] finished tweaking crates.io crate ps-parser 0.1.0-pre [INFO] tweaked toml for crates.io crate ps-parser 0.1.0-pre written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ps-parser 0.1.0-pre on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ps-parser 0.1.0-pre 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0202695d27eba0672d136df93cb5359f6335100e6c0503352ada64ebfa02cc64 [INFO] running `Command { std: "docker" "start" "-a" "0202695d27eba0672d136df93cb5359f6335100e6c0503352ada64ebfa02cc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0202695d27eba0672d136df93cb5359f6335100e6c0503352ada64ebfa02cc64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0202695d27eba0672d136df93cb5359f6335100e6c0503352ada64ebfa02cc64", kill_on_drop: false }` [INFO] [stdout] 0202695d27eba0672d136df93cb5359f6335100e6c0503352ada64ebfa02cc64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd3a51a52c0e2161b4960a2dc388c66b6ce82e2f1382e5f5e58c39fc9cb4ec75 [INFO] running `Command { std: "docker" "start" "-a" "cd3a51a52c0e2161b4960a2dc388c66b6ce82e2f1382e5f5e58c39fc9cb4ec75", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling ps-parser v0.1.0-pre (/opt/rustwide/workdir) [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stdout] warning: function `floats` is never used [INFO] [stdout] --> src/parser.rs:555:8 [INFO] [stdout] | [INFO] [stdout] 555 | fn floats() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DynError` is never used [INFO] [stdout] --> src/lib.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type DynError = Box; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DynResult` is never used [INFO] [stdout] --> src/lib.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type DynResult = core::result::Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/lib.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> DynResult<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PestError` is never used [INFO] [stdout] --> src/parser.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type PestError = pest::error::Error; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PestResult` is never used [INFO] [stdout] --> src/parser.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | type PestResult = core::result::Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pair` is never used [INFO] [stdout] --> src/parser.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | type Pair<'i> = ::pest::iterators::Pair<'i, Rule>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PowerShellParser` is never constructed [INFO] [stdout] --> src/parser.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) struct PowerShellParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl<'a> PowerShellParser { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 35 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn evaluate(&mut self, input: &str) -> PestResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn eval_num(&mut self, token: Pair<'a>) -> PestResult { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | fn eval_cast_exp(&mut self, token: Pair<'a>) -> PestResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn eval_args(&mut self, token: Pair<'a>) -> Option> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn eval_command(&mut self, token: Pair<'a>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | fn eval_atomic(&mut self, token: Pair<'a>) -> PestResult { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | fn eval_command_call(&mut self, token: Pair<'a>) -> PestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | fn eval_postfix(&mut self, token: Pair<'a>) -> PestResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn eval_mult(&mut self, token: Pair<'a>) -> PestResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | fn eval_additive(&mut self, token: Pair<'a>) -> PestResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | fn eval_comparison_exp(&mut self, token: Pair<'a>) -> PestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | fn eval_expression(&mut self, token_exp: Pair<'a>) -> PestResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | fn expand_string(&mut self, token: Pair<'a>) -> PestResult { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | fn eval_assigment_exp(&mut self, token: Pair<'a>) -> PestResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PsCommand` is never constructed [INFO] [stdout] --> src/parser/command.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) struct PsCommand { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize` is never used [INFO] [stdout] --> src/parser/command.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn normalize(input: &str, form: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `call` is never used [INFO] [stdout] --> src/parser/command.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PsCommand { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 23 | pub fn call(field_name: Val, method_name: Val, args: Vec) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CompPredType` is never used [INFO] [stdout] --> src/parser/comparison.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type CompPredType = fn(Val, Vec) -> Val; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Comparison` is never constructed [INFO] [stdout] --> src/parser/comparison.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) struct Comparison; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `replace` is never used [INFO] [stdout] --> src/parser/comparison.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | fn replace(mut s: Val, args: Vec) -> Val { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `COMPARISON_PRED_MAP` and `get` are never used [INFO] [stdout] --> src/parser/comparison.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 20 | impl Comparison { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 21 | const COMPARISON_PRED_MAP: LazyLock> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub(crate) fn get(name: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/parser/predicates.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn add(mut arg1: Val, arg2: Val) -> Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub` is never used [INFO] [stdout] --> src/parser/predicates.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn sub(mut arg1: Val, arg2: Val) -> Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mul` is never used [INFO] [stdout] --> src/parser/predicates.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn mul(arg1: Val, arg2: Val) -> Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `div` is never used [INFO] [stdout] --> src/parser/predicates.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn div(arg1: Val, arg2: Val) -> Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `modulo` is never used [INFO] [stdout] --> src/parser/predicates.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn modulo(arg1: Val, arg2: Val) -> Val { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign` is never used [INFO] [stdout] --> src/parser/predicates.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn assign(_arg1: Val, arg2: Val) -> Val { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PredType` is never used [INFO] [stdout] --> src/parser/predicates.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | pub(crate) type PredType = fn(Val, Val) -> Val; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Predicates` is never constructed [INFO] [stdout] --> src/parser/predicates.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct Predicates; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `ARYTHMETIC_PRED_MAP` and `get` are never used [INFO] [stdout] --> src/parser/predicates.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 44 | impl Predicates { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 45 | const ARYTHMETIC_PRED_MAP: LazyLock> = LazyLock::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub(crate) fn get(name: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ValType` is never used [INFO] [stdout] --> src/parser/value.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum ValType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `cast` and `init` are never used [INFO] [stdout] --> src/parser/value.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 8 | impl ValType { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 9 | pub(crate) fn cast(s: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub(crate) fn init(&mut self, val: Val) -> Val { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Val` is never used [INFO] [stdout] --> src/parser/value.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Val { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `into_char`, `into_string`, `into_int`, `add`, and `sub` are never used [INFO] [stdout] --> src/parser/value.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 40 | impl Val { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] 41 | fn into_char(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn into_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn into_int(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn add(&mut self, val: Val) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn sub(&mut self, val: Val) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Variables` is never constructed [INFO] [stdout] --> src/parser/variables.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct Variables(HashMap); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, and `set` are never used [INFO] [stdout] --> src/parser/variables.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl Variables { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 8 | pub(crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) fn get(&self, name: &str) -> Val { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub(crate) fn set(&mut self, name: &str, val: Val) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.32s [INFO] running `Command { std: "docker" "inspect" "cd3a51a52c0e2161b4960a2dc388c66b6ce82e2f1382e5f5e58c39fc9cb4ec75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd3a51a52c0e2161b4960a2dc388c66b6ce82e2f1382e5f5e58c39fc9cb4ec75", kill_on_drop: false }` [INFO] [stdout] cd3a51a52c0e2161b4960a2dc388c66b6ce82e2f1382e5f5e58c39fc9cb4ec75