[INFO] fetching crate scancode-rust 0.0.4... [INFO] testing scancode-rust-0.0.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate scancode-rust 0.0.4 into /workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scancode-rust 0.0.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded packageurl v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcf6142eff3ccf9658ee62fba6ade2aebc7ca0df692c01c2089640fc3707e68e [INFO] running `Command { std: "docker" "start" "-a" "bcf6142eff3ccf9658ee62fba6ade2aebc7ca0df692c01c2089640fc3707e68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcf6142eff3ccf9658ee62fba6ade2aebc7ca0df692c01c2089640fc3707e68e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcf6142eff3ccf9658ee62fba6ade2aebc7ca0df692c01c2089640fc3707e68e", kill_on_drop: false }` [INFO] [stdout] bcf6142eff3ccf9658ee62fba6ade2aebc7ca0df692c01c2089640fc3707e68e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b291c1fdcf12c39b398436da063742efaaa0abcc4cb8e42948ff9d1aeb77ad8 [INFO] running `Command { std: "docker" "start" "-a" "6b291c1fdcf12c39b398436da063742efaaa0abcc4cb8e42948ff9d1aeb77ad8", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [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 thiserror v1.0.69 [INFO] [stderr] Compiling packageurl v0.4.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.140 [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 1m 21s [INFO] running `Command { std: "docker" "inspect" "6b291c1fdcf12c39b398436da063742efaaa0abcc4cb8e42948ff9d1aeb77ad8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b291c1fdcf12c39b398436da063742efaaa0abcc4cb8e42948ff9d1aeb77ad8", kill_on_drop: false }` [INFO] [stdout] 6b291c1fdcf12c39b398436da063742efaaa0abcc4cb8e42948ff9d1aeb77ad8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5af3cba241bb0b667fca4dae44d0d4d083be15425550a514ba273a2cf24e3e3f [INFO] running `Command { std: "docker" "start" "-a" "5af3cba241bb0b667fca4dae44d0d4d083be15425550a514ba273a2cf24e3e3f", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling jiff v0.2.13 [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 19.65s [INFO] running `Command { std: "docker" "inspect" "5af3cba241bb0b667fca4dae44d0d4d083be15425550a514ba273a2cf24e3e3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5af3cba241bb0b667fca4dae44d0d4d083be15425550a514ba273a2cf24e3e3f", kill_on_drop: false }` [INFO] [stdout] 5af3cba241bb0b667fca4dae44d0d4d083be15425550a514ba273a2cf24e3e3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d7005c86ae4b403d681f9c90b7784c66610fa08deccf6dd19102ae146c59f1d5 [INFO] running `Command { std: "docker" "start" "-a" "d7005c86ae4b403d681f9c90b7784c66610fa08deccf6dd19102ae146c59f1d5", 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.28s [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::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 askalono::ngram::tests::can_construct ... 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_small ... ok [INFO] [stdout] test askalono::license::tests::optimize_doesnt_grow_view ... ok [INFO] [stdout] test askalono::license::tests::match_empty ... ok [INFO] [stdout] test askalono::strategy::tests::shallow_scan ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_empty_or_invalid_cargo_toml ... ok [INFO] [stdout] test askalono::license::tests::optimize_bounds ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_with_complex_dependencies ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_dependencies ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_dependencies ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_basic_package_info ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_topdown ... ok [INFO] [stdout] test askalono::strategy::tests::single_optimize ... 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::npm_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_repository_formats ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_different_license_formats ... ok [INFO] [stdout] test parsers::python_test::tests::test_extract_from_pyproject_toml ... ok [INFO] [stdout] test parsers::python_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_multiple_contributors ... ok [INFO] [stdout] test parsers::python_test::tests::test_extract_from_setup_py ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_scoped_package ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_elimination ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [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::identical ... ok [INFO] [stdout] test askalono::ngram::tests::same_size ... ok [INFO] [stdout] test askalono::ngram::tests::can_construct ... ok [INFO] [stdout] test askalono::ngram::tests::no_nan ... 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 askalono::preproc::tests::greatest_substring_removal ... 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::strategy::tests::shallow_scan ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_empty_or_invalid_cargo_toml ... ok [INFO] [stdout] test askalono::license::tests::optimize_doesnt_grow_view ... ok [INFO] [stdout] test askalono::license::tests::match_empty ... 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_extract_with_complex_dependencies ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_is_match ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_topdown ... ok [INFO] [stdout] test parsers::npm_test::tests::test_empty_or_invalid_package_json ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_elimination ... ok [INFO] [stdout] test askalono::strategy::tests::single_optimize ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_different_license_formats ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_basic_package_info ... ok [INFO] [stdout] test parsers::npm_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_dependencies ... ok [INFO] [stdout] test parsers::python_test::tests::test_extract_from_setup_py ... ok [INFO] [stdout] test parsers::python_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_multiple_contributors ... 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 askalono::license::tests::match_small ... ok [INFO] [stdout] test askalono::license::tests::optimize_bounds ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [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/strategy.rs - askalono::strategy::ScanStrategy (line 73) - 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] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d7005c86ae4b403d681f9c90b7784c66610fa08deccf6dd19102ae146c59f1d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7005c86ae4b403d681f9c90b7784c66610fa08deccf6dd19102ae146c59f1d5", kill_on_drop: false }` [INFO] [stdout] d7005c86ae4b403d681f9c90b7784c66610fa08deccf6dd19102ae146c59f1d5