[INFO] fetching crate starship-gitlab 0.1.4... [INFO] building starship-gitlab-0.1.4 against master#c2804e6ec2c29a5c7368600ea173b890e2655c3d for pr-97334-1 [INFO] extracting crate starship-gitlab 0.1.4 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate starship-gitlab 0.1.4 on toolchain c2804e6ec2c29a5c7368600ea173b890e2655c3d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "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-1/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: "/workspace/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slab v0.4.4 [INFO] [stderr] Downloaded openssl-sys v0.9.66 [INFO] [stderr] Downloaded tracing v0.1.28 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] [stderr] Downloaded object v0.26.2 [INFO] [stderr] Downloaded openssl v0.10.36 [INFO] [stderr] Downloaded graphql-parser v0.2.3 [INFO] [stderr] Downloaded git2 v0.13.22 [INFO] [stderr] Downloaded git-url-parse v0.3.1 [INFO] [stderr] Downloaded zstd v0.9.0+zstd.1.5.0 [INFO] [stderr] Downloaded security-framework-sys v2.4.2 [INFO] [stderr] Downloaded graphql_client v0.8.0 [INFO] [stderr] Downloaded unicode-bidi v0.3.6 [INFO] [stderr] Downloaded backtrace v0.3.61 [INFO] [stderr] Downloaded tinyvec v1.4.0 [INFO] [stderr] Downloaded addr2line v0.16.0 [INFO] [stderr] Downloaded graphql_client_codegen v0.8.0 [INFO] [stderr] Downloaded gimli v0.25.0 [INFO] [stderr] Downloaded gitlab v0.1402.0 [INFO] [stderr] Downloaded libssh2-sys v0.2.21 [INFO] [stderr] Downloaded zstd-sys v1.6.1+zstd.1.5.0 [INFO] [stderr] Downloaded libgit2-sys v0.12.23+1.2.0 [INFO] [stderr] Downloaded tokio v1.11.0 [INFO] [stderr] Downloaded graphql_query_derive v0.8.0 [INFO] [stderr] Downloaded tracing-core v0.1.20 [INFO] [stderr] Downloaded security-framework v2.4.2 [INFO] [stderr] Downloaded zstd-safe v4.1.1+zstd.1.5.0 [INFO] [stderr] Downloaded simplelog v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d124b30b7381f3092c431f832b4b93808eaeb99f34842cedef36b520171381fc [INFO] running `Command { std: "docker" "start" "-a" "d124b30b7381f3092c431f832b4b93808eaeb99f34842cedef36b520171381fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d124b30b7381f3092c431f832b4b93808eaeb99f34842cedef36b520171381fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d124b30b7381f3092c431f832b4b93808eaeb99f34842cedef36b520171381fc", kill_on_drop: false }` [INFO] [stdout] d124b30b7381f3092c431f832b4b93808eaeb99f34842cedef36b520171381fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14538ad2d57e767d0fc501ee81788bdb7921b88a660841089bb5c31488030209 [INFO] running `Command { std: "docker" "start" "-a" "14538ad2d57e767d0fc501ee81788bdb7921b88a660841089bb5c31488030209", 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 autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling zstd-safe v4.1.1+zstd.1.5.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling strum v0.20.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling tracing v0.1.28 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling object v0.26.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling os_str_bytes v4.2.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling dirs v4.0.0 [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 synstructure v0.12.5 [INFO] [stderr] Compiling darling_core v0.10.2 [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 strum_macros v0.20.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling git-url-parse v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling clap v3.0.0-beta.5 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [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 serde_urlencoded v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling simplelog v0.10.0 [INFO] [stderr] Compiling graphql_client_codegen v0.8.0 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling graphql_query_derive v0.8.0 [INFO] [stderr] Compiling git2 v0.13.22 [INFO] [stderr] Compiling graphql_client v0.8.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling zstd v0.9.0+zstd.1.5.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling gitlab v0.1402.0 [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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Error` 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: 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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 2m 36s [INFO] running `Command { std: "docker" "inspect" "14538ad2d57e767d0fc501ee81788bdb7921b88a660841089bb5c31488030209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14538ad2d57e767d0fc501ee81788bdb7921b88a660841089bb5c31488030209", kill_on_drop: false }` [INFO] [stdout] 14538ad2d57e767d0fc501ee81788bdb7921b88a660841089bb5c31488030209 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+c2804e6ec2c29a5c7368600ea173b890e2655c3d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d04b671f48c2fd6d215a4c7e0faa22d54f064a56148a6e30db41708a48c9034b [INFO] running `Command { std: "docker" "start" "-a" "d04b671f48c2fd6d215a4c7e0faa22d54f064a56148a6e30db41708a48c9034b", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Error` 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: 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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 2.53s [INFO] running `Command { std: "docker" "inspect" "d04b671f48c2fd6d215a4c7e0faa22d54f064a56148a6e30db41708a48c9034b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d04b671f48c2fd6d215a4c7e0faa22d54f064a56148a6e30db41708a48c9034b", kill_on_drop: false }` [INFO] [stdout] d04b671f48c2fd6d215a4c7e0faa22d54f064a56148a6e30db41708a48c9034b