[INFO] fetching crate scancode-rust 0.0.4... [INFO] testing scancode-rust-0.0.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-2 [INFO] extracting crate scancode-rust 0.0.4 into /workspace/builds/worker-7-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-7-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 serde_spanned v0.6.8 [INFO] [stderr] Downloaded toml_write v0.1.1 [INFO] [stderr] Downloaded zstd v0.13.3 [INFO] [stderr] Downloaded number_prefix v0.4.0 [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded env_filter v0.1.3 [INFO] [stderr] Downloaded toml v0.8.22 [INFO] [stderr] Downloaded windows-result v0.3.3 [INFO] [stderr] Downloaded windows-core v0.61.1 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded jiff-static v0.2.13 [INFO] [stderr] Downloaded cc v1.2.23 [INFO] [stderr] Downloaded hashbrown v0.15.3 [INFO] [stderr] Downloaded portable-atomic-util v0.2.4 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] [stderr] Downloaded portable-atomic v1.11.0 [INFO] [stderr] Downloaded winnow v0.7.10 [INFO] [stderr] Downloaded rmp v0.8.14 [INFO] [stderr] Downloaded clap_derive v4.5.32 [INFO] [stderr] Downloaded env_logger v0.11.8 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded mime_guess v2.0.5 [INFO] [stderr] Downloaded packageurl v0.4.2 [INFO] [stderr] Downloaded rmp-serde v1.3.0 [INFO] [stderr] Downloaded sys-info v0.9.1 [INFO] [stderr] Downloaded zstd-safe v7.2.4 [INFO] [stderr] Downloaded windows-strings v0.4.1 [INFO] [stderr] Downloaded content_inspector v0.2.4 [INFO] [stderr] Downloaded rustix v1.0.7 [INFO] [stderr] Downloaded include_dir_macros v0.7.4 [INFO] [stderr] Downloaded include_dir v0.7.4 [INFO] [stderr] Downloaded jiff v0.2.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 223db6b7705ae2bc34d7aa97cb9823e3de0ad1f5af4f30afaa5b49c5b9ec1c42 [INFO] running `Command { std: "docker" "start" "-a" "223db6b7705ae2bc34d7aa97cb9823e3de0ad1f5af4f30afaa5b49c5b9ec1c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "223db6b7705ae2bc34d7aa97cb9823e3de0ad1f5af4f30afaa5b49c5b9ec1c42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "223db6b7705ae2bc34d7aa97cb9823e3de0ad1f5af4f30afaa5b49c5b9ec1c42", kill_on_drop: false }` [INFO] [stdout] 223db6b7705ae2bc34d7aa97cb9823e3de0ad1f5af4f30afaa5b49c5b9ec1c42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 3fe731ce9e5bd8ecb38f34896466d7c40138c30b39c66daa60f927667c395357 [INFO] running `Command { std: "docker" "start" "-a" "3fe731ce9e5bd8ecb38f34896466d7c40138c30b39c66daa60f927667c395357", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling sys-info v0.9.1 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling packageurl v0.4.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.9 [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 22s [INFO] running `Command { std: "docker" "inspect" "3fe731ce9e5bd8ecb38f34896466d7c40138c30b39c66daa60f927667c395357", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fe731ce9e5bd8ecb38f34896466d7c40138c30b39c66daa60f927667c395357", kill_on_drop: false }` [INFO] [stdout] 3fe731ce9e5bd8ecb38f34896466d7c40138c30b39c66daa60f927667c395357 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 050f4ce244b3ee4275a097e86700439eaad36903cfada5ba92488d44a3593c44 [INFO] running `Command { std: "docker" "start" "-a" "050f4ce244b3ee4275a097e86700439eaad36903cfada5ba92488d44a3593c44", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling jiff v0.2.13 [INFO] [stderr] Compiling fastrand v2.3.0 [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 16.78s [INFO] running `Command { std: "docker" "inspect" "050f4ce244b3ee4275a097e86700439eaad36903cfada5ba92488d44a3593c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "050f4ce244b3ee4275a097e86700439eaad36903cfada5ba92488d44a3593c44", kill_on_drop: false }` [INFO] [stdout] 050f4ce244b3ee4275a097e86700439eaad36903cfada5ba92488d44a3593c44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ca4f631b54bf06df301a19a131dd276d7f97cd50d332068c7a104db7129e9c41 [INFO] running `Command { std: "docker" "start" "-a" "ca4f631b54bf06df301a19a131dd276d7f97cd50d332068c7a104db7129e9c41", 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.16s [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::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::greatest_substring_removal ... ok [INFO] [stdout] test askalono::strategy::tests::can_construct ... ok [INFO] [stdout] test askalono::preproc::tests::trim_byte_adjusted_respects_multibyte_characters ... ok [INFO] [stdout] test askalono::preproc::tests::normalize_no_line_mangle ... ok [INFO] [stdout] test askalono::license::tests::match_empty ... 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::optimize_doesnt_grow_view ... ok [INFO] [stdout] test askalono::license::tests::optimize_bounds ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_empty_or_invalid_cargo_toml ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_basic_package_info ... ok [INFO] [stdout] test askalono::strategy::tests::shallow_scan ... 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_different_license_formats ... 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 askalono::strategy::tests::single_optimize ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_dependencies ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_basic_package_info ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_repository_formats ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_scoped_package ... 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 askalono::strategy::tests::find_multiple_licenses_elimination ... ok [INFO] [stdout] test parsers::python_test::tests::test_extract_from_pyproject_toml ... ok [INFO] [stdout] test parsers::python_test::tests::test_extract_from_setup_py ... 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.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::can_construct ... ok [INFO] [stdout] test askalono::ngram::tests::identical ... ok [INFO] [stdout] test askalono::ngram::tests::no_nan ... 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::ngram::tests::same_size ... ok [INFO] [stdout] test askalono::strategy::tests::can_construct ... ok [INFO] [stdout] test askalono::preproc::tests::trim_byte_adjusted_respects_multibyte_characters ... 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::match_empty ... ok [INFO] [stdout] test askalono::license::tests::optimize_bounds ... ok [INFO] [stdout] test askalono::license::tests::view_and_white_out ... ok [INFO] [stdout] test askalono::license::tests::optimize_doesnt_grow_view ... ok [INFO] [stdout] test askalono::strategy::tests::shallow_scan ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_is_match ... 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_extract_dependencies ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_different_license_formats ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_with_complex_dependencies ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_dependencies ... ok [INFO] [stdout] test parsers::npm_test::tests::test_extract_multiple_contributors ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_basic_package_info ... 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 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_scoped_package ... ok [INFO] [stdout] test parsers::npm_test::tests::test_is_match ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_topdown ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_elimination ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_empty_or_invalid_cargo_toml ... ok [INFO] [stdout] test askalono::strategy::tests::single_optimize ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [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.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ca4f631b54bf06df301a19a131dd276d7f97cd50d332068c7a104db7129e9c41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca4f631b54bf06df301a19a131dd276d7f97cd50d332068c7a104db7129e9c41", kill_on_drop: false }` [INFO] [stdout] ca4f631b54bf06df301a19a131dd276d7f97cd50d332068c7a104db7129e9c41