[INFO] cloning repository https://github.com/igorilic/gitlab-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/igorilic/gitlab-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figorilic%2Fgitlab-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figorilic%2Fgitlab-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9a8301550bbecfbd850cfcc02666fe149eb31c0 [INFO] testing igorilic/gitlab-cli against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Figorilic%2Fgitlab-cli" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/igorilic/gitlab-cli [INFO] finished tweaking git repo https://github.com/igorilic/gitlab-cli [INFO] tweaked toml for git repo https://github.com/igorilic/gitlab-cli written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/igorilic/gitlab-cli 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/igorilic/gitlab-cli 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 data-encoding v2.8.0 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded trim-in-place v0.1.7 [INFO] [stderr] Downloaded config v0.15.11 [INFO] [stderr] Downloaded codepage v0.1.2 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded clap v4.5.34 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded yaml-rust2 v0.10.1 [INFO] [stderr] Downloaded h2 v0.4.8 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded calamine v0.26.1 [INFO] [stderr] Downloaded zip v2.5.0 [INFO] [stderr] Downloaded rustls v0.23.25 [INFO] [stderr] Downloaded clap_builder v4.5.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] c018b00a5eda3951ad3d4c77c8f288322cb6384e14bcd77d9cb82bd6cafa7f82 [INFO] running `Command { std: "docker" "start" "-a" "c018b00a5eda3951ad3d4c77c8f288322cb6384e14bcd77d9cb82bd6cafa7f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c018b00a5eda3951ad3d4c77c8f288322cb6384e14bcd77d9cb82bd6cafa7f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c018b00a5eda3951ad3d4c77c8f288322cb6384e14bcd77d9cb82bd6cafa7f82", kill_on_drop: false }` [INFO] [stdout] c018b00a5eda3951ad3d4c77c8f288322cb6384e14bcd77d9cb82bd6cafa7f82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 0ae86a40e1ac0640a6d66532372955f8c36044f00fb74d74df3f2da951d074f7 [INFO] running `Command { std: "docker" "start" "-a" "0ae86a40e1ac0640a6d66532372955f8c36044f00fb74d74df3f2da951d074f7", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling zip v2.5.0 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling clap_builder v4.5.34 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling yaml-rust2 v0.10.1 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling codepage v0.1.2 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling calamine v0.26.1 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling clap v4.5.34 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling gitlab-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `api_token` is never read [INFO] [stdout] --> src/gitlab/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GitLabClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | api_url: String, [INFO] [stdout] 8 | api_token: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_path` is never read [INFO] [stdout] --> src/gitlab/files.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct FileResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_token` is never read [INFO] [stdout] --> src/gitlab/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GitLabClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | api_url: String, [INFO] [stdout] 8 | api_token: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileResponse` is never constructed [INFO] [stdout] --> src/gitlab/files.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct FileResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_file_content` is never used [INFO] [stdout] --> src/gitlab/files.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> FilesApi<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn get_file_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GitLabConfig` is never constructed [INFO] [stdout] --> src/utils/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GitLabConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigManager` is never constructed [INFO] [stdout] --> src/utils/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load`, `save`, and `config_path` are never used [INFO] [stdout] --> src/utils/config.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ConfigManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn load(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn save(&self, config: &GitLabConfig) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn config_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.20s [INFO] running `Command { std: "docker" "inspect" "0ae86a40e1ac0640a6d66532372955f8c36044f00fb74d74df3f2da951d074f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ae86a40e1ac0640a6d66532372955f8c36044f00fb74d74df3f2da951d074f7", kill_on_drop: false }` [INFO] [stdout] 0ae86a40e1ac0640a6d66532372955f8c36044f00fb74d74df3f2da951d074f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 3bdcd48b7c0abc97beee4256c85ef10fdff05c5164f1ab2c59f0c46f9c8e4770 [INFO] running `Command { std: "docker" "start" "-a" "3bdcd48b7c0abc97beee4256c85ef10fdff05c5164f1ab2c59f0c46f9c8e4770", kill_on_drop: false }` [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling gitlab-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `api_token` is never read [INFO] [stdout] --> src/gitlab/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GitLabClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | api_url: String, [INFO] [stdout] 8 | api_token: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_path` is never read [INFO] [stdout] --> src/gitlab/files.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct FileResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> tests/mock_gitlab_server.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projects_for_topic` [INFO] [stdout] --> tests/mock_gitlab_server.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let projects_for_topic = self.projects.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projects_for_topic` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_token` is never read [INFO] [stdout] --> src/gitlab/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GitLabClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | api_url: String, [INFO] [stdout] 8 | api_token: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileResponse` is never constructed [INFO] [stdout] --> src/gitlab/files.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct FileResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_file_content` is never used [INFO] [stdout] --> src/gitlab/files.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> FilesApi<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn get_file_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GitLabConfig` is never constructed [INFO] [stdout] --> src/utils/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GitLabConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigManager` is never constructed [INFO] [stdout] --> src/utils/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load`, `save`, and `config_path` are never used [INFO] [stdout] --> src/utils/config.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ConfigManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn load(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn save(&self, config: &GitLabConfig) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn config_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_token` is never read [INFO] [stdout] --> src/gitlab/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GitLabClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | api_url: String, [INFO] [stdout] 8 | api_token: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `file_path` is never read [INFO] [stdout] --> src/gitlab/files.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct FileResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_token` is never read [INFO] [stdout] --> src/gitlab/client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct GitLabClient { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | api_url: String, [INFO] [stdout] 8 | api_token: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FileResponse` is never constructed [INFO] [stdout] --> src/gitlab/files.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct FileResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_file_content` is never used [INFO] [stdout] --> src/gitlab/files.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> FilesApi<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub async fn get_file_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GitLabConfig` is never constructed [INFO] [stdout] --> src/utils/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct GitLabConfig { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfigManager` is never constructed [INFO] [stdout] --> src/utils/config.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct ConfigManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `load`, `save`, and `config_path` are never used [INFO] [stdout] --> src/utils/config.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl ConfigManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn load(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn save(&self, config: &GitLabConfig) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn config_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn projects(&self) -> ProjectsApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn users(&self) -> UsersApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gitlab/client.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 42 | pub fn files(&self) -> FilesApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 45.78s [INFO] running `Command { std: "docker" "inspect" "3bdcd48b7c0abc97beee4256c85ef10fdff05c5164f1ab2c59f0c46f9c8e4770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bdcd48b7c0abc97beee4256c85ef10fdff05c5164f1ab2c59f0c46f9c8e4770", kill_on_drop: false }` [INFO] [stdout] 3bdcd48b7c0abc97beee4256c85ef10fdff05c5164f1ab2c59f0c46f9c8e4770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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", kill_on_drop: false }` [INFO] [stdout] 3a25736f8ea8baa72a932b871c35f2fb6418a3f3e2225304751fc99395b2c214 [INFO] running `Command { std: "docker" "start" "-a" "3a25736f8ea8baa72a932b871c35f2fb6418a3f3e2225304751fc99395b2c214", kill_on_drop: false }` [INFO] [stderr] warning: field `api_token` is never read [INFO] [stderr] --> src/gitlab/client.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct GitLabClient { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 7 | api_url: String, [INFO] [stderr] 8 | api_token: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `file_path` is never read [INFO] [stderr] --> src/gitlab/files.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 14 | struct FileResponse { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 15 | file_path: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/gitlab/client.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn projects(&self) -> ProjectsApi { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn projects(&self) -> ProjectsApi<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/gitlab/client.rs:38:18 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn users(&self) -> UsersApi { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 38 | pub fn users(&self) -> UsersApi<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/gitlab/client.rs:42:18 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn files(&self) -> FilesApi { [INFO] [stderr] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 42 | pub fn files(&self) -> FilesApi<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `gitlab-cli` (lib) generated 5 warnings (run `cargo fix --lib -p gitlab-cli` to apply 3 suggestions) [INFO] [stderr] warning: struct `FileResponse` is never constructed [INFO] [stderr] --> src/gitlab/files.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | struct FileResponse { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_file_content` is never used [INFO] [stderr] --> src/gitlab/files.rs:52:18 [INFO] [stderr] | [INFO] [stderr] 19 | impl<'a> FilesApi<'a> { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 52 | pub async fn get_file_content( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `GitLabConfig` is never constructed [INFO] [stderr] --> src/utils/config.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct GitLabConfig { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ConfigManager` is never constructed [INFO] [stderr] --> src/utils/config.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct ConfigManager { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `load`, `save`, and `config_path` are never used [INFO] [stderr] --> src/utils/config.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl ConfigManager { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 18 | pub fn new() -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn load(&self) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn save(&self, config: &GitLabConfig) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn config_path(&self) -> &Path { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gitlab-cli` (bin "gitlab-cli") generated 9 warnings (4 duplicates) [INFO] [stderr] warning: unused import: `tracing::debug` [INFO] [stderr] --> tests/mock_gitlab_server.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tracing::debug; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `projects_for_topic` [INFO] [stderr] --> tests/mock_gitlab_server.rs:42:13 [INFO] [stderr] | [INFO] [stderr] 42 | let projects_for_topic = self.projects.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projects_for_topic` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `gitlab-cli` (bin "gitlab-cli" test) generated 9 warnings (9 duplicates) [INFO] [stderr] warning: `gitlab-cli` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: `gitlab-cli` (test "mock_gitlab_server") generated 2 warnings (run `cargo fix --test "mock_gitlab_server"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gitlab_cli-8953fb4415718a35) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gitlab_cli-65684b9cd718af05) [INFO] [stdout] [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] [stderr] Running tests/config_utils_tests.rs (/opt/rustwide/target/debug/deps/config_utils_tests-36853ef474219ae5) [INFO] [stdout] [INFO] [stderr] Running tests/csv_util_tests.rs (/opt/rustwide/target/debug/deps/csv_util_tests-1da99317441d4770) [INFO] [stdout] running 2 tests [INFO] [stdout] test test_config_save_and_load ... ignored [INFO] [stdout] test test_config_serialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_read_users_from_invalid_file ... ok [INFO] [stdout] test test_read_users_from_csv ... ok [INFO] [stdout] test test_read_projects_from_csv ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/gitlab_client_tests.rs (/opt/rustwide/target/debug/deps/gitlab_client_tests-320012f0ca6523d2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_client_creation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-41b61d8552a283cb) [INFO] [stderr] Running tests/mock_gitlab_server.rs (/opt/rustwide/target/debug/deps/mock_gitlab_server-81dff9902c0954db) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_cli_help ... ignored [INFO] [stdout] test test_cli_users_list ... ignored [INFO] [stdout] test test_cli_version ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::test_mock_server ... ok [INFO] [stderr] Running tests/user_model_tests.rs (/opt/rustwide/target/debug/deps/user_model_tests-b05120c51e3fe7c6) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_access_level_as_u64 ... ok [INFO] [stdout] test test_access_level_display ... ok [INFO] [stderr] Doc-tests gitlab_cli [INFO] [stdout] test test_access_level_from_str ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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" "3a25736f8ea8baa72a932b871c35f2fb6418a3f3e2225304751fc99395b2c214", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a25736f8ea8baa72a932b871c35f2fb6418a3f3e2225304751fc99395b2c214", kill_on_drop: false }` [INFO] [stdout] 3a25736f8ea8baa72a932b871c35f2fb6418a3f3e2225304751fc99395b2c214