[INFO] cloning repository https://github.com/sbszcz/kloni [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sbszcz/kloni" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbszcz%2Fkloni", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbszcz%2Fkloni'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 827b7bea7b626c8654e42bd1facb21e1b4c49109 [INFO] checking sbszcz/kloni against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbszcz%2Fkloni" "/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/sbszcz/kloni 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/sbszcz/kloni [INFO] finished tweaking git repo https://github.com/sbszcz/kloni [INFO] tweaked toml for git repo https://github.com/sbszcz/kloni written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sbszcz/kloni 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 serde_spanned v0.6.4 [INFO] [stderr] Downloaded vte v0.11.0 [INFO] [stderr] Downloaded basic-cookies v0.1.4 [INFO] [stderr] Downloaded async-object-pool v0.1.4 [INFO] [stderr] Downloaded sluice v0.5.5 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.86 [INFO] [stderr] Downloaded castaway v0.1.2 [INFO] [stderr] Downloaded as-slice v0.2.1 [INFO] [stderr] Downloaded cvt v0.1.2 [INFO] [stderr] Downloaded aligned v0.4.1 [INFO] [stderr] Downloaded normpath v1.1.0 [INFO] [stderr] Downloaded futures-macro v0.3.27 [INFO] [stderr] Downloaded tuikit v0.5.0 [INFO] [stderr] Downloaded async-trait v0.1.66 [INFO] [stderr] Downloaded attohttpc v0.26.1 [INFO] [stderr] Downloaded httpmock v0.6.8 [INFO] [stderr] Downloaded openssl-sys v0.9.97 [INFO] [stderr] Downloaded winnow v0.5.28 [INFO] [stderr] Downloaded skim v0.10.4 [INFO] [stderr] Downloaded futures-util v0.3.27 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.86 [INFO] [stderr] Downloaded git2 v0.18.1 [INFO] [stderr] Downloaded isahc v1.7.2 [INFO] [stderr] Downloaded cxx-build v1.0.86 [INFO] [stderr] Downloaded fs_at v0.1.4 [INFO] [stderr] Downloaded defer-drop v1.3.0 [INFO] [stderr] Downloaded openssl v0.10.61 [INFO] [stderr] Downloaded remove_dir_all v0.8.2 [INFO] [stderr] Downloaded libssh2-sys v0.3.0 [INFO] [stderr] Downloaded cxx v1.0.86 [INFO] [stderr] Downloaded libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Downloaded curl-sys v0.4.62+curl-8.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] 8b6ccb21703bd533ea392e44f8221a0eef80d8218cd962815ffa7139409ce0b4 [INFO] running `Command { std: "docker" "start" "-a" "8b6ccb21703bd533ea392e44f8221a0eef80d8218cd962815ffa7139409ce0b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b6ccb21703bd533ea392e44f8221a0eef80d8218cd962815ffa7139409ce0b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b6ccb21703bd533ea392e44f8221a0eef80d8218cd962815ffa7139409ce0b4", kill_on_drop: false }` [INFO] [stdout] 8b6ccb21703bd533ea392e44f8221a0eef80d8218cd962815ffa7139409ce0b4 [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] 401eb0b69c8a9e87383312369742e62adaea3ce8ae0258190a6471682854cad4 [INFO] running `Command { std: "docker" "start" "-a" "401eb0b69c8a9e87383312369742e62adaea3ce8ae0258190a6471682854cad4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling log v0.4.18 [INFO] [stderr] Checking value-bag v1.4.0 [INFO] [stderr] Checking once_cell v1.17.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking itoa v1.0.5 [INFO] [stderr] Checking parking v2.1.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Checking aho-corasick v1.0.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking async-lock v2.7.0 [INFO] [stderr] Compiling rustix v0.37.7 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking bytes v1.3.0 [INFO] [stderr] Checking concurrent-queue v2.2.0 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Checking async-channel v1.8.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling signal-hook v0.3.15 [INFO] [stderr] Checking ryu v1.0.12 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking async-task v4.4.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling async-process v1.7.0 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking atomic-waker v1.1.1 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking blocking v1.3.1 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling libnghttp2-sys v0.1.7+1.45.0 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling curl-sys v0.4.62+curl-8.1.0 [INFO] [stderr] Compiling libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking async-executor v1.5.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking cvt v0.1.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking winnow v0.5.28 [INFO] [stderr] Checking time-core v0.1.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Compiling futures-util v0.3.27 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking async-global-executor v2.3.1 [INFO] [stderr] Checking rayon v1.6.1 [INFO] [stderr] Checking clap v3.2.23 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking vte v0.11.0 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Checking timer v0.2.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking fs_at v0.1.4 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking defer-drop v1.3.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling isahc v1.7.2 [INFO] [stderr] Checking normpath v1.1.0 [INFO] [stderr] Checking shlex v1.1.0 [INFO] [stderr] Checking tuikit v0.5.0 [INFO] [stderr] Checking beef v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.66 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking remove_dir_all v0.8.2 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Compiling darling_core v0.14.2 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking sluice v0.5.5 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking castaway v0.1.2 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling futures-macro v0.3.27 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Compiling darling_macro v0.14.2 [INFO] [stderr] Compiling darling v0.14.2 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking async-object-pool v0.1.4 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Checking skim v0.10.4 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Checking git2 v0.18.1 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Compiling basic-cookies v0.1.4 [INFO] [stderr] Checking attohttpc v0.26.1 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking httpmock v0.6.8 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking kloni v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `github` should have an upper camel case name [INFO] [stdout] --> src/files/config.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | github, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Github` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bitbucket` should have an upper camel case name [INFO] [stdout] --> src/files/config.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | bitbucket, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Bitbucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `github` should have an upper camel case name [INFO] [stdout] --> src/files/config.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | github, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Github` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bitbucket` should have an upper camel case name [INFO] [stdout] --> src/files/config.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | bitbucket, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Bitbucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConfigFileStatus` is more private than the item `get_or_create_config_file` [INFO] [stdout] --> src/files.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_or_create_config_file(default_content: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_or_create_config_file` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConfigFileStatus` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/files.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | enum ConfigFileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `github` should have an upper camel case name [INFO] [stdout] --> src/files/config.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | github, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Github` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bitbucket` should have an upper camel case name [INFO] [stdout] --> src/files/config.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | bitbucket, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Bitbucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `github` should have an upper camel case name [INFO] [stdout] --> src/files/config.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | github, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Github` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bitbucket` should have an upper camel case name [INFO] [stdout] --> src/files/config.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | bitbucket, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Bitbucket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConfigFileStatus` is more private than the item `files::get_or_create_config_file` [INFO] [stdout] --> src/files.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_or_create_config_file(default_content: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `files::get_or_create_config_file` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConfigFileStatus` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/files.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | enum ConfigFileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConfigFileStatus` is more private than the item `files::get_or_create_config_file` [INFO] [stdout] --> src/files.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_or_create_config_file(default_content: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `files::get_or_create_config_file` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ConfigFileStatus` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/files.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | enum ConfigFileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidHomeDir` is never constructed [INFO] [stdout] --> src/files.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum FsError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 14 | #[error("no valid home directory path could be retrieved from the operating system")] [INFO] [stdout] 15 | InvalidHomeDir, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FsError` 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: variant `InvalidHomeDir` is never constructed [INFO] [stdout] --> src/files.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum FsError { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 14 | #[error("no valid home directory path could be retrieved from the operating system")] [INFO] [stdout] 15 | InvalidHomeDir, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FsError` 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: function `project_dirs` is never used [INFO] [stdout] --> src/files.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn project_dirs() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConfigFileStatus` is never used [INFO] [stdout] --> src/files.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum ConfigFileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `project_dirs` is never used [INFO] [stdout] --> src/files.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn project_dirs() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_or_create_config_file` is never used [INFO] [stdout] --> src/files.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_or_create_config_file(default_content: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ConfigFileStatus` is never used [INFO] [stdout] --> src/files.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | enum ConfigFileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_or_create_config_file` is never used [INFO] [stdout] --> src/files.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_or_create_config_file(default_content: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_or_create_cache_file` is never used [INFO] [stdout] --> src/files.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_or_create_cache_file(file_name: String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_or_create_cache_file` is never used [INFO] [stdout] --> src/files.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn get_or_create_cache_file(file_name: String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_is_empty` is never used [INFO] [stdout] --> src/files.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn file_is_empty(file: &File) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_is_empty` is never used [INFO] [stdout] --> src/files.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn file_is_empty(file: &File) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_DEFAULT` is never used [INFO] [stdout] --> src/files/config.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const CONFIG_DEFAULT: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_DEFAULT` is never used [INFO] [stdout] --> src/files/config.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const CONFIG_DEFAULT: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `providers` is never read [INFO] [stdout] --> src/files/config.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 30 | pub providers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `providers` is never read [INFO] [stdout] --> src/files/config.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 30 | pub providers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `provider`, `base_url`, `token`, and `symbol` are never read [INFO] [stdout] --> src/files/config.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Provider { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 35 | pub provider: Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | pub symbol: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Provider` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `provider`, `base_url`, `token`, and `symbol` are never read [INFO] [stdout] --> src/files/config.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Provider { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 35 | pub provider: Type, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | pub symbol: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Provider` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url`, `token`, and `icon` are never read [INFO] [stdout] --> src/files/config.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct GithubConf { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 49 | pub base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | pub icon: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GithubConf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url`, `token`, and `icon` are never read [INFO] [stdout] --> src/files/config.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct GithubConf { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 49 | pub base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 51 | pub icon: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GithubConf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url`, `token`, and `icon` are never read [INFO] [stdout] --> src/files/config.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct BitbucketConf { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 56 | pub base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | pub icon: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitbucketConf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FirstRun` is never constructed [INFO] [stdout] --> src/files/config.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum ConfigError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 63 | #[error("It looks like kloni has been executed for the first time. Please provide the necessary repo provider config in '{0}'")] [INFO] [stdout] 64 | FirstRun(PathBuf), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_url`, `token`, and `icon` are never read [INFO] [stdout] --> src/files/config.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct BitbucketConf { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 56 | pub base_url: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 57 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | pub icon: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitbucketConf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get` and `validate_config` are never used [INFO] [stdout] --> src/files/config.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Config { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 68 | pub fn get(_custom_config: Option) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn validate_config(config: &Config, conf_file: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FirstRun` is never constructed [INFO] [stdout] --> src/files/config.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub enum ConfigError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 63 | #[error("It looks like kloni has been executed for the first time. Please provide the necessary repo provider config in '{0}'")] [INFO] [stdout] 64 | FirstRun(PathBuf), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `get` and `validate_config` are never used [INFO] [stdout] --> src/files/config.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl Config { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 68 | pub fn get(_custom_config: Option) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn validate_config(config: &Config, conf_file: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ConfigFileStatus` is more private than the item `get_or_create_config_file` [INFO] [stdout] --> src/files.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn get_or_create_config_file(default_content: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_or_create_config_file` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ConfigFileStatus` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/files.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | enum ConfigFileStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.06s [INFO] running `Command { std: "docker" "inspect" "401eb0b69c8a9e87383312369742e62adaea3ce8ae0258190a6471682854cad4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "401eb0b69c8a9e87383312369742e62adaea3ce8ae0258190a6471682854cad4", kill_on_drop: false }` [INFO] [stdout] 401eb0b69c8a9e87383312369742e62adaea3ce8ae0258190a6471682854cad4