[INFO] fetching crate teolang 0.3.4... [INFO] checking teolang-0.3.4 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate teolang 0.3.4 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate teolang 0.3.4 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate teolang 0.3.4 [INFO] finished tweaking crates.io crate teolang 0.3.4 [INFO] tweaked toml for crates.io crate teolang 0.3.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate crates.io crate teolang 0.3.4 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg-runtime v0.8.1 [INFO] [stderr] Downloaded rust_decimal_macros v1.30.0 [INFO] [stderr] Downloaded ahash v0.8.3 [INFO] [stderr] Downloaded fwdansi v1.1.0 [INFO] [stderr] Downloaded peg-macros v0.8.1 [INFO] [stderr] Downloaded peg v0.8.1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40cdd1a10fa3dc5ded7bdf2fad9ec8d9d0b2d9de9ca63f063c5c2efd52e0a5b1 [INFO] running `Command { std: "docker" "start" "-a" "40cdd1a10fa3dc5ded7bdf2fad9ec8d9d0b2d9de9ca63f063c5c2efd52e0a5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40cdd1a10fa3dc5ded7bdf2fad9ec8d9d0b2d9de9ca63f063c5c2efd52e0a5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40cdd1a10fa3dc5ded7bdf2fad9ec8d9d0b2d9de9ca63f063c5c2efd52e0a5b1", kill_on_drop: false }` [INFO] [stdout] 40cdd1a10fa3dc5ded7bdf2fad9ec8d9d0b2d9de9ca63f063c5c2efd52e0a5b1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c995bf2715c3146464b78d9a9dddffb5c164dc620b7324572237285eb42308aa [INFO] running `Command { std: "docker" "start" "-a" "c995bf2715c3146464b78d9a9dddffb5c164dc620b7324572237285eb42308aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Compiling windows_x86_64_gnu v0.48.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Compiling rust_decimal v1.30.0 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling peg-runtime v0.8.1 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling peg-macros v0.8.1 [INFO] [stderr] Checking clap_builder v4.3.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking windows-targets v0.48.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking fwdansi v1.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking windows-sys v0.48.0 [INFO] [stderr] Compiling rust_decimal_macros v1.30.0 [INFO] [stderr] Checking peg v0.8.1 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Checking clap v4.3.15 [INFO] [stderr] Checking teolang v0.3.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `returncode` [INFO] [stdout] --> src/program/mod.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | ... if let Ok(returncode) = program.run_loop(writer, shell) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returncode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/program/mod.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 253 | fn evaluate(&self, program: &Program, mut writer: &mut impl std::io::Write) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returncode` [INFO] [stdout] --> src/program/mod.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | ... if let Ok(returncode) = program.run_loop(writer, shell) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returncode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/program/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / match $id.as_str() { [INFO] [stdout] 51 | | $( [INFO] [stdout] 52 | | #[cfg(feature = $function)] [INFO] [stdout] 53 | | $function => $body, [INFO] [stdout] 54 | | )+ [INFO] [stdout] 55 | | _ => Err(anyhow!($errmessage)), [INFO] [stdout] 56 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 160 | / matchcmd!(id, "Function isn't enabled.", { [INFO] [stdout] 161 | | "print" => { [INFO] [stdout] 162 | | fep!(self, args, value, writer { [INFO] [stdout] 163 | | println!("{}", value.as_string()); [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `matchcmd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = match $id.as_str() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/program/mod.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 253 | fn evaluate(&self, program: &Program, mut writer: &mut impl std::io::Write) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/program/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / match $id.as_str() { [INFO] [stdout] 51 | | $( [INFO] [stdout] 52 | | #[cfg(feature = $function)] [INFO] [stdout] 53 | | $function => $body, [INFO] [stdout] 54 | | )+ [INFO] [stdout] 55 | | _ => Err(anyhow!($errmessage)), [INFO] [stdout] 56 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 160 | / matchcmd!(id, "Function isn't enabled.", { [INFO] [stdout] 161 | | "print" => { [INFO] [stdout] 162 | | fep!(self, args, value, writer { [INFO] [stdout] 163 | | println!("{}", value.as_string()); [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `matchcmd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = match $id.as_str() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal_macros::dec` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_decimal_macros::dec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_decimal_macros::dec` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_decimal_macros::dec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returncode` [INFO] [stdout] --> src/program/mod.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | ... if let Ok(returncode) = program.run_loop(writer, shell) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returncode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `returncode` [INFO] [stdout] --> src/program/mod.rs:227:51 [INFO] [stdout] | [INFO] [stdout] 227 | ... if let Ok(returncode) = program.run_loop(writer, shell) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_returncode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/program/mod.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 253 | fn evaluate(&self, program: &Program, mut writer: &mut impl std::io::Write) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/program/mod.rs:253:43 [INFO] [stdout] | [INFO] [stdout] 253 | fn evaluate(&self, program: &Program, mut writer: &mut impl std::io::Write) -> Result { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TtyWidth` is never used [INFO] [stdout] --> src/util/shell.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum TtyWidth { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `diagnostic_terminal_width` and `progress_max_width` are never used [INFO] [stdout] --> src/util/shell.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TtyWidth { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn diagnostic_terminal_width(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn progress_max_width(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Normal` and `Quiet` are never constructed [INFO] [stdout] --> src/util/shell.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Verbosity { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 44 | Verbose, [INFO] [stdout] 45 | Normal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | Quiet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Verbosity` 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 `stdout` and `stderr_tty` are never read [INFO] [stdout] --> src/util/shell.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | Stream { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 84 | stdout: StandardStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | stderr: StandardStream, [INFO] [stdout] 86 | stderr_tty: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Write` is never constructed [INFO] [stdout] --> src/util/shell.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 79 | enum ShellOut { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 80 | /// A plain write object without color support [INFO] [stdout] 81 | Write(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Always` and `Never` are never constructed [INFO] [stdout] --> src/util/shell.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum ColorChoice { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 94 | /// Force color output [INFO] [stdout] 95 | Always, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 96 | /// Force disable color output [INFO] [stdout] 97 | Never, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorChoice` 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: multiple associated items are never used [INFO] [stdout] --> src/util/shell.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Shell { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn from_write(out: Box) -> Shell { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn set_needs_clear(&mut self, needs_clear: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn is_cleared(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn err_width(&self) -> TtyWidth { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn is_err_tty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn out(&mut self) -> &mut dyn Write { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn err(&mut self) -> &mut dyn Write { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn status_header(&mut self, status: T) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn status_with_color(&mut self, status: T, message: U, color: Color) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn verbose(&mut self, mut callback: F) -> Result<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn concise(&mut self, mut callback: F) -> Result<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn warn(&mut self, message: T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn note(&mut self, message: T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn set_verbosity(&mut self, verbosity: Verbosity) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn verbosity(&self) -> Verbosity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn set_color_choice(&mut self, color: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn color_choice(&self) -> ColorChoice { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn out_supports_color(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn write_stdout(&mut self, fragment: impl fmt::Display, color: &ColorSpec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn write_stderr(&mut self, fragment: impl fmt::Display, color: &ColorSpec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn print_ansi_stderr(&mut self, message: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn print_ansi_stdout(&mut self, message: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn print_json(&mut self, obj: &T) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_stdout`, `write_stderr`, and `stdout` are never used [INFO] [stdout] --> src/util/shell.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 395 | impl ShellOut { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 439 | fn write_stdout(&mut self, fragment: impl fmt::Display, color: &ColorSpec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | fn write_stderr(&mut self, fragment: impl fmt::Display, color: &ColorSpec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | fn stdout(&mut self) -> &mut dyn Write { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stderr_width` is never used [INFO] [stdout] --> src/util/shell.rs:523:12 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn stderr_width() -> TtyWidth { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_line` is never read [INFO] [stdout] --> src/program/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | pub commands: parser::Ast, [INFO] [stdout] 10 | pub current_line: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TtyWidth` is never used [INFO] [stdout] --> src/util/shell.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum TtyWidth { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `diagnostic_terminal_width` and `progress_max_width` are never used [INFO] [stdout] --> src/util/shell.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl TtyWidth { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn diagnostic_terminal_width(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn progress_max_width(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Normal` and `Quiet` are never constructed [INFO] [stdout] --> src/util/shell.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub enum Verbosity { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 44 | Verbose, [INFO] [stdout] 45 | Normal, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | Quiet, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Verbosity` 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 `stdout` and `stderr_tty` are never read [INFO] [stdout] --> src/util/shell.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | Stream { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 84 | stdout: StandardStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | stderr: StandardStream, [INFO] [stdout] 86 | stderr_tty: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Write` is never constructed [INFO] [stdout] --> src/util/shell.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 79 | enum ShellOut { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 80 | /// A plain write object without color support [INFO] [stdout] 81 | Write(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Always` and `Never` are never constructed [INFO] [stdout] --> src/util/shell.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum ColorChoice { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 94 | /// Force color output [INFO] [stdout] 95 | Always, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 96 | /// Force disable color output [INFO] [stdout] 97 | Never, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColorChoice` 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: unused `Result` that must be used [INFO] [stdout] --> src/program/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / match $id.as_str() { [INFO] [stdout] 51 | | $( [INFO] [stdout] 52 | | #[cfg(feature = $function)] [INFO] [stdout] 53 | | $function => $body, [INFO] [stdout] 54 | | )+ [INFO] [stdout] 55 | | _ => Err(anyhow!($errmessage)), [INFO] [stdout] 56 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 160 | / matchcmd!(id, "Function isn't enabled.", { [INFO] [stdout] 161 | | "print" => { [INFO] [stdout] 162 | | fep!(self, args, value, writer { [INFO] [stdout] 163 | | println!("{}", value.as_string()); [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `matchcmd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = match $id.as_str() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/util/shell.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Shell { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn from_write(out: Box) -> Shell { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn set_needs_clear(&mut self, needs_clear: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn is_cleared(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn err_width(&self) -> TtyWidth { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn is_err_tty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn out(&mut self) -> &mut dyn Write { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn err(&mut self) -> &mut dyn Write { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn status_header(&mut self, status: T) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn status_with_color(&mut self, status: T, message: U, color: Color) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | pub fn verbose(&mut self, mut callback: F) -> Result<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn concise(&mut self, mut callback: F) -> Result<()> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn warn(&mut self, message: T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn note(&mut self, message: T) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn set_verbosity(&mut self, verbosity: Verbosity) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn verbosity(&self) -> Verbosity { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn set_color_choice(&mut self, color: Option<&str>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 312 | pub fn color_choice(&self) -> ColorChoice { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn out_supports_color(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn write_stdout(&mut self, fragment: impl fmt::Display, color: &ColorSpec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn write_stderr(&mut self, fragment: impl fmt::Display, color: &ColorSpec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | pub fn print_ansi_stderr(&mut self, message: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | pub fn print_ansi_stdout(&mut self, message: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn print_json(&mut self, obj: &T) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `write_stdout`, `write_stderr`, and `stdout` are never used [INFO] [stdout] --> src/util/shell.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 395 | impl ShellOut { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 439 | fn write_stdout(&mut self, fragment: impl fmt::Display, color: &ColorSpec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 455 | fn write_stderr(&mut self, fragment: impl fmt::Display, color: &ColorSpec) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 471 | fn stdout(&mut self) -> &mut dyn Write { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stderr_width` is never used [INFO] [stdout] --> src/util/shell.rs:523:12 [INFO] [stdout] | [INFO] [stdout] 523 | pub fn stderr_width() -> TtyWidth { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_line` is never read [INFO] [stdout] --> src/program/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | pub commands: parser::Ast, [INFO] [stdout] 10 | pub current_line: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/program/mod.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / match $id.as_str() { [INFO] [stdout] 51 | | $( [INFO] [stdout] 52 | | #[cfg(feature = $function)] [INFO] [stdout] 53 | | $function => $body, [INFO] [stdout] 54 | | )+ [INFO] [stdout] 55 | | _ => Err(anyhow!($errmessage)), [INFO] [stdout] 56 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 160 | / matchcmd!(id, "Function isn't enabled.", { [INFO] [stdout] 161 | | "print" => { [INFO] [stdout] 162 | | fep!(self, args, value, writer { [INFO] [stdout] 163 | | println!("{}", value.as_string()); [INFO] [stdout] ... | [INFO] [stdout] 176 | | } [INFO] [stdout] 177 | | ); [INFO] [stdout] | |_________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `matchcmd` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = match $id.as_str() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.74s [INFO] running `Command { std: "docker" "inspect" "c995bf2715c3146464b78d9a9dddffb5c164dc620b7324572237285eb42308aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c995bf2715c3146464b78d9a9dddffb5c164dc620b7324572237285eb42308aa", kill_on_drop: false }` [INFO] [stdout] c995bf2715c3146464b78d9a9dddffb5c164dc620b7324572237285eb42308aa