[INFO] cloning repository https://github.com/alesbrelih/gitlab-ls [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alesbrelih/gitlab-ls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesbrelih%2Fgitlab-ls", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesbrelih%2Fgitlab-ls'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92fa8b141f7236d8a48caf3bdce4d4a1385c7deb [INFO] testing alesbrelih/gitlab-ls against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesbrelih%2Fgitlab-ls" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alesbrelih/gitlab-ls [INFO] finished tweaking git repo https://github.com/alesbrelih/gitlab-ls [INFO] tweaked toml for git repo https://github.com/alesbrelih/gitlab-ls written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alesbrelih/gitlab-ls on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alesbrelih/gitlab-ls 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5aeac6052c1fdd313abb8b7ac0fa584a967fcb8c74a9bddc7942d4cf388a132a [INFO] running `Command { std: "docker" "start" "-a" "5aeac6052c1fdd313abb8b7ac0fa584a967fcb8c74a9bddc7942d4cf388a132a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5aeac6052c1fdd313abb8b7ac0fa584a967fcb8c74a9bddc7942d4cf388a132a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aeac6052c1fdd313abb8b7ac0fa584a967fcb8c74a9bddc7942d4cf388a132a", kill_on_drop: false }` [INFO] [stdout] 5aeac6052c1fdd313abb8b7ac0fa584a967fcb8c74a9bddc7942d4cf388a132a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6923d020c4f77880847616b6dcea57b4fa4d9c94009db27716cf58bbc29cb0f6 [INFO] running `Command { std: "docker" "start" "-a" "6923d020c4f77880847616b6dcea57b4fa4d9c94009db27716cf58bbc29cb0f6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling predicates-core v1.0.9 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling tree-sitter-language v0.1.3 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling tree-sitter-yaml v0.7.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling predicates-tree v1.0.12 [INFO] [stderr] Compiling predicates v3.1.3 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling streaming-iterator v0.1.9 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling simple-logging v2.0.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crc64 v2.0.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling simple_logger v5.0.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tree-sitter v0.25.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [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 icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.38 [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 mockall v0.13.1 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling lsp-server v0.7.8 [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 reqwest v0.12.15 [INFO] [stderr] Compiling lsp-types v0.95.1 [INFO] [stderr] Compiling gitlab-ci-ls v1.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `automock` [INFO] [stdout] --> src/gitlab_ci_ls_parser/fs_utils.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use mockall::{automock, predicate::str}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/gitlab_ci_ls_parser/parser.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/gitlab_ci_ls_parser/parser_utils.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `automock` [INFO] [stdout] --> src/gitlab_ci_ls_parser/treesitter.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use mockall::{automock, predicate::str}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err` is never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RenameResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | pub err: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenameResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `uri` are never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct GitlabCacheElement { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 126 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 127 | pub content: Option, [INFO] [stdout] 128 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitlabCacheElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content` and `uri` are never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct GitlabInputElement { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 135 | pub key: String, [INFO] [stdout] 136 | pub content: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 137 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitlabInputElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uri` is never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct GitlabComponentElement { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 149 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitlabComponentElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct ComponentInputValuePlain { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 215 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentInputValuePlain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `hovered` are never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct ComponentInputValueBlock { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 221 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 222 | hovered: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentInputValueBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "6923d020c4f77880847616b6dcea57b4fa4d9c94009db27716cf58bbc29cb0f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6923d020c4f77880847616b6dcea57b4fa4d9c94009db27716cf58bbc29cb0f6", kill_on_drop: false }` [INFO] [stdout] 6923d020c4f77880847616b6dcea57b4fa4d9c94009db27716cf58bbc29cb0f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d3b057fade7e0dda792a25e7cf12469594a6d44742e8ce0e7f03ddbec4a1ac3 [INFO] running `Command { std: "docker" "start" "-a" "4d3b057fade7e0dda792a25e7cf12469594a6d44742e8ce0e7f03ddbec4a1ac3", kill_on_drop: false }` [INFO] [stderr] Compiling gitlab-ci-ls v1.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/gitlab_ci_ls_parser/parser.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/gitlab_ci_ls_parser/parser_utils.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `err` is never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct RenameResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | pub err: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenameResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `uri` are never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct GitlabCacheElement { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 126 | pub key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 127 | pub content: Option, [INFO] [stdout] 128 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitlabCacheElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content` and `uri` are never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 134 | pub struct GitlabInputElement { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 135 | pub key: String, [INFO] [stdout] 136 | pub content: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 137 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitlabInputElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `uri` is never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 146 | pub struct GitlabComponentElement { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 149 | pub uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GitlabComponentElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 214 | pub struct ComponentInputValuePlain { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 215 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentInputValuePlain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `hovered` are never read [INFO] [stdout] --> src/gitlab_ci_ls_parser/mod.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 220 | pub struct ComponentInputValueBlock { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 221 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 222 | hovered: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentInputValueBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.37s [INFO] running `Command { std: "docker" "inspect" "4d3b057fade7e0dda792a25e7cf12469594a6d44742e8ce0e7f03ddbec4a1ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d3b057fade7e0dda792a25e7cf12469594a6d44742e8ce0e7f03ddbec4a1ac3", kill_on_drop: false }` [INFO] [stdout] 4d3b057fade7e0dda792a25e7cf12469594a6d44742e8ce0e7f03ddbec4a1ac3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c72ed114a4a5001a1be9f1f937d42be9025b7bfb050e48fcc2cd33a2d1070843 [INFO] running `Command { std: "docker" "start" "-a" "c72ed114a4a5001a1be9f1f937d42be9025b7bfb050e48fcc2cd33a2d1070843", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/gitlab_ci_ls_parser/parser.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | use log::{error, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `warn` [INFO] [stderr] --> src/gitlab_ci_ls_parser/parser_utils.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use log::{error, info, warn}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `err` is never read [INFO] [stderr] --> src/gitlab_ci_ls_parser/mod.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 48 | pub struct RenameResult { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 51 | pub err: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RenameResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `key` and `uri` are never read [INFO] [stderr] --> src/gitlab_ci_ls_parser/mod.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 125 | pub struct GitlabCacheElement { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 126 | pub key: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 127 | pub content: Option, [INFO] [stderr] 128 | pub uri: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GitlabCacheElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `content` and `uri` are never read [INFO] [stderr] --> src/gitlab_ci_ls_parser/mod.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 134 | pub struct GitlabInputElement { [INFO] [stderr] | ------------------ fields in this struct [INFO] [stderr] 135 | pub key: String, [INFO] [stderr] 136 | pub content: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 137 | pub uri: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GitlabInputElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `uri` is never read [INFO] [stderr] --> src/gitlab_ci_ls_parser/mod.rs:149:9 [INFO] [stderr] | [INFO] [stderr] 146 | pub struct GitlabComponentElement { [INFO] [stderr] | ---------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 149 | pub uri: String, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GitlabComponentElement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> src/gitlab_ci_ls_parser/mod.rs:215:5 [INFO] [stderr] | [INFO] [stderr] 214 | pub struct ComponentInputValuePlain { [INFO] [stderr] | ------------------------ field in this struct [INFO] [stderr] 215 | value: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ComponentInputValuePlain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `value` and `hovered` are never read [INFO] [stderr] --> src/gitlab_ci_ls_parser/mod.rs:221:5 [INFO] [stderr] | [INFO] [stderr] 220 | pub struct ComponentInputValueBlock { [INFO] [stderr] | ------------------------ fields in this struct [INFO] [stderr] 221 | value: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 222 | hovered: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ComponentInputValueBlock` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `gitlab-ci-ls` (bin "gitlab-ci-ls" test) generated 8 warnings (run `cargo fix --bin "gitlab-ci-ls" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gitlab_ci_ls-6183c1f23ec518df) [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test gitlab_ci_ls_parser::git::tests::test_get_clone_repo_destination_no_tag ... ok [INFO] [stdout] test gitlab_ci_ls_parser::git::tests::test_get_clone_repo_destination_with_tag ... ok [INFO] [stdout] test gitlab_ci_ls_parser::fs_utils::tests::should_replace_with_home ... ok [INFO] [stdout] test gitlab_ci_ls_parser::parser_utils::tests::test_extract_component_from_uri ... ok [INFO] [stdout] test gitlab_ci_ls_parser::parser_utils::tests::test_find_path_at_cursor ... ok [INFO] [stdout] test gitlab_ci_ls_parser::parser_utils::tests::test_find_path_at_cursor_quotes ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_all_job_needs_with_name ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_all_extends_no_results ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_all_job_needs ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_all_extends ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_all_root_nodes ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_all_stages ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_all_extends_with_name ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_all_multi_caches ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_all_job_needs_with_invalid_name ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_root_node_at_position ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_root_node_at_position_invalid_position ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_root_variables ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_stage_definitions ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_invalid_get_root_node ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_job_variable_definition_invalid_job_name ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_job_variable_definition ... ok [INFO] [stdout] test gitlab_ci_ls_parser::parser::tests::test_get_full_definition ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_job_variable_definition_invalid_var_name ... ok [INFO] [stdout] test tests::test_get_remote_urls_https ... ok [INFO] [stdout] test tests::test_get_remote_urls_full_scheme ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_position_type_stage ... ok [INFO] [stdout] test tests::test_get_remote_urls_https_custom_instance ... ok [INFO] [stdout] test tests::test_get_remote_urls_basic ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_valid_get_root_node ... ok [INFO] [stdout] test gitlab_ci_ls_parser::parser::tests::test_get_all_nodes ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_position_type_rule_reference_double_quote ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_position_type_project ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_position_type_rule_reference ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_position_type_extend ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_position_type_root_node ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_position_type_project_no_ref ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_position_type_project_no_ref_single_file ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_position_type_include_local ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_position_type_include_remote_url ... ok [INFO] [stdout] test gitlab_ci_ls_parser::treesitter::tests::test_get_position_type_root_variable ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 41 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.63s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c72ed114a4a5001a1be9f1f937d42be9025b7bfb050e48fcc2cd33a2d1070843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c72ed114a4a5001a1be9f1f937d42be9025b7bfb050e48fcc2cd33a2d1070843", kill_on_drop: false }` [INFO] [stdout] c72ed114a4a5001a1be9f1f937d42be9025b7bfb050e48fcc2cd33a2d1070843