[INFO] fetching crate scancode-rust 0.0.4... [INFO] testing scancode-rust-0.0.4 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] extracting crate scancode-rust 0.0.4 into /workspace/builds/worker-6-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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scancode-rust 0.0.4 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a7ed7a6103d01c1127e0702436d3c7e89bf01eb0eccb0e96ed192b50a89e392 [INFO] running `Command { std: "docker" "start" "-a" "6a7ed7a6103d01c1127e0702436d3c7e89bf01eb0eccb0e96ed192b50a89e392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a7ed7a6103d01c1127e0702436d3c7e89bf01eb0eccb0e96ed192b50a89e392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a7ed7a6103d01c1127e0702436d3c7e89bf01eb0eccb0e96ed192b50a89e392", kill_on_drop: false }` [INFO] [stdout] 6a7ed7a6103d01c1127e0702436d3c7e89bf01eb0eccb0e96ed192b50a89e392 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fc57341bcfd9e52c22968d28ca7d4db6eb9f034f2872bdaf59e68acdb72265c [INFO] running `Command { std: "docker" "start" "-a" "9fc57341bcfd9e52c22968d28ca7d4db6eb9f034f2872bdaf59e68acdb72265c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling clap_builder v4.5.38 [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 include_dir_macros v0.7.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [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 serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling regex v1.11.1 [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 rayon v1.10.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling derive_builder v0.20.2 [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 urlencoding v2.1.3 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [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 serde_json v1.0.140 [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 31s [INFO] running `Command { std: "docker" "inspect" "9fc57341bcfd9e52c22968d28ca7d4db6eb9f034f2872bdaf59e68acdb72265c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fc57341bcfd9e52c22968d28ca7d4db6eb9f034f2872bdaf59e68acdb72265c", kill_on_drop: false }` [INFO] [stdout] 9fc57341bcfd9e52c22968d28ca7d4db6eb9f034f2872bdaf59e68acdb72265c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d49d55e370f0179c913c3d04cb0c08ec0013fe2d159ba168f637e9fd74926835 [INFO] running `Command { std: "docker" "start" "-a" "d49d55e370f0179c913c3d04cb0c08ec0013fe2d159ba168f637e9fd74926835", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [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.58s [INFO] running `Command { std: "docker" "inspect" "d49d55e370f0179c913c3d04cb0c08ec0013fe2d159ba168f637e9fd74926835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d49d55e370f0179c913c3d04cb0c08ec0013fe2d159ba168f637e9fd74926835", kill_on_drop: false }` [INFO] [stdout] d49d55e370f0179c913c3d04cb0c08ec0013fe2d159ba168f637e9fd74926835 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3530676d64cddeb4813cb10089535e2e7b05552609b59a879273c763f976e9d6 [INFO] running `Command { std: "docker" "start" "-a" "3530676d64cddeb4813cb10089535e2e7b05552609b59a879273c763f976e9d6", 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` (bin "scancode-rust" test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `scancode-rust` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/scancode_rust-28adfe04e022d9f6) [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 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::match_empty ... ok [INFO] [stdout] test askalono::strategy::tests::single_optimize ... 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::cargo_test::tests::test_extract_with_complex_dependencies ... 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 askalono::license::tests::optimize_doesnt_grow_view ... 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_extract_multiple_contributors ... ok [INFO] [stdout] test parsers::python_test::tests::test_is_match ... ok [INFO] [stdout] test parsers::npm_test::tests::test_is_match ... 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_elimination ... ok [INFO] [stdout] test askalono::strategy::tests::shallow_scan ... 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.16s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/scancode_rust-cf36f538cb747e9f) [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 askalono::preproc::tests::normalize_no_line_mangle ... ok [INFO] [stdout] test askalono::license::tests::match_empty ... ok [INFO] [stdout] test askalono::license::tests::view_and_white_out ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_empty_or_invalid_cargo_toml ... ok [INFO] [stdout] test askalono::license::tests::match_small ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_dependencies ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_basic_package_info ... 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 askalono::license::tests::optimize_doesnt_grow_view ... ok [INFO] [stdout] test parsers::cargo_test::tests::test_extract_with_complex_dependencies ... ok [INFO] [stdout] test askalono::strategy::tests::shallow_scan ... 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_scoped_package ... ok [INFO] [stdout] test parsers::npm_test::tests::test_is_match ... 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::python_test::tests::test_extract_from_setup_py ... 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_multiple_contributors ... ok [INFO] [stdout] test askalono::strategy::tests::find_multiple_licenses_topdown ... ok [INFO] [stdout] test askalono::license::tests::optimize_bounds ... ok [INFO] [stdout] test askalono::strategy::tests::single_optimize ... 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] 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.29s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.02s; merged doctests compilation took 1.70s [INFO] running `Command { std: "docker" "inspect" "3530676d64cddeb4813cb10089535e2e7b05552609b59a879273c763f976e9d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3530676d64cddeb4813cb10089535e2e7b05552609b59a879273c763f976e9d6", kill_on_drop: false }` [INFO] [stdout] 3530676d64cddeb4813cb10089535e2e7b05552609b59a879273c763f976e9d6