[INFO] cloning repository https://github.com/saethlin/tokei [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/saethlin/tokei" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaethlin%2Ftokei", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaethlin%2Ftokei'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7776c65fc552f85a6d07f82720d02130cc0b307c [INFO] checking saethlin/tokei against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaethlin%2Ftokei" "/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/saethlin/tokei 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/saethlin/tokei [INFO] finished tweaking git repo https://github.com/saethlin/tokei [INFO] tweaked toml for git repo https://github.com/saethlin/tokei written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/saethlin/tokei 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v1.1.0 [INFO] [stderr] Downloaded dirs-sys v0.3.5 [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded const_fn v0.4.5 [INFO] [stderr] Downloaded humansize v1.1.0 [INFO] [stderr] Downloaded rand_core v0.6.1 [INFO] [stderr] Downloaded grep-matcher v0.1.4 [INFO] [stderr] Downloaded encoding_rs_io v0.1.7 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded dirs v3.0.1 [INFO] [stderr] Downloaded serde_derive v1.0.119 [INFO] [stderr] Downloaded serde v1.0.119 [INFO] [stderr] Downloaded grep-searcher v0.1.7 [INFO] [stderr] Downloaded rand v0.8.1 [INFO] [stderr] Downloaded tera v1.6.1 [INFO] [stderr] Downloaded syn v1.0.58 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.1 [INFO] [stderr] Downloaded log v0.4.13 [INFO] [stderr] Downloaded git2 v0.13.15 [INFO] [stderr] Downloaded wasi v0.10.1+wasi-snapshot-preview1 [INFO] [stderr] Downloaded serde_yaml v0.8.15 [INFO] [stderr] Downloaded crossbeam-utils v0.8.1 [INFO] [stderr] Downloaded ignore v0.4.17 [INFO] [stderr] Downloaded dtoa v0.4.7 [INFO] [stderr] Downloaded redox_syscall v0.2.4 [INFO] [stderr] Downloaded globset v0.4.6 [INFO] [stderr] Downloaded getrandom v0.2.1 [INFO] [stderr] Downloaded bstr v0.2.14 [INFO] [stderr] Downloaded libc v0.2.82 [INFO] [stderr] Downloaded chrono-tz v0.5.3 [INFO] [stderr] Downloaded libgit2-sys v0.12.17+1.1.0 [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] 5bd6f6357c7b9b1e82cf732fab2ca6693c629c838c7e292e8a846d8b39599052 [INFO] running `Command { std: "docker" "start" "-a" "5bd6f6357c7b9b1e82cf732fab2ca6693c629c838c7e292e8a846d8b39599052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bd6f6357c7b9b1e82cf732fab2ca6693c629c838c7e292e8a846d8b39599052", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bd6f6357c7b9b1e82cf732fab2ca6693c629c838c7e292e8a846d8b39599052", kill_on_drop: false }` [INFO] [stdout] 5bd6f6357c7b9b1e82cf732fab2ca6693c629c838c7e292e8a846d8b39599052 [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] b2b1e01a4aeee8190a20212c1c55829919a206cb30d9ece9b792ea81ed332482 [INFO] running `Command { std: "docker" "start" "-a" "b2b1e01a4aeee8190a20212c1c55829919a206cb30d9ece9b792ea81ed332482", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling rand v0.8.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking grep-matcher v0.1.4 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking num-format v0.4.0 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libgit2-sys v0.12.17+1.1.0 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking grep-searcher v0.1.7 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking ignore v0.4.17 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Checking git2 v0.13.15 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking dashmap v4.0.2 [INFO] [stderr] Compiling tera v1.6.1 [INFO] [stderr] Compiling tokei v12.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `is_not_line_ending_whitespace` is never used [INFO] [stdout] --> src/utils/ext.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait AsciiExt { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 4 | fn is_whitespace(self) -> bool; [INFO] [stdout] 5 | fn is_not_line_ending_whitespace(self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `any_comments` is never read [INFO] [stdout] --> src/language/syntax.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) struct SharedMatchers { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub any_comments: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedMatchers` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_not_line_ending_whitespace` is never used [INFO] [stdout] --> src/utils/ext.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub(crate) trait AsciiExt { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 4 | fn is_whitespace(self) -> bool; [INFO] [stdout] 5 | fn is_not_line_ending_whitespace(self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `any_comments` is never read [INFO] [stdout] --> src/language/syntax.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) struct SharedMatchers { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub any_comments: &'static [&'static str], [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedMatchers` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = $feature)] extern crate $krate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(feature = $feature)] extern crate $krate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = $feature)] $variant [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = $feature)] $variant [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = $feature)] $variant [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = $feature)] stringify!($name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:27:23 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg(feature = $feature)] $variant [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(not(feature = $feature))] stringify!($name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | #[cfg(feature = $feature)] stringify!($name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | #[cfg(not(feature = $feature))] stringify!($name) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = $feature)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = $feature)] Format::$variant => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | #[cfg(feature = $feature)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:98:31 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(feature = $feature)] Format::$variant => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = $feature)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(feature = $feature)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg(not(feature = $feature))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io` and `process` [INFO] [stdout] --> src/main.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{error::Error, io, process}; [INFO] [stdout] | ^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `json` [INFO] [stdout] --> src/input.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg(not(feature = $feature))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `all`, `cbor`, `default`, `hex`, `serde_cbor`, `serde_yaml`, and `yaml` [INFO] [stdout] = help: consider adding `json` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `Languages`, and `Sort` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use tokei::{Config, Languages, Sort}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cli_utils::*` and `input::*` [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{cli::Cli, cli_utils::*, input::*}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io` and `process` [INFO] [stdout] --> src/main.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{error::Error, io, process}; [INFO] [stdout] | ^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Config`, `Languages`, and `Sort` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use tokei::{Config, Languages, Sort}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cli_utils::*` and `input::*` [INFO] [stdout] --> src/main.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::{cli::Cli, cli_utils::*, input::*}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cli` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cli = Cli::from_args(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cli` [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/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cli = Cli::from_args(); [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: multiple fields are never read [INFO] [stdout] --> src/cli.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Cli<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 11 | matches: ArgMatches<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub columns: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub files: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub hidden: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub no_ignore: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub no_ignore_parent: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub no_ignore_dot: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub no_ignore_vcs: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub output: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub print_languages: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub sort: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub types: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub compact: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub number_format: num_format::CustomFormat, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub verbose: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `file_input`, `ignored_directories`, `input`, `print_supported_languages`, `override_config`, and `print_input_parse_failure` are never used [INFO] [stdout] --> src/cli.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Cli<'a> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn file_input(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn ignored_directories(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn input(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn print_supported_languages() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn override_config(&mut self, mut config: Config) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn print_input_parse_failure(input_filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FALLBACK_ROW_LEN` is never used [INFO] [stdout] --> src/cli_utils.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const FALLBACK_ROW_LEN: usize = 79; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_LANG_HEADER_ROW_LEN` is never used [INFO] [stdout] --> src/cli_utils.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const NO_LANG_HEADER_ROW_LEN: usize = 67; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_LANG_ROW_LEN` is never used [INFO] [stdout] --> src/cli_utils.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const NO_LANG_ROW_LEN: usize = 61; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_LANG_ROW_LEN_NO_SPACES` is never used [INFO] [stdout] --> src/cli_utils.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const NO_LANG_ROW_LEN_NO_SPACES: usize = 54; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IDENT_INACCURATE` is never used [INFO] [stdout] --> src/cli_utils.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const IDENT_INACCURATE: &str = "(!)"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Printer` is never constructed [INFO] [stdout] --> src/cli_utils.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Printer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cli_utils.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl Printer { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 131 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cli_utils.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl Printer { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 150 | pub fn print_header(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn print_inaccuracy_warning(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn print_language(&mut self, language: &Language, name: &str) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn print_language_in_print_total(&mut self, language: &Language) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn print_language_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn print_code_stats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | fn print_language_total(&mut self, parent: &Language) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn print_results<'a, I>(&mut self, languages: I, compact: bool) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | fn print_row(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn print_subrow(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | fn print_report( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | fn print_report_total(&mut self, report: &Report, inaccurate: bool) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | fn print_report_with_name(&mut self, report: &Report) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | fn print_report_total_formatted( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn print_total(&mut self, languages: tokei::Languages) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LanguageMap` is never used [INFO] [stdout] --> src/input.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type LanguageMap = BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cli` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cli = Cli::from_args(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cli` [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/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cli = Cli::from_args(); [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: associated items `all_feature_names`, `not_supported`, `parse`, and `print` are never used [INFO] [stdout] --> src/input.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 32 | impl Format { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn all_feature_names() -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn not_supported() -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn parse(input: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn print(&self, languages: &Languages) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_input` is never used [INFO] [stdout] --> src/input.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn add_input(input: &str, languages: &mut Languages) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_input` is never used [INFO] [stdout] --> src/input.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn convert_input(contents: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/cli.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Cli<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 11 | matches: ArgMatches<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub columns: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub files: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub hidden: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | pub no_ignore: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | pub no_ignore_parent: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub no_ignore_dot: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub no_ignore_vcs: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 19 | pub output: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub print_languages: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | pub sort: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub types: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | pub compact: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub number_format: num_format::CustomFormat, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub verbose: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `file_input`, `ignored_directories`, `input`, `print_supported_languages`, `override_config`, and `print_input_parse_failure` are never used [INFO] [stdout] --> src/cli.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl<'a> Cli<'a> { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn file_input(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn ignored_directories(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn input(&self) -> Vec<&str> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn print_supported_languages() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn override_config(&mut self, mut config: Config) -> Config { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn print_input_parse_failure(input_filename: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FALLBACK_ROW_LEN` is never used [INFO] [stdout] --> src/cli_utils.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const FALLBACK_ROW_LEN: usize = 79; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_LANG_HEADER_ROW_LEN` is never used [INFO] [stdout] --> src/cli_utils.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const NO_LANG_HEADER_ROW_LEN: usize = 67; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_LANG_ROW_LEN` is never used [INFO] [stdout] --> src/cli_utils.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | const NO_LANG_ROW_LEN: usize = 61; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_LANG_ROW_LEN_NO_SPACES` is never used [INFO] [stdout] --> src/cli_utils.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const NO_LANG_ROW_LEN_NO_SPACES: usize = 54; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IDENT_INACCURATE` is never used [INFO] [stdout] --> src/cli_utils.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const IDENT_INACCURATE: &str = "(!)"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Printer` is never constructed [INFO] [stdout] --> src/cli_utils.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct Printer { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cli_utils.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 130 | impl Printer { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 131 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/cli_utils.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 149 | impl Printer { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 150 | pub fn print_header(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn print_inaccuracy_warning(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn print_language(&mut self, language: &Language, name: &str) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | fn print_language_in_print_total(&mut self, language: &Language) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn print_language_name( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | fn print_code_stats( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | fn print_language_total(&mut self, parent: &Language) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn print_results<'a, I>(&mut self, languages: I, compact: bool) -> io::Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | fn print_row(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | fn print_subrow(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | fn print_report( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | fn print_report_total(&mut self, report: &Report, inaccurate: bool) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | fn print_report_with_name(&mut self, report: &Report) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 429 | fn print_report_total_formatted( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn print_total(&mut self, languages: tokei::Languages) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `LanguageMap` is never used [INFO] [stdout] --> src/input.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type LanguageMap = BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `all_feature_names`, `not_supported`, `parse`, and `print` are never used [INFO] [stdout] --> src/input.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 32 | impl Format { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn all_feature_names() -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn not_supported() -> &'static [&'static str] { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn parse(input: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn print(&self, languages: &Languages) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / supported_formats!( [INFO] [stdout] 143 | | (cbor, "cbor", Cbor [serde_cbor, hex]) => [INFO] [stdout] 144 | | |input| { [INFO] [stdout] 145 | | hex::FromHex::from_hex(input) [INFO] [stdout] ... | [INFO] [stdout] 157 | | serde_yaml::to_string, [INFO] [stdout] 158 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `supported_formats` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_input` is never used [INFO] [stdout] --> src/input.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn add_input(input: &str, languages: &mut Languages) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_input` is never used [INFO] [stdout] --> src/input.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn convert_input(contents: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: git2 v0.13.15 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b2b1e01a4aeee8190a20212c1c55829919a206cb30d9ece9b792ea81ed332482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2b1e01a4aeee8190a20212c1c55829919a206cb30d9ece9b792ea81ed332482", kill_on_drop: false }` [INFO] [stdout] b2b1e01a4aeee8190a20212c1c55829919a206cb30d9ece9b792ea81ed332482