[INFO] cloning repository https://github.com/Kranex/gitlab-rust-estimation-getter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kranex/gitlab-rust-estimation-getter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKranex%2Fgitlab-rust-estimation-getter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKranex%2Fgitlab-rust-estimation-getter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31202720303a2ebfe330f917f29d3dd13234c44b [INFO] building Kranex/gitlab-rust-estimation-getter against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKranex%2Fgitlab-rust-estimation-getter" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kranex/gitlab-rust-estimation-getter [INFO] finished tweaking git repo https://github.com/Kranex/gitlab-rust-estimation-getter [INFO] tweaked toml for git repo https://github.com/Kranex/gitlab-rust-estimation-getter written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kranex/gitlab-rust-estimation-getter on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kranex/gitlab-rust-estimation-getter 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded proc-macro2 v1.0.43 [INFO] [stderr] Downloaded quote v1.0.21 [INFO] [stderr] Downloaded serde v1.0.143 [INFO] [stderr] Downloaded graphql_client_codegen v0.10.0 [INFO] [stderr] Downloaded async-trait v0.1.57 [INFO] [stderr] Downloaded git-features v0.22.1 [INFO] [stderr] Downloaded time-macros v0.2.4 [INFO] [stderr] Downloaded git-actor v0.11.1 [INFO] [stderr] Downloaded libc v0.2.132 [INFO] [stderr] Downloaded directories v2.0.2 [INFO] [stderr] Downloaded csv-core v0.1.10 [INFO] [stderr] Downloaded git-hash v0.9.7 [INFO] [stderr] Downloaded time v0.3.13 [INFO] [stderr] Downloaded backtrace v0.3.66 [INFO] [stderr] Downloaded futures-util v0.3.23 [INFO] [stderr] Downloaded h2 v0.3.14 [INFO] [stderr] Downloaded git-validate v0.5.4 [INFO] [stderr] Downloaded bstr v0.2.17 [INFO] [stderr] Downloaded itertools v0.10.3 [INFO] [stderr] Downloaded gitlab v0.1500.0 [INFO] [stderr] Downloaded git-discover v0.3.0 [INFO] [stderr] Downloaded object v0.29.0 [INFO] [stderr] Downloaded serde_json v1.0.83 [INFO] [stderr] Downloaded git-path v0.4.0 [INFO] [stderr] Downloaded js-sys v0.3.59 [INFO] [stderr] Downloaded webpki-roots v0.22.4 [INFO] [stderr] Downloaded wasm-bindgen v0.2.82 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.37.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.37.0 [INFO] [stderr] Downloaded chrono v0.4.22 [INFO] [stderr] Downloaded windows_i686_gnu v0.37.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.37.0 [INFO] [stderr] Downloaded tracing v0.1.36 [INFO] [stderr] Downloaded git-object v0.20.1 [INFO] [stderr] Downloaded unicode-xid v0.2.3 [INFO] [stderr] Downloaded graphql_query_derive v0.10.0 [INFO] [stderr] Downloaded either v1.7.0 [INFO] [stderr] Downloaded serde_derive v1.0.143 [INFO] [stderr] Downloaded futures-task v0.3.23 [INFO] [stderr] Downloaded csv v1.1.6 [INFO] [stderr] Downloaded gimli v0.26.2 [INFO] [stderr] Downloaded futures-sink v0.3.23 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] [stderr] Downloaded itoa v1.0.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.32 [INFO] [stderr] Downloaded web-sys v0.3.59 [INFO] [stderr] Downloaded git-sec v0.3.0 [INFO] [stderr] Downloaded graphql_client v0.10.0 [INFO] [stderr] Downloaded futures-core v0.3.23 [INFO] [stderr] Downloaded bytes v1.2.1 [INFO] [stderr] Downloaded once_cell v1.13.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.82 [INFO] [stderr] Downloaded unicode-bom v1.1.4 [INFO] [stderr] Downloaded btoi v0.4.2 [INFO] [stderr] Downloaded git-date v0.0.3 [INFO] [stderr] Downloaded signal-hook v0.3.14 [INFO] [stderr] Downloaded git-tempfile v2.0.3 [INFO] [stderr] Downloaded memmap2 v0.5.7 [INFO] [stderr] Downloaded iana-time-zone v0.1.45 [INFO] [stderr] Downloaded futures-io v0.3.23 [INFO] [stderr] Downloaded tracing-core v0.1.29 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.32 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.82 [INFO] [stderr] Downloaded ryu v1.0.11 [INFO] [stderr] Downloaded thiserror v1.0.32 [INFO] [stderr] Downloaded confy v0.4.0 [INFO] [stderr] Downloaded git-glob v0.3.1 [INFO] [stderr] Downloaded git-lock v2.1.0 [INFO] [stderr] Downloaded sha1_smol v1.0.0 [INFO] [stderr] Downloaded android_system_properties v0.1.4 [INFO] [stderr] Downloaded graphql-introspection-query v0.2.0 [INFO] [stderr] Downloaded graphql-parser v0.2.3 [INFO] [stderr] Downloaded futures-channel v0.3.23 [INFO] [stderr] Downloaded rustls-pemfile v1.0.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.82 [INFO] [stderr] Downloaded syn v1.0.99 [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded unicode-ident v1.0.3 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.37.0 [INFO] [stderr] Downloaded git-ref v0.15.1 [INFO] [stderr] Downloaded windows v0.37.0 [INFO] [stderr] Downloaded git-config v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb77e4ad904397bb816a700318cd5069a8c639be66fbdfba95159d1866630ea3 [INFO] running `Command { std: "docker" "start" "-a" "eb77e4ad904397bb816a700318cd5069a8c639be66fbdfba95159d1866630ea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb77e4ad904397bb816a700318cd5069a8c639be66fbdfba95159d1866630ea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb77e4ad904397bb816a700318cd5069a8c639be66fbdfba95159d1866630ea3", kill_on_drop: false }` [INFO] [stdout] eb77e4ad904397bb816a700318cd5069a8c639be66fbdfba95159d1866630ea3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98d592aa8e188db3a658b59cd366a476479d937e40117cc838770039ffd3d9e4 [INFO] running `Command { std: "docker" "start" "-a" "98d592aa8e188db3a658b59cd366a476479d937e40117cc838770039ffd3d9e4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling futures-io v0.3.23 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.23 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling dashmap v5.3.4 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling time v0.3.13 [INFO] [stderr] Compiling btoi v0.4.2 [INFO] [stderr] Compiling git-hash v0.9.7 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling git-tempfile v2.0.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling git-features v0.22.1 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling git-lock v2.1.0 [INFO] [stderr] Compiling memmap2 v0.5.7 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling iana-time-zone v0.1.45 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling unicode-bom v1.1.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling graphql-parser v0.2.3 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling git-sec v0.3.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Compiling derive_builder v0.10.2 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling graphql-introspection-query v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling git-date v0.0.3 [INFO] [stderr] Compiling git-validate v0.5.4 [INFO] [stderr] Compiling git-path v0.4.0 [INFO] [stderr] Compiling git-glob v0.3.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling git-actor v0.11.1 [INFO] [stderr] Compiling git-object v0.20.1 [INFO] [stderr] Compiling confy v0.4.0 [INFO] [stderr] Compiling graphql_client_codegen v0.10.0 [INFO] [stderr] Compiling reqwest v0.11.11 [INFO] [stderr] Compiling git-ref v0.15.1 [INFO] [stderr] Compiling git-config v0.6.1 [INFO] [stderr] Compiling git-discover v0.3.0 [INFO] [stderr] Compiling graphql_query_derive v0.10.0 [INFO] [stderr] Compiling graphql_client v0.10.0 [INFO] [stderr] Compiling gitlab v0.1500.0 [INFO] [stderr] Compiling gitlab-rust-estimation-getter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `git_discover::repository::Path` [INFO] [stdout] --> src/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use git_discover::repository::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut cfg: MyConfig = confy::load("greg")?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/config.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_api_url(cfg: MyConfig) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/gitlab.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_client(cfg: crate::config::MyConfig) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_api_url` is never used [INFO] [stdout] --> src/config.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_api_url(cfg: MyConfig) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `global` and `mode` are never read [INFO] [stdout] --> src/cli.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | Config { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 14 | #[structopt(short, long)] [INFO] [stdout] 15 | global: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | #[structopt(subcommand)] [INFO] [stdout] 17 | mode: ConfigMode [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` 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 `api_url` and `api_key` are never read [INFO] [stdout] --> src/cli.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | AddAPIKey { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 24 | #[structopt(short, long)] [INFO] [stdout] 25 | api_url: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | api_key: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt` is never used [INFO] [stdout] --> src/cli.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn prompt(msg: &str, default: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/gitlab.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Project { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 17 | pub id: u64, [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] running `Command { std: "docker" "inspect" "98d592aa8e188db3a658b59cd366a476479d937e40117cc838770039ffd3d9e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d592aa8e188db3a658b59cd366a476479d937e40117cc838770039ffd3d9e4", kill_on_drop: false }` [INFO] [stdout] 98d592aa8e188db3a658b59cd366a476479d937e40117cc838770039ffd3d9e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9ef48e5d0a32e15cac51c5a3541be059672685399cf81a18c56f10044044638 [INFO] running `Command { std: "docker" "start" "-a" "e9ef48e5d0a32e15cac51c5a3541be059672685399cf81a18c56f10044044638", kill_on_drop: false }` [INFO] [stderr] Compiling gitlab-rust-estimation-getter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `git_discover::repository::Path` [INFO] [stdout] --> src/config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use git_discover::repository::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut cfg: MyConfig = confy::load("greg")?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/config.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_api_url(cfg: MyConfig) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/gitlab.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn get_client(cfg: crate::config::MyConfig) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_api_url` is never used [INFO] [stdout] --> src/config.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_api_url(cfg: MyConfig) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `global` and `mode` are never read [INFO] [stdout] --> src/cli.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | Config { [INFO] [stdout] | ------ fields in this variant [INFO] [stdout] 14 | #[structopt(short, long)] [INFO] [stdout] 15 | global: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | #[structopt(subcommand)] [INFO] [stdout] 17 | mode: ConfigMode [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` 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 `api_url` and `api_key` are never read [INFO] [stdout] --> src/cli.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | AddAPIKey { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 24 | #[structopt(short, long)] [INFO] [stdout] 25 | api_url: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | api_key: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `prompt` is never used [INFO] [stdout] --> src/cli.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn prompt(msg: &str, default: Option<&str>) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/gitlab.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Project { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 17 | pub id: u64, [INFO] [stdout] 18 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "e9ef48e5d0a32e15cac51c5a3541be059672685399cf81a18c56f10044044638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9ef48e5d0a32e15cac51c5a3541be059672685399cf81a18c56f10044044638", kill_on_drop: false }` [INFO] [stdout] e9ef48e5d0a32e15cac51c5a3541be059672685399cf81a18c56f10044044638