[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] testing Kranex/gitlab-rust-estimation-getter against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKranex%2Fgitlab-rust-estimation-getter" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Kranex/gitlab-rust-estimation-getter on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded graphql_query_derive v0.10.0 [INFO] [stderr] Downloaded derive_builder_macro v0.10.2 [INFO] [stderr] Downloaded graphql-introspection-query v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.32 [INFO] [stderr] Downloaded git-object v0.20.1 [INFO] [stderr] Downloaded unicode-bom v1.1.4 [INFO] [stderr] Downloaded derive_builder_core v0.10.2 [INFO] [stderr] Downloaded git-config v0.6.1 [INFO] [stderr] Downloaded serde_json v1.0.83 [INFO] [stderr] Downloaded gitlab v0.1500.0 [INFO] [stderr] Downloaded time v0.3.13 [INFO] [stderr] Downloaded tokio v1.20.1 [INFO] [stderr] Downloaded git-date v0.0.3 [INFO] [stderr] Downloaded git-ref v0.15.1 [INFO] [stderr] Downloaded git-validate v0.5.4 [INFO] [stderr] Downloaded git-path v0.4.0 [INFO] [stderr] Downloaded git-discover v0.3.0 [INFO] [stderr] Downloaded git-tempfile v2.0.3 [INFO] [stderr] Downloaded graphql_client_codegen v0.10.0 [INFO] [stderr] Downloaded derive_builder v0.10.2 [INFO] [stderr] Downloaded git-lock v2.1.0 [INFO] [stderr] Downloaded btoi v0.4.2 [INFO] [stderr] Downloaded git-actor v0.11.1 [INFO] [stderr] Downloaded git-hash v0.9.7 [INFO] [stderr] Downloaded iana-time-zone v0.1.45 [INFO] [stderr] Downloaded graphql-parser v0.2.3 [INFO] [stderr] Downloaded graphql_client v0.10.0 [INFO] [stderr] Downloaded dashmap v5.3.4 [INFO] [stderr] Downloaded git-sec v0.3.0 [INFO] [stderr] Downloaded git-features v0.22.1 [INFO] [stderr] Downloaded git-glob v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8d1089dc3aabacbdb4fe6e50be1c3f47ed130e1894761217b1b6d06f8a1bbe6 [INFO] running `Command { std: "docker" "start" "-a" "d8d1089dc3aabacbdb4fe6e50be1c3f47ed130e1894761217b1b6d06f8a1bbe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8d1089dc3aabacbdb4fe6e50be1c3f47ed130e1894761217b1b6d06f8a1bbe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d1089dc3aabacbdb4fe6e50be1c3f47ed130e1894761217b1b6d06f8a1bbe6", kill_on_drop: false }` [INFO] [stdout] d8d1089dc3aabacbdb4fe6e50be1c3f47ed130e1894761217b1b6d06f8a1bbe6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a68c47d09de324a34fa7b4efb84d982d683b47ed9ce28be2d9e894cf13d73256 [INFO] running `Command { std: "docker" "start" "-a" "a68c47d09de324a34fa7b4efb84d982d683b47ed9ce28be2d9e894cf13d73256", 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 syn v1.0.99 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler v1.0.2 [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 strsim v0.10.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling signal-hook v0.3.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling futures-io v0.3.23 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.23 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling btoi v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling dashmap v5.3.4 [INFO] [stderr] Compiling git-hash v0.9.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling time v0.3.13 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling git-features v0.22.1 [INFO] [stderr] Compiling git-tempfile v2.0.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling form_urlencoded v1.0.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 unicode-bidi v0.3.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling tower-service v0.3.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 dirs-sys v0.3.7 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling iana-time-zone v0.1.45 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling unicode-bom v1.1.4 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling webpki-roots v0.22.4 [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 graphql-parser v0.2.3 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling git-sec v0.3.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Compiling derive_builder v0.10.2 [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 graphql_query_derive v0.10.0 [INFO] [stderr] Compiling graphql_client v0.10.0 [INFO] [stderr] Compiling gitlab v0.1500.0 [INFO] [stderr] Compiling git-config v0.6.1 [INFO] [stderr] Compiling git-discover v0.3.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)]` 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)]` 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)]` 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)]` 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 09s [INFO] running `Command { std: "docker" "inspect" "a68c47d09de324a34fa7b4efb84d982d683b47ed9ce28be2d9e894cf13d73256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a68c47d09de324a34fa7b4efb84d982d683b47ed9ce28be2d9e894cf13d73256", kill_on_drop: false }` [INFO] [stdout] a68c47d09de324a34fa7b4efb84d982d683b47ed9ce28be2d9e894cf13d73256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcc7941cd0405b7f32ea17a89647a7562928155761603445f3a69e5336ea40aa [INFO] running `Command { std: "docker" "start" "-a" "bcc7941cd0405b7f32ea17a89647a7562928155761603445f3a69e5336ea40aa", 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)]` 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)]` 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)]` 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)]` 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.85s [INFO] running `Command { std: "docker" "inspect" "bcc7941cd0405b7f32ea17a89647a7562928155761603445f3a69e5336ea40aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc7941cd0405b7f32ea17a89647a7562928155761603445f3a69e5336ea40aa", kill_on_drop: false }` [INFO] [stdout] bcc7941cd0405b7f32ea17a89647a7562928155761603445f3a69e5336ea40aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a8fdfc8f1966e54e840835dcbd50895cbe40d6782205c0e0b4f9b008e93beb73 [INFO] running `Command { std: "docker" "start" "-a" "a8fdfc8f1966e54e840835dcbd50895cbe40d6782205c0e0b4f9b008e93beb73", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `git_discover::repository::Path` [INFO] [stderr] --> src/config.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use git_discover::repository::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/config.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | let mut cfg: MyConfig = confy::load("greg")?; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> src/config.rs:38:20 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn get_api_url(cfg: MyConfig) -> Option { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cfg` [INFO] [stderr] --> src/gitlab.rs:43:19 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn get_client(cfg: crate::config::MyConfig) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stderr] [INFO] [stderr] warning: function `get_api_url` is never used [INFO] [stderr] --> src/config.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn get_api_url(cfg: MyConfig) -> Option { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `global` and `mode` are never read [INFO] [stderr] --> src/cli.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 13 | Config { [INFO] [stderr] | ------ fields in this variant [INFO] [stderr] 14 | #[structopt(short, long)] [INFO] [stderr] 15 | global: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | #[structopt(subcommand)] [INFO] [stderr] 17 | mode: ConfigMode [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `api_url` and `api_key` are never read [INFO] [stderr] --> src/cli.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 23 | AddAPIKey { [INFO] [stderr] | --------- fields in this variant [INFO] [stderr] 24 | #[structopt(short, long)] [INFO] [stderr] 25 | api_url: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | api_key: String [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ConfigMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `prompt` is never used [INFO] [stderr] --> src/cli.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn prompt(msg: &str, default: Option<&str>) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/gitlab.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Project { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 17 | pub id: u64, [INFO] [stderr] 18 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Project` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `gitlab-rust-estimation-getter` (bin "greg" test) generated 9 warnings (run `cargo fix --bin "greg" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/greg-4e53c37d70a4a788) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a8fdfc8f1966e54e840835dcbd50895cbe40d6782205c0e0b4f9b008e93beb73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8fdfc8f1966e54e840835dcbd50895cbe40d6782205c0e0b4f9b008e93beb73", kill_on_drop: false }` [INFO] [stdout] a8fdfc8f1966e54e840835dcbd50895cbe40d6782205c0e0b4f9b008e93beb73