[INFO] cloning repository https://github.com/fuleinist/semver-agent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fuleinist/semver-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuleinist%2Fsemver-agent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuleinist%2Fsemver-agent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdb7d6ecc0695a0975a4980eafe02450ccbd8394 [INFO] testing fuleinist/semver-agent against 1.97.0-beta.6+cargoflags=--release for beta-1.98-release-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffuleinist%2Fsemver-agent" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fuleinist/semver-agent [INFO] finished tweaking git repo https://github.com/fuleinist/semver-agent [INFO] tweaked toml for git repo https://github.com/fuleinist/semver-agent written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fuleinist/semver-agent on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fuleinist/semver-agent 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tree-sitter-language v0.1.7 [INFO] [stderr] Downloaded fallible-streaming-iterator v0.1.9 [INFO] [stderr] Downloaded openssl-sys v0.9.116 [INFO] [stderr] Downloaded tree-sitter-javascript v0.23.1 [INFO] [stderr] Downloaded tree-sitter-go v0.23.4 [INFO] [stderr] Downloaded tree-sitter-rust v0.23.3 [INFO] [stderr] Downloaded rusqlite v0.32.1 [INFO] [stderr] Downloaded regex v1.12.4 [INFO] [stderr] Downloaded tree-sitter v0.23.2 [INFO] [stderr] Downloaded tree-sitter-python v0.23.6 [INFO] [stderr] Downloaded git2 v0.19.0 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] [stderr] Downloaded tree-sitter-typescript v0.23.2 [INFO] [stderr] Downloaded libz-sys v1.1.29 [INFO] [stderr] Downloaded libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Downloaded hashlink v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae [INFO] running `Command { std: "docker" "start" "4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling tree-sitter-language v0.1.7 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.52 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling semver-agent v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling log v0.4.32 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling libz-sys v1.1.29 [INFO] [stderr] Compiling openssl-sys v0.9.116 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling tree-sitter v0.23.2 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Compiling tree-sitter-rust v0.23.3 [INFO] [stderr] Compiling tree-sitter-go v0.23.4 [INFO] [stderr] Compiling tree-sitter-python v0.23.6 [INFO] [stderr] Compiling tree-sitter-javascript v0.23.1 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling regex v1.12.4 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stdout] warning: variants `NotFound` and `AlreadyInitialized` are never constructed [INFO] [stdout] --> src/core/db.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DbError { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | #[error("Already initialized")] [INFO] [stdout] 13 | AlreadyInitialized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlameEntry` is never constructed [INFO] [stdout] --> src/core/entities.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct BlameEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_file_at_commit`, `diff_commits`, and `revparse` are never used [INFO] [stdout] --> src/core/git_repo.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl GitRepo { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_file_at_commit(&self, commit: &Commit, file_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn diff_commits(&self, from: &Commit, to: &Commit) -> Result, GitError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn revparse(&self, revision: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiffFile` is never constructed [INFO] [stdout] --> src/core/git_repo.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct DiffFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `analyze` and `find_relation_heuristic` are never used [INFO] [stdout] --> src/core/impact.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl ImpactAnalyzer { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn analyze(changed_entity: &Entity, all_entities: &[Entity]) -> ImpactResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn find_relation_heuristic(changed: &Entity, dependent: &Entity) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Parse` is never constructed [INFO] [stdout] --> src/index/scanner.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ScanError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Parse(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/git_repo.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_commit(&self, oid: &str) -> Result { [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] 25 | pub fn get_commit(&self, oid: &str) -> Result, GitError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/git_repo.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_head_commit(&self) -> Result { [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] 30 | pub fn get_head_commit(&self) -> Result, GitError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/git_repo.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_parent_commit(&self, commit: &Commit) -> Result, GitError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden 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] 47 | pub fn get_parent_commit(&self, commit: &Commit) -> Result>, GitError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/git_repo.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn revparse(&self, revision: &str) -> Result { [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] 103 | pub fn revparse(&self, revision: &str) -> Result, GitError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 3m 34s [INFO] running `Command { std: "docker" "inspect" "4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling semver-agent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `NotFound` and `AlreadyInitialized` are never constructed [INFO] [stdout] --> src/core/db.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum DbError { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | #[error("Already initialized")] [INFO] [stdout] 13 | AlreadyInitialized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlameEntry` is never constructed [INFO] [stdout] --> src/core/entities.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct BlameEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_file_at_commit`, `diff_commits`, and `revparse` are never used [INFO] [stdout] --> src/core/git_repo.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl GitRepo { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn get_file_at_commit(&self, commit: &Commit, file_path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn diff_commits(&self, from: &Commit, to: &Commit) -> Result, GitError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn revparse(&self, revision: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiffFile` is never constructed [INFO] [stdout] --> src/core/git_repo.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct DiffFile { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `analyze` and `find_relation_heuristic` are never used [INFO] [stdout] --> src/core/impact.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl ImpactAnalyzer { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn analyze(changed_entity: &Entity, all_entities: &[Entity]) -> ImpactResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn find_relation_heuristic(changed: &Entity, dependent: &Entity) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Parse` is never constructed [INFO] [stdout] --> src/index/scanner.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ScanError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Parse(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScanError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/git_repo.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_commit(&self, oid: &str) -> Result { [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] 25 | pub fn get_commit(&self, oid: &str) -> Result, GitError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/git_repo.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_head_commit(&self) -> Result { [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] 30 | pub fn get_head_commit(&self) -> Result, GitError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/git_repo.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_parent_commit(&self, commit: &Commit) -> Result, GitError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden 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] 47 | pub fn get_parent_commit(&self, commit: &Commit) -> Result>, GitError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/core/git_repo.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn revparse(&self, revision: &str) -> Result { [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] 103 | pub fn revparse(&self, revision: &str) -> Result, GitError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 14.95s [INFO] running `Command { std: "docker" "inspect" "4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: variants `NotFound` and `AlreadyInitialized` are never constructed [INFO] [stderr] --> src/core/db.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum DbError { [INFO] [stderr] | ------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 11 | NotFound(String), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 12 | #[error("Already initialized")] [INFO] [stderr] 13 | AlreadyInitialized, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DbError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `BlameEntry` is never constructed [INFO] [stderr] --> src/core/entities.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | pub struct BlameEntry { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_file_at_commit`, `diff_commits`, and `revparse` are never used [INFO] [stderr] --> src/core/git_repo.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl GitRepo { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 35 | pub fn get_file_at_commit(&self, commit: &Commit, file_path: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | pub fn diff_commits(&self, from: &Commit, to: &Commit) -> Result, GitError> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 103 | pub fn revparse(&self, revision: &str) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DiffFile` is never constructed [INFO] [stderr] --> src/core/git_repo.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 112 | pub struct DiffFile { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `analyze` and `find_relation_heuristic` are never used [INFO] [stderr] --> src/core/impact.rs:180:12 [INFO] [stderr] | [INFO] [stderr] 6 | impl ImpactAnalyzer { [INFO] [stderr] | ------------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 180 | pub fn analyze(changed_entity: &Entity, all_entities: &[Entity]) -> ImpactResult { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 236 | fn find_relation_heuristic(changed: &Entity, dependent: &Entity) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Parse` is never constructed [INFO] [stderr] --> src/index/scanner.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum ScanError { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 12 | Parse(String), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ScanError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/git_repo.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn get_commit(&self, oid: &str) -> Result { [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] 25 | pub fn get_commit(&self, oid: &str) -> Result, GitError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/git_repo.rs:30:28 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn get_head_commit(&self) -> Result { [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] 30 | pub fn get_head_commit(&self) -> Result, GitError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/git_repo.rs:47:30 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get_parent_commit(&self, commit: &Commit) -> Result, GitError> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^ the same lifetime is hidden 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] 47 | pub fn get_parent_commit(&self, commit: &Commit) -> Result>, GitError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/core/git_repo.rs:103:21 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn revparse(&self, revision: &str) -> Result { [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] 103 | pub fn revparse(&self, revision: &str) -> Result, GitError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `semver-agent` (bin "semver-agent" test) generated 10 warnings (run `cargo fix --bin "semver-agent" -p semver-agent --tests` to apply 4 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/semver_agent-a79055bfbcf9ff54) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test core::entities::tests::entity_compute_id_differs_on_start_line ... ok [INFO] [stdout] test core::entities::tests::change_type_display_uses_expected_words ... ok [INFO] [stdout] test core::entities::tests::entity_type_display_round_trips ... ok [INFO] [stdout] test core::entities::tests::entity_type_from_str_unknown_falls_back_to_variable ... ok [INFO] [stdout] test core::impact::tests::build_import_graph_groups_by_source ... ok [INFO] [stdout] test core::impact::tests::analyze_importer_is_dependent ... ok [INFO] [stdout] test core::impact::tests::analyze_unrelated_entity_is_not_a_dependent ... ok [INFO] [stdout] test core::impact::tests::file_to_module_path_rust ... ok [INFO] [stdout] test core::impact::tests::analyze_with_imports_cascade_risk ... ok [INFO] [stdout] test core::entities::tests::entity_compute_id_is_deterministic ... ok [INFO] [stdout] test core::impact::tests::find_relation_importer_detected ... ok [INFO] [stdout] test core::impact::tests::find_relation_same_file_calls_when_name_substring ... ok [INFO] [stdout] test core::impact::tests::find_relation_same_file_uses_when_no_substring_match ... ok [INFO] [stdout] test core::impact::tests::find_relation_unrelated_cross_file_returns_none ... ok [INFO] [stdout] test core::parser::tests::detect_language_recognises_supported_extensions ... ok [INFO] [stdout] test core::impact::tests::module_matches_import_rust ... ok [INFO] [stdout] test core::parser::tests::detect_language_returns_none_for_unknown_extension ... ok [INFO] [stdout] test core::parser::tests::parser_registry_rejects_unknown_language ... ok [INFO] [stdout] test core::parser::tests::parser_registry_new_supports_all_languages ... ok [INFO] [stdout] test core::parser::tests::extract_imports_returns_empty_for_unparseable_source ... ok [INFO] [stdout] test core::impact::tests::find_importers_works ... ok [INFO] [stdout] test core::parser::tests::extract_imports_finds_rust_use_declarations ... ok [INFO] [stdout] test core::entities::tests::import_edge_compute_id_is_deterministic ... ok [INFO] [stdout] test core::entities::tests::entity_type_from_str_is_case_insensitive ... ok [INFO] [stdout] test core::db::tests::init_schema_is_idempotent ... ok [INFO] [stdout] test core::db::tests::insert_and_retrieve_entity_round_trip ... ok [INFO] [stdout] test core::db::tests::repo_state_set_and_get_round_trips ... ok [INFO] [stdout] test core::db::tests::clear_commit_removes_only_target_commit ... ok [INFO] [stdout] test core::db::tests::import_insert_and_retrieve_preserves_imported_names ... ok [INFO] [stdout] test core::db::tests::count_commits_distinguishes_unique_hashes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae", kill_on_drop: false }` [INFO] [stdout] 4efdf5fb900cb4915797c6068ad75bd213ec26754221eb11664bacaa94e802ae