[INFO] fetching crate starship-gitlab 0.1.4... [INFO] building starship-gitlab-0.1.4 against try#f41a2ab7b0d9462073425dd6c04abbeb4805cb77 for pr-97334-2 [INFO] extracting crate starship-gitlab 0.1.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate starship-gitlab 0.1.4 on toolchain f41a2ab7b0d9462073425dd6c04abbeb4805cb77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate starship-gitlab 0.1.4 [INFO] finished tweaking crates.io crate starship-gitlab 0.1.4 [INFO] tweaked toml for crates.io crate starship-gitlab 0.1.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate starship-gitlab 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b824a295ae3fc28c4ed36a3d22eb72a19b4a2113f60d63ea2640eaa27363e9f0 [INFO] running `Command { std: "docker" "start" "-a" "b824a295ae3fc28c4ed36a3d22eb72a19b4a2113f60d63ea2640eaa27363e9f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b824a295ae3fc28c4ed36a3d22eb72a19b4a2113f60d63ea2640eaa27363e9f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b824a295ae3fc28c4ed36a3d22eb72a19b4a2113f60d63ea2640eaa27363e9f0", kill_on_drop: false }` [INFO] [stdout] b824a295ae3fc28c4ed36a3d22eb72a19b4a2113f60d63ea2640eaa27363e9f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11aef21eda3151485cbddc38fec59712ee893135043bffa60b59e1a592807b17 [INFO] running `Command { std: "docker" "start" "-a" "11aef21eda3151485cbddc38fec59712ee893135043bffa60b59e1a592807b17", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tracing v0.1.28 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling zstd-safe v4.1.1+zstd.1.5.0 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling zstd-sys v1.6.1+zstd.1.5.0 [INFO] [stderr] Compiling libssh2-sys v0.2.21 [INFO] [stderr] Compiling libgit2-sys v0.12.23+1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling os_str_bytes v4.2.0 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling git-url-parse v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling graphql_client_codegen v0.8.0 [INFO] [stderr] Compiling simplelog v0.10.0 [INFO] [stderr] Compiling git2 v0.13.22 [INFO] [stderr] Compiling graphql_query_derive v0.8.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling graphql_client v0.8.0 [INFO] [stderr] Compiling gitlab v0.1402.0 [INFO] [stderr] Compiling zstd v0.9.0+zstd.1.5.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling starship-gitlab v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AppSettings` [INFO] [stdout] --> src/main.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | use clap::{AppSettings, Parser}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 285 | if let Error::ReadConfigSyntaxError(e) = err { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:287:46 [INFO] [stdout] | [INFO] [stdout] 287 | } else if let Error::OpenConfigError(e) = err { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:289:46 [INFO] [stdout] | [INFO] [stdout] 289 | } else if let Error::ReadConfigError(e) = err { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:291:47 [INFO] [stdout] | [INFO] [stdout] 291 | } else if let Error::ClearConfigError(e) = err { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CouldNotReadVersionError` and `VersionNotFoundError` are never constructed [INFO] [stdout] --> src/main.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 160 | enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 172 | CouldNotReadVersionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | VersionNotFoundError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ref_` is never read [INFO] [stdout] --> src/git_api.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) struct GitTag<'r> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | pub(crate) tag: String, [INFO] [stdout] 40 | pub(crate) ref_: Reference<'r>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/gitlab_api.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct GitlabClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache_root` and `cache_db_file` are never read [INFO] [stdout] --> src/gitlab_cache.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) struct GitlabCache { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | cache_root: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | cache_db_file: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_version` is never used [INFO] [stdout] --> src/gitlab_cache.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) fn read_version(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hostConfig` should have a snake case name [INFO] [stdout] --> src/config.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(hostConfig) = config.host.get(host) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `host_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gitlab_cache.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | / self.db.remove(data_key_bytes).map_err(|e| { [INFO] [stdout] 254 | | Error::CouldNotClearKeyError(format!("{:?}", data_key), format!("{:?}", e)) [INFO] [stdout] 255 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gitlab_cache.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | / self.db.remove(time_key_bytes).map_err(|e| { [INFO] [stdout] 257 | | Error::CouldNotClearKeyError(format!("{:?}", time_key), format!("{:?}", e)) [INFO] [stdout] 258 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "11aef21eda3151485cbddc38fec59712ee893135043bffa60b59e1a592807b17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11aef21eda3151485cbddc38fec59712ee893135043bffa60b59e1a592807b17", kill_on_drop: false }` [INFO] [stdout] 11aef21eda3151485cbddc38fec59712ee893135043bffa60b59e1a592807b17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 397137d142d86734d1985f9666bea7a5b2bbd84ca2da5c833b1d63101d4fa89e [INFO] running `Command { std: "docker" "start" "-a" "397137d142d86734d1985f9666bea7a5b2bbd84ca2da5c833b1d63101d4fa89e", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling starship-gitlab v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AppSettings` [INFO] [stdout] --> src/main.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | use clap::{AppSettings, Parser}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:285:45 [INFO] [stdout] | [INFO] [stdout] 285 | if let Error::ReadConfigSyntaxError(e) = err { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:287:46 [INFO] [stdout] | [INFO] [stdout] 287 | } else if let Error::OpenConfigError(e) = err { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:289:46 [INFO] [stdout] | [INFO] [stdout] 289 | } else if let Error::ReadConfigError(e) = err { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:291:47 [INFO] [stdout] | [INFO] [stdout] 291 | } else if let Error::ClearConfigError(e) = err { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CouldNotReadVersionError` and `VersionNotFoundError` are never constructed [INFO] [stdout] --> src/main.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 160 | enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 172 | CouldNotReadVersionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | VersionNotFoundError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ref_` is never read [INFO] [stdout] --> src/git_api.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) struct GitTag<'r> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 39 | pub(crate) tag: String, [INFO] [stdout] 40 | pub(crate) ref_: Reference<'r>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `token` is never read [INFO] [stdout] --> src/gitlab_api.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct GitlabClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 53 | token: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cache_root` and `cache_db_file` are never read [INFO] [stdout] --> src/gitlab_cache.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) struct GitlabCache { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 60 | cache_root: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 61 | cache_db_file: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `read_version` is never used [INFO] [stdout] --> src/gitlab_cache.rs:157:19 [INFO] [stdout] | [INFO] [stdout] 157 | pub(crate) fn read_version(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `hostConfig` should have a snake case name [INFO] [stdout] --> src/config.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | if let Some(hostConfig) = config.host.get(host) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `host_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gitlab_cache.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | / self.db.remove(data_key_bytes).map_err(|e| { [INFO] [stdout] 254 | | Error::CouldNotClearKeyError(format!("{:?}", data_key), format!("{:?}", e)) [INFO] [stdout] 255 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/gitlab_cache.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | / self.db.remove(time_key_bytes).map_err(|e| { [INFO] [stdout] 257 | | Error::CouldNotClearKeyError(format!("{:?}", time_key), format!("{:?}", e)) [INFO] [stdout] 258 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.41s [INFO] running `Command { std: "docker" "inspect" "397137d142d86734d1985f9666bea7a5b2bbd84ca2da5c833b1d63101d4fa89e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "397137d142d86734d1985f9666bea7a5b2bbd84ca2da5c833b1d63101d4fa89e", kill_on_drop: false }` [INFO] [stdout] 397137d142d86734d1985f9666bea7a5b2bbd84ca2da5c833b1d63101d4fa89e