[INFO] cloning repository https://github.com/chazfg/trsh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chazfg/trsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchazfg%2Ftrsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchazfg%2Ftrsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfcbe42877775278a81d26fd40a14c26c4f620af [INFO] checking chazfg/trsh against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchazfg%2Ftrsh" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chazfg/trsh on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chazfg/trsh [INFO] finished tweaking git repo https://github.com/chazfg/trsh [INFO] tweaked toml for git repo https://github.com/chazfg/trsh written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/chazfg/trsh 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" "+092a284ba0421695f2032c947765429fd7095796" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7260758c6b4c00594c2d6f4dac8b9147838e4308ded13feb12b29aa9d8a614f9 [INFO] running `Command { std: "docker" "start" "-a" "7260758c6b4c00594c2d6f4dac8b9147838e4308ded13feb12b29aa9d8a614f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7260758c6b4c00594c2d6f4dac8b9147838e4308ded13feb12b29aa9d8a614f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7260758c6b4c00594c2d6f4dac8b9147838e4308ded13feb12b29aa9d8a614f9", kill_on_drop: false }` [INFO] [stdout] 7260758c6b4c00594c2d6f4dac8b9147838e4308ded13feb12b29aa9d8a614f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9260e20f230fb5284585f56e37a0693a609c7d16ebcb907d55dd8eb0adf98f02 [INFO] running `Command { std: "docker" "start" "-a" "9260e20f230fb5284585f56e37a0693a609c7d16ebcb907d55dd8eb0adf98f02", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking linux-raw-sys v0.9.3 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Checking clap_builder v4.5.32 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking rustyline v15.0.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Checking clap v4.5.32 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Checking trsh-rs v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/executor/builtins.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/prsr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::Write` [INFO] [stdout] --> src/executor/builtins.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | io::Write, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/prsr.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/executor/builtins.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | stdin: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/executor/builtins.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | stdout: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/executor.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | stdin: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/executor.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | stdout: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/executor/builtins.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | stdin: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/executor/builtins.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | stdout: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/executor.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | stdin: Option, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/executor.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | stdout: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParsedIterResult` is never used [INFO] [stdout] --> src/main.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | type ParsedIterResult<'a> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParsedIter` is never used [INFO] [stdout] --> src/main.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | type ParsedIter<'a> = pest::iterators::Pairs<'a, prsr::Rule>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | Exec(ExecError), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TrshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 104 - Exec(ExecError), [INFO] [stdout] 104 + Exec(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | Pest(Box>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TrshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 105 - Pest(Box>), [INFO] [stdout] 105 + Pest(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | General(Box), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 139 - General(Box), [INFO] [stdout] 139 + General(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | IO(Box), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 140 - IO(Box), [INFO] [stdout] 140 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Failed` is never constructed [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | enum ExecError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 137 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/ast.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CommandSub` is never constructed [INFO] [stdout] --> src/ast.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub enum CmdArg { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 229 | CommandSub(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmdArg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/builtins.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Builtin { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 6 | Colon, // : [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | Dot, // . [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Alias, [INFO] [stdout] 9 | Bind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Builtin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Caller, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Command, [INFO] [stdout] 13 | Declare, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Echo, [INFO] [stdout] 15 | Enable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Local, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Logout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | Mapfile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Printf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | Readarray, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | Source, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | Shopt, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builtin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vars`, `last_status`, and `std_out` are never read [INFO] [stdout] --> src/executor.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Executor { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | env_vars: HashMap, [INFO] [stdout] 22 | vars: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | last_status: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | std_out: Stdout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParsedIterResult` is never used [INFO] [stdout] --> src/main.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | type ParsedIterResult<'a> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ParsedIter` is never used [INFO] [stdout] --> src/main.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | type ParsedIter<'a> = pest::iterators::Pairs<'a, prsr::Rule>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:104:10 [INFO] [stdout] | [INFO] [stdout] 104 | Exec(ExecError), [INFO] [stdout] | ---- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TrshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 104 - Exec(ExecError), [INFO] [stdout] 104 + Exec(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:105:10 [INFO] [stdout] | [INFO] [stdout] 105 | Pest(Box>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TrshError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 105 - Pest(Box>), [INFO] [stdout] 105 + Pest(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | General(Box), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 139 - General(Box), [INFO] [stdout] 139 + General(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/main.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | IO(Box), [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ExecError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 140 - IO(Box), [INFO] [stdout] 140 + IO(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Failed` is never constructed [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 136 | enum ExecError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 137 | Failed, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/ast.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Token { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn as_str(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CommandSub` is never constructed [INFO] [stdout] --> src/ast.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 211 | pub enum CmdArg { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 229 | CommandSub(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CmdArg` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/builtins.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Builtin { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 6 | Colon, // : [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | Dot, // . [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | Alias, [INFO] [stdout] 9 | Bind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Builtin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | Caller, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Command, [INFO] [stdout] 13 | Declare, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Echo, [INFO] [stdout] 15 | Enable, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Help, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | Let, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | Local, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Logout, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | Mapfile, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | Printf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | Readarray, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | Source, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | Shopt, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Builtin` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vars`, `last_status`, and `std_out` are never read [INFO] [stdout] --> src/executor.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Executor { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | env_vars: HashMap, [INFO] [stdout] 22 | vars: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | last_status: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | std_out: Stdout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.95s [INFO] running `Command { std: "docker" "inspect" "9260e20f230fb5284585f56e37a0693a609c7d16ebcb907d55dd8eb0adf98f02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9260e20f230fb5284585f56e37a0693a609c7d16ebcb907d55dd8eb0adf98f02", kill_on_drop: false }` [INFO] [stdout] 9260e20f230fb5284585f56e37a0693a609c7d16ebcb907d55dd8eb0adf98f02