[INFO] fetching crate scancode-rust 0.0.4... [INFO] testing scancode-rust-0.0.4 against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] extracting crate scancode-rust 0.0.4 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate scancode-rust 0.0.4 [INFO] finished tweaking crates.io crate scancode-rust 0.0.4 [INFO] tweaked toml for crates.io crate scancode-rust 0.0.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scancode-rust 0.0.4 on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate scancode-rust 0.0.4 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" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6009cb0d6fcec6d7676e1f88b4bd8147563eb0e030348440ad4657b44bd24b9 [INFO] running `Command { std: "docker" "start" "-a" "c6009cb0d6fcec6d7676e1f88b4bd8147563eb0e030348440ad4657b44bd24b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6009cb0d6fcec6d7676e1f88b4bd8147563eb0e030348440ad4657b44bd24b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6009cb0d6fcec6d7676e1f88b4bd8147563eb0e030348440ad4657b44bd24b9", kill_on_drop: false }` [INFO] [stdout] c6009cb0d6fcec6d7676e1f88b4bd8147563eb0e030348440ad4657b44bd24b9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe806e0e14d09c5f701472ede2e0e6c95b73966a569b2e0363d309e160d9a9b5 [INFO] running `Command { std: "docker" "start" "-a" "fe806e0e14d09c5f701472ede2e0e6c95b73966a569b2e0363d309e160d9a9b5", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling packageurl v0.4.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling scancode-rust v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [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] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [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] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 302 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ 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] 302 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [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] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [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] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 302 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ 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] 302 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.69s [INFO] running `Command { std: "docker" "inspect" "fe806e0e14d09c5f701472ede2e0e6c95b73966a569b2e0363d309e160d9a9b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe806e0e14d09c5f701472ede2e0e6c95b73966a569b2e0363d309e160d9a9b5", kill_on_drop: false }` [INFO] [stdout] fe806e0e14d09c5f701472ede2e0e6c95b73966a569b2e0363d309e160d9a9b5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3b3caa0ba9f32e87cf6c84615372fe41f55a7f2eff11524204dcb1636c6babc [INFO] running `Command { std: "docker" "start" "-a" "d3b3caa0ba9f32e87cf6c84615372fe41f55a7f2eff11524204dcb1636c6babc", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling jiff v0.2.13 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling scancode-rust v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [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] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [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] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 302 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ 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] 302 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [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] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [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] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 302 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ 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] 302 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [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] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [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] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/askalono/strategy.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 299 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 302 | ) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ 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] 302 | ) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.03s [INFO] running `Command { std: "docker" "inspect" "d3b3caa0ba9f32e87cf6c84615372fe41f55a7f2eff11524204dcb1636c6babc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3b3caa0ba9f32e87cf6c84615372fe41f55a7f2eff11524204dcb1636c6babc", kill_on_drop: false }` [INFO] [stdout] d3b3caa0ba9f32e87cf6c84615372fe41f55a7f2eff11524204dcb1636c6babc [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 214bcf119c8ec771f57b305f6f7abf392d48299cd08e571831396e739de41e72 [INFO] running `Command { std: "docker" "start" "-a" "214bcf119c8ec771f57b305f6f7abf392d48299cd08e571831396e739de41e72", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/askalono/strategy.rs:199:17 [INFO] [stderr] | [INFO] [stderr] 199 | pub fn scan(&self, text: &TextData) -> Result { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 199 | pub fn scan(&self, text: &TextData) -> Result, Error> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/askalono/strategy.rs:206:25 [INFO] [stderr] | [INFO] [stderr] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult { [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] 206 | fn scan_elimination(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/askalono/strategy.rs:273:21 [INFO] [stderr] | [INFO] [stderr] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult { [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] 273 | fn scan_topdown(&self, text: &TextData) -> ScanResult<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/askalono/strategy.rs:299:9 [INFO] [stderr] | [INFO] [stderr] 299 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 302 | ) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^ 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] 302 | ) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `scancode-rust` (lib) generated 4 warnings (run `cargo fix --lib -p scancode-rust` to apply 4 suggestions) [INFO] [stderr] warning: `scancode-rust` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `scancode-rust` (bin "scancode-rust" test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scancode_rust-a8b7c063b45a6a01) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test askalono::ngram::tests::can_construct ... ok [INFO] [stdout] test askalono::ngram::tests::no_nan ... ok [INFO] [stdout] test askalono::ngram::tests::identical ... ok [INFO] [stdout] test askalono::ngram::tests::same_size ... ok [INFO] [stdout] test askalono::preproc::tests::greatest_substring_removal_42 ... ok [INFO] [stdout] test askalono::preproc::tests::greatest_substring_removal ... ok [INFO] [stdout] test askalono::preproc::tests::greatest_substring_removal_keep_inner ... ok [INFO] [stdout] test askalono::preproc::tests::trim_byte_adjusted_respects_multibyte_characters ... ok [INFO] [stdout] test askalono::strategy::tests::can_construct ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_basic_package_info ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_with_complex_dependencies ... ok [INFO] [stdout] test parsers::npm_test::tests::test_empty_or_invalid_package_json ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_basic_package_info ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_empty_or_invalid_cargo_toml ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_dependencies ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_different_license_formats ... ok [INFO] [stdout] test parsers::npm_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_multiple_contributors ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_dependencies ... ok [INFO] [stdout] test parsers::python_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::python_test::tests::test_extract_from_pyproject_toml ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_scoped_package ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_repository_formats ... ok [INFO] [stdout] test parsers::python_test::tests::test_extract_from_setup_py ... ok [INFO] [stdout] test askalono::preproc::tests::normalize_no_line_mangle ... ok [INFO] [stdout] test askalono::license::tests::view_and_white_out ... ok [INFO] [stdout] test askalono::license::tests::match_empty ... ok [INFO] [stdout] test askalono::license::tests::match_small ... ok [INFO] [stdout] test askalono::strategy::tests::shallow_scan ... ok [INFO] [stdout] test askalono::license::tests::optimize_doesnt_grow_view ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_elimination ... ok [INFO] [stdout] test askalono::strategy::tests::single_optimize ... ok [INFO] [stdout] test askalono::license::tests::optimize_bounds ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_topdown ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/scancode_rust-3aa378696c0ba6c4) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test askalono::ngram::tests::can_construct ... ok [INFO] [stdout] test askalono::ngram::tests::identical ... ok [INFO] [stdout] test askalono::ngram::tests::no_nan ... ok [INFO] [stdout] test askalono::ngram::tests::same_size ... ok [INFO] [stdout] test askalono::preproc::tests::greatest_substring_removal ... ok [INFO] [stdout] test askalono::preproc::tests::greatest_substring_removal_42 ... ok [INFO] [stdout] test askalono::preproc::tests::greatest_substring_removal_keep_inner ... ok [INFO] [stdout] test askalono::preproc::tests::trim_byte_adjusted_respects_multibyte_characters ... ok [INFO] [stdout] test askalono::strategy::tests::can_construct ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_basic_package_info ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_dependencies ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_empty_or_invalid_cargo_toml ... ok [INFO] [stdout] test parsers::npm_test::tests::test_empty_or_invalid_package_json ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_with_complex_dependencies ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_different_license_formats ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_repository_formats ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_dependencies ... ok [INFO] [stdout] test parsers::npm_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::python_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::python_test::tests::test_extract_from_setup_py ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_multiple_contributors ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_basic_package_info ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_scoped_package ... ok [INFO] [stdout] test parsers::python_test::tests::test_extract_from_pyproject_toml ... ok [INFO] [stdout] test askalono::preproc::tests::normalize_no_line_mangle ... ok [INFO] [stdout] test askalono::license::tests::match_small ... ok [INFO] [stdout] test askalono::license::tests::view_and_white_out ... ok [INFO] [stdout] test askalono::license::tests::match_empty ... ok [INFO] [stdout] test askalono::strategy::tests::shallow_scan ... ok [INFO] [stdout] test askalono::license::tests::optimize_doesnt_grow_view ... ok [INFO] [stdout] test askalono::strategy::tests::single_optimize ... ok [INFO] [stdout] test askalono::license::tests::optimize_bounds ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_elimination ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_topdown ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests scancode_rust [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/askalono/store/base.rs - askalono::store::base::Store (line 28) - should panic ... ok [INFO] [stdout] test src/askalono/license.rs - askalono::license::TextData (line 51) ... ok [INFO] [stdout] test src/askalono/license.rs - askalono::license::TextData (line 65) ... ok [INFO] [stdout] test src/askalono/strategy.rs - askalono::strategy::ScanStrategy (line 73) - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "214bcf119c8ec771f57b305f6f7abf392d48299cd08e571831396e739de41e72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "214bcf119c8ec771f57b305f6f7abf392d48299cd08e571831396e739de41e72", kill_on_drop: false }` [INFO] [stdout] 214bcf119c8ec771f57b305f6f7abf392d48299cd08e571831396e739de41e72