[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/e9a8301550bbecfbd850cfcc02666fe149eb31c0 against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [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 e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-strings v0.3.1 [INFO] [stderr] Downloaded codepage v0.1.2 [INFO] [stderr] Downloaded dirs-sys v0.5.0 [INFO] [stderr] Downloaded ipnet v2.11.0 [INFO] [stderr] Downloaded encode_unicode v1.0.0 [INFO] [stderr] Downloaded yaml-rust2 v0.10.1 [INFO] [stderr] Downloaded zopfli v0.8.1 [INFO] [stderr] Downloaded derive_arbitrary v1.4.1 [INFO] [stderr] Downloaded arbitrary v1.4.1 [INFO] [stderr] Downloaded lockfree-object-pool v0.1.6 [INFO] [stderr] Downloaded clap_derive v4.5.32 [INFO] [stderr] Downloaded calamine v0.26.1 [INFO] [stderr] Downloaded windows-registry v0.4.0 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded reqwest v0.12.15 [INFO] [stderr] Downloaded openssl v0.10.71 [INFO] [stderr] Downloaded json5 v0.4.1 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded cc v1.2.17 [INFO] [stderr] Downloaded quick-xml v0.31.0 [INFO] [stderr] Downloaded dirs v6.0.0 [INFO] [stderr] Downloaded rustls v0.23.25 [INFO] [stderr] Downloaded clap v4.5.34 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded trim-in-place v0.1.7 [INFO] [stderr] Downloaded config v0.15.11 [INFO] [stderr] Downloaded redox_users v0.5.0 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded colored v3.0.0 [INFO] [stderr] Downloaded mockito v1.7.0 [INFO] [stderr] Downloaded http-body-util v0.1.3 [INFO] [stderr] Downloaded rustix v1.0.3 [INFO] [stderr] Downloaded windows-result v0.3.2 [INFO] [stderr] Downloaded tokio v1.44.1 [INFO] [stderr] Downloaded zip v2.5.0 [INFO] [stderr] Downloaded libc v0.2.171 [INFO] [stderr] Downloaded clap_builder v4.5.34 [INFO] [stderr] Downloaded openssl-sys v0.9.106 [INFO] [stderr] Downloaded pathdiff v0.2.3 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded zerocopy v0.8.24 [INFO] [stderr] Downloaded syn v2.0.100 [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded winnow v0.7.4 [INFO] [stderr] Downloaded option-ext v0.2.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.24 [INFO] [stderr] Downloaded tokio-util v0.7.14 [INFO] [stderr] Downloaded assert-json-diff v2.0.2 [INFO] [stderr] Downloaded tempfile v3.19.1 [INFO] [stderr] Downloaded indexmap v2.8.0 [INFO] [stderr] Downloaded socket2 v0.5.9 [INFO] [stderr] Downloaded getrandom v0.3.2 [INFO] [stderr] Downloaded rustls-webpki v0.103.1 [INFO] [stderr] Downloaded ring v0.17.14 [INFO] [stderr] Downloaded linux-raw-sys v0.9.3 [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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f415a777a7c61e9d5b969b31882e9bf39419749680274911b52bfb59f3747b63 [INFO] running `Command { std: "docker" "start" "-a" "f415a777a7c61e9d5b969b31882e9bf39419749680274911b52bfb59f3747b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f415a777a7c61e9d5b969b31882e9bf39419749680274911b52bfb59f3747b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f415a777a7c61e9d5b969b31882e9bf39419749680274911b52bfb59f3747b63", kill_on_drop: false }` [INFO] [stdout] f415a777a7c61e9d5b969b31882e9bf39419749680274911b52bfb59f3747b63 [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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab44dcedb61e12a7297480e543e3314cf42b7bc63280677ded9da0506ddfce97 [INFO] running `Command { std: "docker" "start" "-a" "ab44dcedb61e12a7297480e543e3314cf42b7bc63280677ded9da0506ddfce97", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling lockfree-object-pool v0.1.6 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling zip v2.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling zopfli v0.8.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling clap_builder v4.5.34 [INFO] [stderr] Compiling yaml-rust2 v0.10.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling codepage v0.1.2 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling clap v4.5.34 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling calamine v0.26.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling config v0.15.11 [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 1m 33s [INFO] running `Command { std: "docker" "inspect" "ab44dcedb61e12a7297480e543e3314cf42b7bc63280677ded9da0506ddfce97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab44dcedb61e12a7297480e543e3314cf42b7bc63280677ded9da0506ddfce97", kill_on_drop: false }` [INFO] [stdout] ab44dcedb61e12a7297480e543e3314cf42b7bc63280677ded9da0506ddfce97 [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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 396c38ea11b45a8ab6f8177c6c05c04674b6e5e090c9118b0ccf03a62a8a3cf2 [INFO] running `Command { std: "docker" "start" "-a" "396c38ea11b45a8ab6f8177c6c05c04674b6e5e090c9118b0ccf03a62a8a3cf2", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.10 [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 gitlab-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling warp v0.3.7 [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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 47.58s [INFO] running `Command { std: "docker" "inspect" "396c38ea11b45a8ab6f8177c6c05c04674b6e5e090c9118b0ccf03a62a8a3cf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396c38ea11b45a8ab6f8177c6c05c04674b6e5e090c9118b0ccf03a62a8a3cf2", kill_on_drop: false }` [INFO] [stdout] 396c38ea11b45a8ab6f8177c6c05c04674b6e5e090c9118b0ccf03a62a8a3cf2 [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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 52f781a765e8f91956dff25a11a6f778f20b47f86fa4f6f6095f62a9f7fc7d1a [INFO] running `Command { std: "docker" "start" "-a" "52f781a765e8f91956dff25a11a6f778f20b47f86fa4f6f6095f62a9f7fc7d1a", 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` (test "mock_gitlab_server") generated 2 warnings (run `cargo fix --test "mock_gitlab_server"` to apply 1 suggestion) [INFO] [stderr] warning: `gitlab-cli` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] warning: `gitlab-cli` (bin "gitlab-cli" test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gitlab_cli-8953fb4415718a35) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gitlab_cli-65684b9cd718af05) [INFO] [stdout] [INFO] [stderr] Running tests/config_utils_tests.rs (/opt/rustwide/target/debug/deps/config_utils_tests-36853ef474219ae5) [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] [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] [stdout] [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] [stderr] Running tests/csv_util_tests.rs (/opt/rustwide/target/debug/deps/csv_util_tests-1da99317441d4770) [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.02s [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] [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] [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 1 test [INFO] [stdout] test tests::test_mock_server ... ok [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] [stderr] Running tests/user_model_tests.rs (/opt/rustwide/target/debug/deps/user_model_tests-b05120c51e3fe7c6) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_access_level_from_str ... ok [INFO] [stdout] test test_access_level_display ... ok [INFO] [stdout] test test_access_level_as_u64 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests gitlab_cli [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" "52f781a765e8f91956dff25a11a6f778f20b47f86fa4f6f6095f62a9f7fc7d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52f781a765e8f91956dff25a11a6f778f20b47f86fa4f6f6095f62a9f7fc7d1a", kill_on_drop: false }` [INFO] [stdout] 52f781a765e8f91956dff25a11a6f778f20b47f86fa4f6f6095f62a9f7fc7d1a