[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] testing saethlin/tokei against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsaethlin%2Ftokei" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/saethlin/tokei on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 689160ccb2f51f4755ff35da7f73f89dbf2ca1f7ee2224907a6f801ed8606c41 [INFO] running `Command { std: "docker" "start" "-a" "689160ccb2f51f4755ff35da7f73f89dbf2ca1f7ee2224907a6f801ed8606c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "689160ccb2f51f4755ff35da7f73f89dbf2ca1f7ee2224907a6f801ed8606c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "689160ccb2f51f4755ff35da7f73f89dbf2ca1f7ee2224907a6f801ed8606c41", kill_on_drop: false }` [INFO] [stdout] 689160ccb2f51f4755ff35da7f73f89dbf2ca1f7ee2224907a6f801ed8606c41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 929b9c27d8ee140ed6b6e538606114eb0ea56af99d712598b3757f7da9dac551 [INFO] running `Command { std: "docker" "start" "-a" "929b9c27d8ee140ed6b6e538606114eb0ea56af99d712598b3757f7da9dac551", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling deunicode v0.4.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling slug v0.1.4 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Compiling rand v0.8.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling humansize v1.1.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling grep-matcher v0.1.4 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling humantime v2.0.1 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling grep-searcher v0.1.7 [INFO] [stderr] Compiling dirs v3.0.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling num-format v0.4.0 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling toml v0.5.8 [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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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: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: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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s [INFO] running `Command { std: "docker" "inspect" "929b9c27d8ee140ed6b6e538606114eb0ea56af99d712598b3757f7da9dac551", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "929b9c27d8ee140ed6b6e538606114eb0ea56af99d712598b3757f7da9dac551", kill_on_drop: false }` [INFO] [stdout] 929b9c27d8ee140ed6b6e538606114eb0ea56af99d712598b3757f7da9dac551 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bc828cf3703dd125a9fef8033f45844abbe178c797e241e1124b9bd4deac4e27 [INFO] running `Command { std: "docker" "start" "-a" "bc828cf3703dd125a9fef8033f45844abbe178c797e241e1124b9bd4deac4e27", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [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] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.1 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libgit2-sys v0.12.17+1.1.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling git2 v0.13.15 [INFO] [stderr] Compiling tokei v12.1.2 (/opt/rustwide/workdir) [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: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: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: 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: 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: 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustczxpgWx/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libserde_json-5d3ee2a386497052.rlib,libryu-af883cd9b444a782.rlib,libitoa-f8680ac5a73dcca6.rlib,libdirs-4dd7b6ab3a6471eb.rlib,libdirs_sys-8cc0e2f2ebc7755d.rlib,libtoml-18a2e9062ad31ab2.rlib,libgit2-bde080cc83098258.rlib,liburl-ec5cb3ac1e6324c2.rlib,libidna-870ade081d451e97.rlib,libunicode_normalization-56bcba8c1bad119f.rlib,libtinyvec-bf1dbee9b1979df8.rlib,libtinyvec_macros-c54c30cfa88e68f0.rlib,libunicode_bidi-3c976b4886511d83.rlib,libform_urlencoded-488e316ced97c0bc.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libmatches-d7125afe50072f5c.rlib,liblibgit2_sys-0e0eb36a01fa8c54.rlib,liblibz_sys-b5dbe69851935201.rlib,libbitflags-561a4f1321538a32.rlib,libparking_lot-3202006080ce4b5a.rlib,libparking_lot_core-0ed78c40dced0c31.rlib,libsmallvec-a0b9fe2bb61c7c93.rlib,liblock_api-96b38419b92836ef.rlib,libinstant-96e83b871cb6a3bd.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libonce_cell-942554d6a4b98f73.rlib,libdashmap-0f00f5fd4e133d97.rlib,libgrep_searcher-5ab58f1c26e2ac70.rlib,libmemmap-fbd1a686617c4e44.rlib,libgrep_matcher-3f6f2c4c31bfac9b.rlib,libbytecount-63545ff6b743345d.rlib,libencoding_rs_io-4bc1355c2517e896.rlib,libencoding_rs-6d3f174ee004485f.rlib,libtempfile-f88d70623918ce4f.rlib,librand-644a10910e5ac24c.rlib,librand_chacha-b89cf384f4a05b05.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-738f38b394951489.rlib,libgetrandom-029fba86bbcc8d1c.rlib,libremove_dir_all-4e221c62d36b2749.rlib,librayon-cf63fa55f8ba0c30.rlib,librayon_core-034dc31d3e8b6244.rlib,libnum_cpus-3a338370c81cee03.rlib,liblibc-b366564f8f803d71.rlib,libcrossbeam_deque-5605fed6ec712217.rlib,libcrossbeam_epoch-029f62998d1e189d.rlib,libmemoffset-cf660738815e7a10.rlib,libscopeguard-73056285f12cb829.rlib,libcrossbeam_channel-e65dc906cd56d804.rlib,libeither-e8a0ef7222037a64.rlib,libignore-9bef257ee61d7bce.rlib,libcrossbeam_utils-a402afb9c038c148.rlib,libcfg_if-66d55f6b302e88c8.rlib,libwalkdir-3efeb4370cd33e40.rlib,libsame_file-ebfa63be59ead6ba.rlib,libglobset-6a25848fd7b6e881.rlib,libregex-bf991f40c23179ef.rlib,libthread_local-ae8cd15a8497eb25.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libregex_syntax-e5af858b2117774d.rlib,libfnv-81596130b397d5c3.rlib,libbstr-37645d33f2a75a4e.rlib,libaho_corasick-b254e07826576682.rlib,libmemchr-73e1d28ab8a2c4a0.rlib,libserde-645f4495a340a9a8.rlib,liblog-d5fe399bc5a34d79.rlib,libcfg_if-2d17986ae484e939.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustczxpgWx/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/libgit2-sys-f07f197b3b529500/out/build" "-L" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/libz-sys-5fa0e72b94a5e03f/out/build" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/tokei-f4160c7f21ea34dc" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-029fba86bbcc8d1c.rlib(getrandom-029fba86bbcc8d1c.getrandom.92c6acdaad0c4a2b-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.1/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17h8a8dbfe9b8482b38E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokei` (lib test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bc828cf3703dd125a9fef8033f45844abbe178c797e241e1124b9bd4deac4e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc828cf3703dd125a9fef8033f45844abbe178c797e241e1124b9bd4deac4e27", kill_on_drop: false }` [INFO] [stdout] bc828cf3703dd125a9fef8033f45844abbe178c797e241e1124b9bd4deac4e27