[INFO] cloning repository https://github.com/tehprofessor/corg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tehprofessor/corg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftehprofessor%2Fcorg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftehprofessor%2Fcorg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74554da414efb5e0ae50f94f864f84085ca7ba7d [INFO] checking tehprofessor/corg against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftehprofessor%2Fcorg" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tehprofessor/corg on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tehprofessor/corg [INFO] finished tweaking git repo https://github.com/tehprofessor/corg [INFO] tweaked toml for git repo https://github.com/tehprofessor/corg written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tehprofessor/corg 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.pulldown-cmark.feature [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v0.2.7 [INFO] [stderr] Downloaded pulldown-cmark v0.5.3 [INFO] [stderr] Downloaded tui v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0fe2c21dfbba8a827f5606fea85b7ad3e03eb6b4adad1e6e131111c1b2e1d79 [INFO] running `Command { std: "docker" "start" "-a" "c0fe2c21dfbba8a827f5606fea85b7ad3e03eb6b4adad1e6e131111c1b2e1d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0fe2c21dfbba8a827f5606fea85b7ad3e03eb6b4adad1e6e131111c1b2e1d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0fe2c21dfbba8a827f5606fea85b7ad3e03eb6b4adad1e6e131111c1b2e1d79", kill_on_drop: false }` [INFO] [stdout] c0fe2c21dfbba8a827f5606fea85b7ad3e03eb6b4adad1e6e131111c1b2e1d79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7c116343f59fb51b9f3de19f70fffaec5161b37400982e13d5909d3ea58186b [INFO] running `Command { std: "docker" "start" "-a" "e7c116343f59fb51b9f3de19f70fffaec5161b37400982e13d5909d3ea58186b", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.pulldown-cmark.feature [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling pulldown-cmark v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking termion v1.5.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking once_cell v0.2.7 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking tui v0.6.2 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking kintoun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::OnceCell` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `Options`, `Parser`, and `Tag` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use pulldown_cmark::{Event, Options, Parser, Tag}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorSpec`, `Color`, and `WriteColor` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, and `Widget` [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use tui::widgets::{Widget, Block, Borders}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, and `Layout` [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use tui::layout::{Layout, Constraint, Direction}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Canvas`, `Line`, `MapResolution`, `Map`, and `Rectangle` [INFO] [stdout] --> src/ui.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use tui::widgets::canvas::{Canvas, Line, Map, MapResolution, Rectangle}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/corg_file.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Error, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/corg_file.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Child` and `Command` [INFO] [stdout] --> src/corg_file.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::{Child, Command}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::corg_file::CorgFile` [INFO] [stdout] --> src/corg_doc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::corg_file::CorgFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::OnceCell` [INFO] [stdout] --> src/clogger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColorChoice` [INFO] [stdout] --> src/clogger.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `mem` [INFO] [stdout] --> src/clogger.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fmt, mem}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Once` [INFO] [stdout] --> src/clogger.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/util/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{env, fs}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / /// Note: AlternateScreen [INFO] [stdout] 69 | | /// Causes the terminal to show a new empty screen for drawing. This is good [INFO] [stdout] 70 | | /// unless you wanna shit on-top of whats already been printed to stdout. [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] 71 | let stdout = AlternateScreen::from(stdout); [INFO] [stdout] | ------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::OnceCell` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `Options`, `Parser`, and `Tag` [INFO] [stdout] --> src/main.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use pulldown_cmark::{Event, Options, Parser, Tag}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorSpec`, `Color`, and `WriteColor` [INFO] [stdout] --> src/main.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, and `Widget` [INFO] [stdout] --> src/main.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | use tui::widgets::{Widget, Block, Borders}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, and `Layout` [INFO] [stdout] --> src/main.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | use tui::layout::{Layout, Constraint, Direction}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Canvas`, `Line`, `MapResolution`, `Map`, and `Rectangle` [INFO] [stdout] --> src/ui.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use tui::widgets::canvas::{Canvas, Line, Map, MapResolution, Rectangle}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/corg_file.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{Error, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/corg_file.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Child` and `Command` [INFO] [stdout] --> src/corg_file.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | use std::process::{Child, Command}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::corg_file::CorgFile` [INFO] [stdout] --> src/corg_doc.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::corg_file::CorgFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::OnceCell` [INFO] [stdout] --> src/clogger.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use once_cell::sync::OnceCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ColorChoice` [INFO] [stdout] --> src/clogger.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use termcolor::{Color, ColorChoice, ColorSpec, StandardStream, WriteColor}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt` and `mem` [INFO] [stdout] --> src/clogger.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{fmt, mem}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Once` [INFO] [stdout] --> src/clogger.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/clogger.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/util/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{env, fs}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / /// Note: AlternateScreen [INFO] [stdout] 69 | | /// Causes the terminal to show a new empty screen for drawing. This is good [INFO] [stdout] 70 | | /// unless you wanna shit on-top of whats already been printed to stdout. [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] 71 | let stdout = AlternateScreen::from(stdout); [INFO] [stdout] | ------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `example_doc` [INFO] [stdout] --> src/corg_doc.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | let example_doc = "faye"; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_example_doc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `corg_file_type` [INFO] [stdout] --> src/corg_doc.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let corg_file_type = CorgFileType::Markdown; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_corg_file_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_buf` [INFO] [stdout] --> src/corg_doc.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let path_buf = PathBuf::from("/Users/seve/code/Projects/corg/examples/faye.md"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_buf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/clogger.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 52 | (Self::Warning, Self::Success) => false, [INFO] [stdout] | ------------------------------ matches all the relevant values [INFO] [stdout] 53 | (Self::Warning, Self::Success) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/clogger.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 56 | (Self::Error, Self::Success) => false, [INFO] [stdout] | ---------------------------- matches all the relevant values [INFO] [stdout] 57 | (Self::Error, Self::Success) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/clogger.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 52 | (Self::Warning, Self::Success) => false, [INFO] [stdout] | ------------------------------ matches all the relevant values [INFO] [stdout] 53 | (Self::Warning, Self::Success) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/clogger.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 56 | (Self::Error, Self::Success) => false, [INFO] [stdout] | ---------------------------- matches all the relevant values [INFO] [stdout] 57 | (Self::Error, Self::Success) => false, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clogger` [INFO] [stdout] --> src/main.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | fn play(file_name: &str, clogger: &mut Clog) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clogger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | } else if let Some(file) = matches.subcommand_matches("run") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clogger` [INFO] [stdout] --> src/main.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | fn play(file_name: &str, clogger: &mut Clog) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clogger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `fqdn`, and `scheme` are never read [INFO] [stdout] --> src/ui.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Host<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | pub fqdn: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub scheme: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ui.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'a> Document<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 47 | pub fn new(file_name: &'a str, modified_at: &'a str, sha: &'a str) -> Document<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListState` is never constructed [INFO] [stdout] --> src/ui.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct ListState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `should_quit`, and `servers` are never read [INFO] [stdout] --> src/ui.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct App<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 62 | pub title: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | pub should_quit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 64 | pub documents: Vec>, [INFO] [stdout] 65 | pub servers: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `demo` and `on_key` are never used [INFO] [stdout] --> src/ui.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 71 | pub fn demo() -> App<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn on_key(&mut self, key: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteWrapper` is never constructed [INFO] [stdout] --> src/shell.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | struct WriteWrapper(W); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_html` is never used [INFO] [stdout] --> src/shell.rs:774:8 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn write_html<'a, I, W>(writer: W, iter: I) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/main.rs:191:24 [INFO] [stdout] | [INFO] [stdout] 191 | } else if let Some(file) = matches.subcommand_matches("run") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHELL_LOGGER_FILE_NAME` is never used [INFO] [stdout] --> src/corg_file.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const SHELL_LOGGER_FILE_NAME: &'static str = "corg-logger.sh"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CORG_LOGGER_SHELL_SCRIPT` is never used [INFO] [stdout] --> src/corg_file.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const CORG_LOGGER_SHELL_SCRIPT: &'static [u8] = include_bytes!("../static/scripts/corg-logger.sh"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorgDoc` is never constructed [INFO] [stdout] --> src/corg_doc.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CorgDoc<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CorgDoc` 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: associated items `new`, `read_file`, and `find_document` are never used [INFO] [stdout] --> src/corg_doc.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl CorgDoc<'_> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(file_name: &str) -> CorgDoc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn read_file(&mut self, file_name: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn find_document(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_hidden` is never used [INFO] [stdout] --> src/corg_doc.rs:80:4 [INFO] [stdout] | [INFO] [stdout] 80 | fn is_hidden(entry: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CorgFileType` is never used [INFO] [stdout] --> src/corg_doc.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum CorgFileType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CorgFileType` 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: methods `to_string`, `is_file_type`, and `is_matching_file` are never used [INFO] [stdout] --> src/corg_doc.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl CorgFileType { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 95 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn is_file_type(&self, entry: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn is_matching_file(&self, entry: &DirEntry, file_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_file` is never used [INFO] [stdout] --> src/corg_doc.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn find_file(file_name: &str, file_type: CorgFileType) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorgRunner` is never constructed [INFO] [stdout] --> src/corg_doc.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct CorgRunner { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `exec` is never used [INFO] [stdout] --> src/corg_doc.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl CorgRunner { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 160 | fn exec(script_name: &str, args: Vec) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Debug`, `Warning`, `Trace`, and `Announce` are never constructed [INFO] [stdout] --> src/clogger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ClogLevel { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Error, [INFO] [stdout] 14 | Trace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | Announce, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClogLevel` 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: methods `debug`, `warning`, `trace`, and `announce` are never used [INFO] [stdout] --> src/clogger.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl<'a> Clog<'a> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn debug(&mut self, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn warning(&mut self, message: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn trace(&mut self, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn announce(&mut self, message: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_hidden` is never used [INFO] [stdout] --> src/util/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_hidden(entry: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_file_type` is never used [INFO] [stdout] --> src/util/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn is_file_type(entry: &DirEntry, extension: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_matching_file` is never used [INFO] [stdout] --> src/util/mod.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn is_matching_file(entry: &DirEntry, file_name: &str, file_ext: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Walker` is never used [INFO] [stdout] --> src/util/mod.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub type Walker = FilterMap bool>, fn(Result) -> Option>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_file` is never used [INFO] [stdout] --> src/util/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn find_file(file_name: &str, file_type: &str, walker: Walker) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_files_by_type` is never used [INFO] [stdout] --> src/util/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn find_files_by_type(file_type: &str, walker: Walker) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find` is never used [INFO] [stdout] --> src/util/mod.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn find(file_name: &str, file_type: &str) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_handle` and `tick_handle` are never read [INFO] [stdout] --> src/util/event.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Events { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | rx: mpsc::Receiver>, [INFO] [stdout] 20 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | tick_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | ui::draw(&mut terminal, &app); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = ui::draw(&mut terminal, &app); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/ui.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | Table::new(header.into_iter(), rows) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 157 | Table::new(header.iter(), rows) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 157 | Table::new(IntoIterator::into_iter(header), rows) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `fqdn`, and `scheme` are never read [INFO] [stdout] --> src/ui.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Host<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | pub name: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | pub fqdn: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub scheme: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ui.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'a> Document<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 47 | pub fn new(file_name: &'a str, modified_at: &'a str, sha: &'a str) -> Document<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ListState` is never constructed [INFO] [stdout] --> src/ui.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct ListState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `should_quit`, and `servers` are never read [INFO] [stdout] --> src/ui.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct App<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 62 | pub title: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 63 | pub should_quit: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 64 | pub documents: Vec>, [INFO] [stdout] 65 | pub servers: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `demo` and `on_key` are never used [INFO] [stdout] --> src/ui.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 71 | pub fn demo() -> App<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn on_key(&mut self, key: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteWrapper` is never constructed [INFO] [stdout] --> src/shell.rs:295:8 [INFO] [stdout] | [INFO] [stdout] 295 | struct WriteWrapper(W); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_html` is never used [INFO] [stdout] --> src/shell.rs:774:8 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn write_html<'a, I, W>(writer: W, iter: I) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHELL_LOGGER_FILE_NAME` is never used [INFO] [stdout] --> src/corg_file.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const SHELL_LOGGER_FILE_NAME: &'static str = "corg-logger.sh"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CORG_LOGGER_SHELL_SCRIPT` is never used [INFO] [stdout] --> src/corg_file.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const CORG_LOGGER_SHELL_SCRIPT: &'static [u8] = include_bytes!("../static/scripts/corg-logger.sh"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name` and `file_type` are never read [INFO] [stdout] --> src/corg_doc.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CorgDoc<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | pub file_name: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | pub file_contents: Option, [INFO] [stdout] 14 | pub file_type: CorgFileType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CorgDoc` 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: variant `ShellScript` is never constructed [INFO] [stdout] --> src/corg_doc.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub enum CorgFileType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 90 | Markdown, [INFO] [stdout] 91 | ShellScript [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CorgFileType` 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: method `is_file_type` is never used [INFO] [stdout] --> src/corg_doc.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl CorgFileType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn is_file_type(&self, entry: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CorgRunner` is never constructed [INFO] [stdout] --> src/corg_doc.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct CorgRunner { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `exec` is never used [INFO] [stdout] --> src/corg_doc.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl CorgRunner { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 160 | fn exec(script_name: &str, args: Vec) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Debug`, `Warning`, `Trace`, and `Announce` are never constructed [INFO] [stdout] --> src/clogger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ClogLevel { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Debug, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | Error, [INFO] [stdout] 14 | Trace, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | Announce, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClogLevel` 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: methods `debug`, `warning`, `trace`, and `announce` are never used [INFO] [stdout] --> src/clogger.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl<'a> Clog<'a> { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn debug(&mut self, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | pub fn warning(&mut self, message: &str) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn trace(&mut self, message: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn announce(&mut self, message: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_hidden` is never used [INFO] [stdout] --> src/util/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn is_hidden(entry: &DirEntry) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_file_type` is never used [INFO] [stdout] --> src/util/mod.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn is_file_type(entry: &DirEntry, extension: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_matching_file` is never used [INFO] [stdout] --> src/util/mod.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn is_matching_file(entry: &DirEntry, file_name: &str, file_ext: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Walker` is never used [INFO] [stdout] --> src/util/mod.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub type Walker = FilterMap bool>, fn(Result) -> Option>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_file` is never used [INFO] [stdout] --> src/util/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn find_file(file_name: &str, file_type: &str, walker: Walker) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_files_by_type` is never used [INFO] [stdout] --> src/util/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn find_files_by_type(file_type: &str, walker: Walker) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find` is never used [INFO] [stdout] --> src/util/mod.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn find(file_name: &str, file_type: &str) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_handle` and `tick_handle` are never read [INFO] [stdout] --> src/util/event.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Events { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 19 | rx: mpsc::Receiver>, [INFO] [stdout] 20 | input_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | tick_handle: thread::JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | ui::draw(&mut terminal, &app); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = ui::draw(&mut terminal, &app); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/ui.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | Table::new(header.into_iter(), rows) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 157 | Table::new(header.iter(), rows) [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 157 | Table::new(IntoIterator::into_iter(header), rows) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s [INFO] running `Command { std: "docker" "inspect" "e7c116343f59fb51b9f3de19f70fffaec5161b37400982e13d5909d3ea58186b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7c116343f59fb51b9f3de19f70fffaec5161b37400982e13d5909d3ea58186b", kill_on_drop: false }` [INFO] [stdout] e7c116343f59fb51b9f3de19f70fffaec5161b37400982e13d5909d3ea58186b