[INFO] cloning repository https://github.com/toodols/irene [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/toodols/irene" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoodols%2Firene", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoodols%2Firene'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 085970aecfa205f2a651ac90b6580cbb0c29fd49 [INFO] building toodols/irene against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftoodols%2Firene" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/toodols/irene [INFO] finished tweaking git repo https://github.com/toodols/irene [INFO] tweaked toml for git repo https://github.com/toodols/irene written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/toodols/irene on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/toodols/irene 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom_locate v5.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b9d62e77e6e929c5c939bfb128ce3ecb167d8f57280200cdb7e0062d0fa10eb0 [INFO] running `Command { std: "docker" "start" "-a" "b9d62e77e6e929c5c939bfb128ce3ecb167d8f57280200cdb7e0062d0fa10eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9d62e77e6e929c5c939bfb128ce3ecb167d8f57280200cdb7e0062d0fa10eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9d62e77e6e929c5c939bfb128ce3ecb167d8f57280200cdb7e0062d0fa10eb0", kill_on_drop: false }` [INFO] [stdout] b9d62e77e6e929c5c939bfb128ce3ecb167d8f57280200cdb7e0062d0fa10eb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0acdc2e70e31b94a4e2315fb73cc87bfdefac16540b15259080a1882f2537de7 [INFO] running `Command { std: "docker" "start" "-a" "0acdc2e70e31b94a4e2315fb73cc87bfdefac16540b15259080a1882f2537de7", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling nom_locate v5.0.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling irene v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::RwLockReadGuard` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::RwLockReadGuard; [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 imports: `alphanumeric1`, `is_a`, `one_of`, `space0`, and `take_while` [INFO] [stdout] --> src/parser.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | complete::{is_a, tag, take_while, take_while1}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | complete::{alphanumeric1, space0, space1}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 10 | one_of, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ready` [INFO] [stdout] --> src/main.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | async fn ready(&self, ctx: Context, ready: Ready) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ready` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Span` is never used [INFO] [stdout] --> src/parser.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | type Span<'a> = LocatedSpan<&'a str>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/parser.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmptyCommand` is never constructed [INFO] [stdout] --> src/parser.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct EmptyCommand<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommandType` is never used [INFO] [stdout] --> src/parser.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum CommandType<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `is_empty` are never used [INFO] [stdout] --> src/parser.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a> CommandType<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 37 | fn span(&'a self) -> &'a Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandPath` is never constructed [INFO] [stdout] --> src/parser.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct CommandPath<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Command` is never constructed [INFO] [stdout] --> src/parser.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Command<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Body` is never constructed [INFO] [stdout] --> src/parser.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Body<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `String` is never constructed [INFO] [stdout] --> src/parser.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct String<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Subcall` is never constructed [INFO] [stdout] --> src/parser.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Subcall<'a>(Body<'a>); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `span` is never used [INFO] [stdout] --> src/parser.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl<'a> Subcall<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 79 | fn span(&'a self) -> &'a Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Function` is never constructed [INFO] [stdout] --> src/parser.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Function<'a>(Body<'a>); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `span` is never used [INFO] [stdout] --> src/parser.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a> Function<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 87 | fn span(&'a self) -> &'a Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Argument` is never used [INFO] [stdout] --> src/parser.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum Argument<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `span` is never used [INFO] [stdout] --> src/parser.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl<'a> Argument<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 100 | fn span(&'a self) -> &'a Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comment` is never used [INFO] [stdout] --> src/parser.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn comment(input: Span) -> IResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespace` is never used [INFO] [stdout] --> src/parser.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn whitespace(input: Span) -> IResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_command_path` is never used [INFO] [stdout] --> src/parser.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn parse_command_path(input: Span) -> IResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_arguments` is never used [INFO] [stdout] --> src/parser.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn parse_arguments(input: Span) -> IResult> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_argument` is never used [INFO] [stdout] --> src/parser.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn parse_argument(input: Span) -> IResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_quoted_string` is never used [INFO] [stdout] --> src/parser.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn parse_quoted_string(input: Span) -> IResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphanumeric_underscore` is never used [INFO] [stdout] --> src/parser.rs:150:4 [INFO] [stdout] | [INFO] [stdout] 150 | fn alphanumeric_underscore(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_word` is never used [INFO] [stdout] --> src/parser.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 155 | fn parse_word(input: Span) -> IResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "0acdc2e70e31b94a4e2315fb73cc87bfdefac16540b15259080a1882f2537de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0acdc2e70e31b94a4e2315fb73cc87bfdefac16540b15259080a1882f2537de7", kill_on_drop: false }` [INFO] [stdout] 0acdc2e70e31b94a4e2315fb73cc87bfdefac16540b15259080a1882f2537de7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a3d3c026fe65b0415c10c83dd1f73768c755cb614d5c50a3397175eb5c785ca [INFO] running `Command { std: "docker" "start" "-a" "9a3d3c026fe65b0415c10c83dd1f73768c755cb614d5c50a3397175eb5c785ca", kill_on_drop: false }` [INFO] [stderr] Compiling irene v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::sync::RwLockReadGuard` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::RwLockReadGuard; [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 imports: `alphanumeric1`, `is_a`, `one_of`, `space0`, and `take_while` [INFO] [stdout] --> src/parser.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | complete::{is_a, tag, take_while, take_while1}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | complete::{alphanumeric1, space0, space1}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] 10 | one_of, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ready` [INFO] [stdout] --> src/main.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | async fn ready(&self, ctx: Context, ready: Ready) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_ready` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Program` is never constructed [INFO] [stdout] --> src/parser.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Program<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmptyCommand` is never constructed [INFO] [stdout] --> src/parser.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct EmptyCommand<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CommandType` is never used [INFO] [stdout] --> src/parser.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum CommandType<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `span` and `is_empty` are never used [INFO] [stdout] --> src/parser.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 36 | impl<'a> CommandType<'a> { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 37 | fn span(&'a self) -> &'a Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `components` are never read [INFO] [stdout] --> src/parser.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct CommandPath<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 53 | span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 54 | components: Vec<&'a str>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandPath` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span`, `command_path`, and `arguments` are never read [INFO] [stdout] --> src/parser.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Command<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 59 | span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | command_path: CommandPath<'a>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 61 | arguments: Vec>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `commands` are never read [INFO] [stdout] --> src/parser.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Body<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 66 | span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | commands: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Body` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `span` and `quoted` are never read [INFO] [stdout] --> src/parser.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct String<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 72 | span: Span<'a>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 73 | quoted: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `String` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:77:24 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct Subcall<'a>(Body<'a>); [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Subcall` 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 `span` is never used [INFO] [stdout] --> src/parser.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl<'a> Subcall<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 79 | fn span(&'a self) -> &'a Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Function<'a>(Body<'a>); [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Function` 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 `span` is never used [INFO] [stdout] --> src/parser.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a> Function<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 87 | fn span(&'a self) -> &'a Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parser.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | String(String<'a>), [INFO] [stdout] | ------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Argument` 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] 96 - String(String<'a>), [INFO] [stdout] 96 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Subcall` and `Function` are never constructed [INFO] [stdout] --> src/parser.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum Argument<'a> { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 94 | Subcall(Subcall<'a>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | Function(Function<'a>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Argument` 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 `span` is never used [INFO] [stdout] --> src/parser.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 99 | impl<'a> Argument<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 100 | fn span(&'a self) -> &'a Span<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comment` is never used [INFO] [stdout] --> src/parser.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn comment(input: Span) -> IResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `whitespace` is never used [INFO] [stdout] --> src/parser.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn whitespace(input: Span) -> IResult { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_command_path` is never used [INFO] [stdout] --> src/parser.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn parse_command_path(input: Span) -> IResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.89s [INFO] running `Command { std: "docker" "inspect" "9a3d3c026fe65b0415c10c83dd1f73768c755cb614d5c50a3397175eb5c785ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3d3c026fe65b0415c10c83dd1f73768c755cb614d5c50a3397175eb5c785ca", kill_on_drop: false }` [INFO] [stdout] 9a3d3c026fe65b0415c10c83dd1f73768c755cb614d5c50a3397175eb5c785ca